Function at 0x100061a0
Capabilities:
Enumerate files on windows
Link many functions at runtime

Disassembly:
sub esp, 0x258
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, ecx
push str.lstrlenA
push str.KERNEL32.dll
mov dword [esp + 0x24], ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.LocalAlloc
push str.KERNEL32.dll
mov dword [esp + 0x28], eax
call esi
push eax
call edi
push str.wsprintfA
push str.USER32.dll
mov ebp, eax
mov dword [ebx + 0x1c], 0
mov dword [esp + 0x1c], 0x2800
call esi
push eax
call edi
push 0x2800
push 0x40
mov ebx, eax
call ebp
mov ebp, eax
mov eax, dword [esp + 0x26c]
push eax
lea ecx, [esp + 0x168]
push str._s.
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x24]
lea eax, [esp + 0x164]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x10006263
lea ecx, [esp + 0x13]
push 1
push ecx
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x1b], 0x68
call fcn.1000be20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x258
ret 4
mov byte [ebp], 0x68
mov ebx, 1
jmp 0x1000627a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [esp + 0x14]
add edx, 0xfffffdf8
cmp ebx, edx
jbe 0x100062ad
push str.LocalReAlloc
push str.KERNEL32.dll
call esi
push eax
call edi
mov ecx, dword [esp + 0x14]
push 0x42
add ecx, 0x208
push ecx
push ebp
mov dword [esp + 0x20], ecx
call eax
mov ebp, eax
mov edi, 0x1001f558
lea esi, [esp + 0x50]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x100062de
test al, al
je 0x100062da
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x100062de
add esi, 2
add edi, 2
test al, al
jne 0x100062b6
xor eax, eax
jmp 0x100062e3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000637b
mov edi, 0x1001f554
lea esi, [esp + 0x50]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x1000631c
test al, al
je 0x10006318
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x1000631c
add esi, 2
add edi, 2
test al, al
jne 0x100062f4
xor eax, eax
jmp 0x10006321
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000637b
mov al, byte [esp + 0x24]
lea ecx, [esp + 0x50]
and al, 0x10
push ecx
mov byte [ebx + ebp], al
inc ebx
call dword [esp + 0x24]
mov ecx, eax
lea esi, [esp + 0x50]
mov edx, ecx
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add ebx, eax
and ecx, 3
inc ebx
rep movsb byte es:[edi], byte [esi]
mov byte [ebx + ebp - 1], 0
mov eax, dword [esp + 0x40]
mov dword [ebx + ebp], eax
mov ecx, dword [esp + 0x44]
mov dword [ebx + ebp + 4], ecx
mov edx, dword [esp + 0x38]
add ebx, 8
mov dword [ebx + ebp], edx
mov eax, dword [esp + 0x3c]
mov dword [ebx + ebp + 4], eax
add ebx, 8
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000626e
mov ecx, dword [esp + 0x1c]
push ebx
push ebp
call fcn.1000be20
push str.LocalFree
push str.KERNEL32.dll
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebp
call eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x258
ret 4