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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov bl, byte [esp + 0xb3]
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0x181f
mov word [esp + 0x92], 0x60b
mov dword [esp + 0x8c], 0x5dc9
mov esi, dword [esp + 0x94]
mov edi, esi
not edi
mov dword [esp + 0x94], edi
mov byte [esp + 0x8b], 0x84
mov byte [esp + 0x8a], 1
mov bh, byte [esp + 0x8b]
mov edi, dword [esp + 0x98]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0x98], 0xffff9eb8
mov dword [esp + 0x44], eax
mov al, 0xb5
sub al, bh
mov byte [esp + 0x87], al
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, 0x81d3
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x40]
sub eax, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
sbb ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x2c], eax
mov eax, esi
add eax, 0x5069
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
add eax, 0x853
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], eax
mov word [esp + 0x88], 0x5214
mov eax, dword [esp + 0x44]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], edi
mov eax, dword [esp + 0x30]
sub eax, 0x168c
sbb ecx, 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
mov byte [esp + 0x17], bl
mov dword [esp + 0x10], ecx
jb 0x4015ad
jmp 0x401542
mov dword [esp + 0x64], 0
jmp 0x4016cd
mov al, byte [esp + 0x8b]
add al, 0x7c
mov cl, byte [esp + 0x6f]
mov byte [esp + 0x77], 0
cmp cl, al
jne 0x40160f
jmp 0x4016b9
mov al, 0x84
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x68], edx
mov esi, dword [esp + 0x1c]
xor esi, 0x75e8
mov dword [esp + 0x94], esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x60], esi
mov edi, dword [esp + 0x68]
sub al, byte [esp + 0x8b]
mov word [esp + 0xa6], 0x4ee
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x50]
cmp byte [edi], al
jne 0x4015dc
mov eax, dword [esp + 0x68]
mov dword [esp + 0x64], eax
jmp 0x4016cd
mov eax, dword [esp + 0x4c]
cmp byte [eax], 0
jne 0x4016db
jmp 0x4016c5
mov eax, dword [esp + 0x8c]
xor eax, 0x658f
mov ecx, esp
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0
mov dword [ecx], 0
call fcn.00401e20
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
jmp 0x401642
mov eax, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
jmp 0x401655
mov al, byte [esp + 0x87]
mov cl, byte [esp + 0x8b]
mov edx, dword [esp + 0x58]
xor cl, 0xaf
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x54], edx
cmp cl, al
jne 0x4015de
jmp 0x40166f
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x4c]
movsx edx, byte [edx]
mov bl, byte [esp + 0x8a]
movsx eax, byte [eax]
sub eax, edx
cmp eax, 0
setne bh
xor bh, bl
and bh, 1
mov byte [esp + 0x77], bh
jmp 0x4016b9
mov al, byte [esp + 0x8b]
add al, 0x7c
mov ecx, dword [esp + 0x58]
cmp byte [ecx], al
jne 0x4015e8
jmp 0x40166f
mov al, byte [esp + 0x8b]
xor al, 0x84
mov ecx, dword [esp + 0x5c]
mov dl, byte [ecx]
mov byte [esp + 0x77], 0
cmp dl, al
jne 0x401686
jmp 0x4016b9
mov eax, dword [esp + 0x8c]
xor eax, 0x4a87
cmp eax, dword [esp + 0x70]
ja 0x4016eb
jmp 0x401516
mov ax, word [esp + 0x92]
mov ecx, dword [esp + 0x4c]
mov dl, byte [ecx]
add ax, 0xffb4
mov si, word [esp + 0x88]
mov byte [esp + 0x6f], dl
mov word [esp + 0xa6], 0x804
cmp ax, si
jb 0x401523
jmp 0x40166f
test byte [esp + 0x77], 1
jne 0x4016eb
jmp 0x40159b
mov eax, dword [esp + 0x58]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [esp + 0x58]
add eax, 1
mov dword [esp + 0x58], eax
jmp 0x401642
mov eax, dword [esp + 0x5c]
add eax, 1
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x4c]
add eax, 1
mov dword [esp + 0x4c], eax
jmp 0x401655