Function at 0x404270
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x268
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32_LoadLibraryA]
push edi
mov ebx, ecx
push str.wsprintfA
push str.User32.DLL
mov dword [esp + 0x2c], ebx
call esi
mov edi, dword [sym.imp.KERNEL32_GetProcAddress]
push eax
call edi
push str.LocalReAlloc
push 0x418010
mov ebp, eax
call esi
push eax
call edi
push 0x4183a8
push 0x4180e8
mov dword [esp + 0x38], eax
mov dword [ebx + 0x1c], 0
mov dword [esp + 0x30], 0x2800
call esi
push eax
call edi
push str.FindNextFileA
push 0x418010
mov ebx, eax
call esi
push eax
call edi
push 0x2800
push 0x40
mov dword [esp + 0x34], eax
call ebx
mov ebx, eax
mov al, 0x2a
mov byte [esp + 0x1b], al
mov byte [esp + 0x1d], al
mov eax, dword [esp + 0x27c]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x178]
push ecx
push edx
mov byte [esp + 0x24], 0x25
mov byte [esp + 0x25], 0x73
mov byte [esp + 0x26], 0x5c
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x2a], 0
call ebp
add esp, 0xc
push str.FindFirstFileA
push 0x418010
call esi
push eax
call edi
lea ecx, [esp + 0x34]
lea edx, [esp + 0x174]
push ecx
push edx
call eax
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
jne 0x404374
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x13]
push 1
push eax
mov byte [esp + 0x1b], 0x68
call fcn.00406ad0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x268
ret 4
mov byte [ebx], 0x68
mov ebp, 1
mov eax, dword [esp + 0x28]
lea ecx, [eax - 0x208]
cmp ebp, ecx
jbe 0x40439d
add eax, 0x208
push 0x42
push eax
push ebx
mov dword [esp + 0x34], eax
call dword [esp + 0x3c]
mov ebx, eax
mov dword [esp + 0x14], 0x418384
lea eax, [esp + 0x60]
mov dl, byte [eax]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x13], dl
cmp dl, byte [ecx]
jne 0x4043e5
mov cl, dl
test cl, cl
je 0x4043e1
mov dl, byte [eax + 1]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x13], dl
cmp dl, byte [ecx + 1]
jne 0x4043e5
mov edx, ecx
mov cl, byte [esp + 0x13]
add eax, 2
add edx, 2
test cl, cl
mov dword [esp + 0x14], edx
jne 0x4043a9
xor eax, eax
jmp 0x4043ea
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x404491
mov edi, 0x418380
lea esi, [esp + 0x60]
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x404423
test al, al
je 0x40441f
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x404423
add esi, 2
add edi, 2
test al, al
jne 0x4043fb
xor eax, eax
jmp 0x404428
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x404485
mov dl, byte [esp + 0x34]
lea eax, [esp + 0x60]
and dl, 0x10
push eax
mov byte [ebx + ebp], dl
inc ebp
call dword [sym.imp.KERNEL32_lstrlenA]
mov ecx, eax
lea esi, [esp + 0x60]
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 + 0x50]
mov dword [ebx + ebp], eax
mov ecx, dword [esp + 0x54]
mov dword [ebx + ebp + 4], ecx
mov edx, dword [esp + 0x48]
add ebp, 8
mov dword [ebx + ebp], edx
mov eax, dword [esp + 0x4c]
mov dword [ebx + ebp + 4], eax
add ebp, 8
mov esi, dword [sym.imp.KERNEL32_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32_GetProcAddress]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [esp + 0x34]
test eax, eax
jne 0x40437c
mov ecx, dword [esp + 0x24]
push ebp
push ebx
call fcn.00406ad0
push 0x418374
push 0x418010
mov ebp, eax
call esi
push eax
call edi
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32_LocalFree]
mov eax, dword [esp + 0x20]
push eax
call esi
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x268
ret 4