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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x44], 0x30
mov eax, dword [ebp - 0x44]
mov eax, dword fs:[eax]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
jmp 0x401749
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 0x28]
add eax, edx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x30], 0
jne 0x401634
jmp 0x401749
mov dword [ebp - 0x18], 0
jmp 0x40167c
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x18]
add eax, edx
mov dword [ebp - 0x14], eax
ror dword [ebp - 0xc], 0xd
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
cmp al, 0x60
jle 0x40166c
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
movsx edx, al
mov eax, dword [ebp - 0xc]
add eax, edx
sub eax, 0x20
mov dword [ebp - 0xc], eax
jmp 0x401678
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
movsx eax, al
add dword [ebp - 0xc], eax
add dword [ebp - 0x18], 1
movzx eax, word [ebp - 0x4e]
movzx eax, ax
cmp dword [ebp - 0x18], eax
jb 0x40163d
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
add eax, edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0x28]
add eax, edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0
jmp 0x40173d
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, dword [ebp - 0x28]
add eax, edx
mov dword [ebp - 0x3c], eax
add dword [ebp - 8], 4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
ror dword [ebp - 0x10], 0xd
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
movsx eax, al
add dword [ebp - 0x10], eax
add dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
sub eax, 1
movzx eax, byte [eax]
test al, al
jne 0x4016d4
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jne 0x401739
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 0x28]
add edx, eax
mov eax, dword [ebp - 0x18]
add eax, eax
add eax, edx
movzx eax, word [eax]
mov word [ebp - 0x3e], ax
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x28]
add edx, eax
movzx eax, word [ebp - 0x3e]
shl eax, 2
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp - 0x28]
add eax, edx
jmp 0x40175c
add dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x38]
jb 0x4016b6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4015e9
mov eax, 0
leave
ret