Function at 0x401890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add eax, 0x78
mov dword [ebp - 0x20], eax
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x4018d9
xor eax, eax
jmp 0x401b19
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x4018f8
xor eax, eax
jmp 0x401b19
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
jmp 0x40193a
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 4]
movsx eax, byte [edx]
test eax, eax
je 0x40195f
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx]
or edx, 0x20
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x20c], dl
jmp 0x401931
mov ecx, dword [ebp - 4]
mov byte [ebp + ecx - 0x20c], 0
mov edx, dword [ebp + 0x18]
push edx
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.004011b0
xor ecx, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + edx*4 - 4]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x18]
push edx
push 0
mov eax, dword [ebp - 0x30]
push eax
call fcn.004011b0
xor ecx, ecx
xor eax, dword [ebp - 0x40]
xor ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp + 0x10]
jne 0x401b01
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 0x14]
jne 0x401b01
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
movzx eax, word [edx + ecx*2 - 2]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + eax*4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jb 0x401afc
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + edx + 4]
cmp dword [ebp - 8], ecx
jae 0x401afc
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0
jmp 0x401a27
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
je 0x401a5e
cmp dword [ebp - 4], 0x3c
jae 0x401a5e
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dl, byte [eax]
mov byte [ebp + ecx - 0x88], dl
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 4]
movsx ecx, byte [eax]
cmp ecx, 0x2e
jne 0x401a5c
jmp 0x401a5e
jmp 0x401a1e
mov edx, dword [ebp - 4]
mov byte [ebp + edx - 0x87], 0x64
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x86], 0x6c
mov ecx, dword [ebp - 4]
mov byte [ebp + ecx - 0x85], 0x6c
mov edx, dword [ebp - 4]
mov byte [ebp + edx - 0x84], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0
jmp 0x401aa9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
je 0x401ad0
cmp dword [ebp - 4], 0x7f
jae 0x401ad0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dl, byte [eax]
mov byte [ebp + ecx - 0x108], dl
jmp 0x401aa0
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x108], 0
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401210
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x401b19
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
je 0x401b16
cmp dword [ebp - 8], 0
je 0x40198c
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret