Function at 0x10005860
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x270
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.lstrlenA
mov dword [esp + 0x20], ecx
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.FindClose
push str.KERNEL32.dll
mov dword [esp + 0x30], eax
call esi
push eax
call edi
push str.LocalFree
push str.KERNEL32.dll
mov dword [esp + 0x34], eax
call esi
push eax
call edi
push str.FindNextFileA
push str.KERNEL32.dll
mov dword [esp + 0x3c], eax
call esi
push eax
call edi
push str.LocalReAlloc
push str.KERNEL32.dll
mov dword [esp + 0x40], eax
call esi
push eax
call edi
push str.FindFirstFileA
push str.KERNEL32.dll
mov dword [esp + 0x38], eax
call esi
push eax
call edi
push str.LocalAlloc
push str.KERNEL32.dll
mov ebp, eax
call esi
push eax
call edi
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov edi, 0x2800
push 0x30
mov dword [esp + 0x24], edi
mov dword [eax + 0x1c], 0
call esi
add esp, 4
push edi
push 0x40
call ebx
mov ecx, dword [esp + 0x284]
mov ebx, eax
mov al, 0x2a
lea edx, [esp + 0x14]
mov byte [esp + 0x17], al
mov byte [esp + 0x19], al
push ecx
lea eax, [esp + 0x180]
push edx
push eax
mov byte [esp + 0x20], 0x25
mov byte [esp + 0x21], 0x73
mov byte [esp + 0x22], 0x5c
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x26], 0
call dword [sym.imp.MSVCRT.dll_sprintf]
push 0x30
call esi
add esp, 0x10
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x180]
push edx
call ebp
mov ebp, eax
push 0x30
mov dword [esp + 0x28], ebp
call esi
add esp, 4
cmp ebp, 0xffffffff
jne 0x100059ab
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x13]
push 1
push eax
mov byte [esp + 0x1b], 0x68
call fcn.1000b920
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x270
ret 4
mov byte [ebx], 0x68
mov ebp, 1
jmp 0x100059b9
mov edi, dword [esp + 0x20]
lea ecx, [edi - 0x208]
cmp ebp, ecx
jbe 0x100059df
add edi, 0x208
push 0
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x42
push edi
push ebx
call dword [esp + 0x3c]
mov ebx, eax
mov edi, 0x1001d784
lea esi, [esp + 0x68]
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x10005a10
test al, al
je 0x10005a0c
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x10005a10
add esi, 2
add edi, 2
test al, al
jne 0x100059e8
xor eax, eax
jmp 0x10005a15
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10005aae
mov edi, 0x1001d780
lea esi, [esp + 0x68]
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x10005a4e
test al, al
je 0x10005a4a
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x10005a4e
add esi, 2
add edi, 2
test al, al
jne 0x10005a26
xor eax, eax
jmp 0x10005a53
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10005aae
mov dl, byte [esp + 0x3c]
lea eax, [esp + 0x68]
and dl, 0x10
push eax
mov byte [ebx + ebp], dl
inc ebp
call dword [esp + 0x2c]
mov ecx, eax
lea esi, [esp + 0x68]
mov edx, ecx
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add ebp, eax
and ecx, 3
inc ebp
rep movsb byte es:[edi], byte [esi]
mov byte [ebx + ebp - 1], 0
mov eax, dword [esp + 0x58]
mov dword [ebx + ebp], eax
mov ecx, dword [esp + 0x5c]
mov dword [ebx + ebp + 4], ecx
mov edx, dword [esp + 0x50]
add ebp, 8
mov dword [ebx + ebp], edx
mov eax, dword [esp + 0x54]
mov dword [ebx + ebp + 4], eax
add ebp, 8
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [esp + 0x40]
test eax, eax
jne 0x100059b5
mov ecx, dword [esp + 0x1c]
push ebp
push ebx
call fcn.1000b920
push ebx
mov esi, eax
call dword [esp + 0x38]
mov eax, dword [esp + 0x24]
push eax
call dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x270
ret 4