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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov dword [ebp - 0x208], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
add eax, 0x78
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x204]
mov edx, dword [ecx]
mov dword [ebp - 0x200], edx
cmp dword [ebp - 0x200], 0
jne 0x401605
xor eax, eax
jmp 0x401885
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x200]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0xe4], edx
cmp dword [ebp - 0xe4], 0
jne 0x40162d
xor eax, eax
jmp 0x401885
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 0xc]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x20c], edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0x54], 0
jmp 0x401678
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0xe8]
add eax, dword [ebp - 0x54]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4016a3
mov edx, dword [ebp - 0xe8]
add edx, dword [ebp - 0x54]
movsx eax, byte [edx]
or eax, 0x20
mov ecx, dword [ebp - 0x54]
mov byte [ebp + ecx - 0x1f8], al
jmp 0x40166f
mov edx, dword [ebp - 0x54]
mov byte [ebp + edx - 0x1f8], 0
mov eax, dword [ebp + 0x18]
push eax
push 0
lea ecx, [ebp - 0x1f8]
push ecx
call fcn.004010b0
xor edx, edx
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x1fc]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + eax*4 - 4]
mov dword [ebp - 0xec], edx
mov eax, dword [ebp + 0x18]
push eax
push 0
mov ecx, dword [ebp - 0xec]
push ecx
call fcn.004010b0
xor edx, edx
xor eax, dword [ebp - 0xe0]
xor edx, dword [ebp - 0xdc]
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x21c]
cmp eax, dword [ebp + 0x10]
jne 0x401861
mov ecx, dword [ebp - 0x218]
cmp ecx, dword [ebp + 0x14]
jne 0x401861
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x20c]
movzx ecx, word [eax + edx*2 - 2]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 0xc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
cmp ecx, dword [ebp - 0x50]
jb 0x401859
mov edx, dword [ebp - 0x204]
mov eax, dword [ebp - 0x50]
add eax, dword [edx + 4]
cmp dword [ebp - 0x208], eax
jae 0x401859
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x54], 0
jmp 0x401793
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x54]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4017c7
cmp dword [ebp - 0x54], 0x3c
jae 0x4017c7
mov edx, dword [ebp - 0x44]
add edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
mov cl, byte [edx]
mov byte [ebp + eax - 0x40], cl
mov edx, dword [ebp - 0x44]
add edx, dword [ebp - 0x54]
movsx eax, byte [edx]
cmp eax, 0x2e
jne 0x4017c5
jmp 0x4017c7
jmp 0x40178a
mov ecx, dword [ebp - 0x54]
mov byte [ebp + ecx - 0x3f], 0x64
mov edx, dword [ebp - 0x54]
mov byte [ebp + edx - 0x3e], 0x6c
mov eax, dword [ebp - 0x54]
mov byte [ebp + eax - 0x3d], 0x6c
mov ecx, dword [ebp - 0x54]
mov byte [ebp + ecx - 0x3c], 0
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x44]
lea ecx, [eax + edx + 1]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x54], 0
jmp 0x401806
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x54]
movsx ecx, byte [eax]
test ecx, ecx
je 0x40182d
cmp dword [ebp - 0x54], 0x7f
jae 0x40182d
mov edx, dword [ebp - 0x44]
add edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
mov cl, byte [edx]
mov byte [ebp + eax - 0xd8], cl
jmp 0x4017fd
mov edx, dword [ebp - 0x54]
mov byte [ebp + edx - 0xd8], 0
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00401350
add esp, 0x10
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
jmp 0x401885
mov ecx, dword [ebp - 0xe4]
sub ecx, 1
mov dword [ebp - 0xe4], ecx
je 0x40187f
cmp dword [ebp - 0x208], 0
je 0x4016ce
mov eax, dword [ebp - 0x208]
mov esp, ebp
pop ebp
ret