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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [ebp + 8]
mov ecx, 0x48a8
mov word [esp + 0x8a], 0x361
mov byte [esp + 0x7d], 0x1f
mov dword [esp + 0x78], 0x3758
mov dx, word [esp + 0x8a]
mov si, dx
xor si, 0x6085
mov word [esp + 0x56], si
mov bl, byte [esp + 0x7d]
xor bl, 0x1b
mov byte [esp + 0x43], bl
mov dword [esp + 0x74], 0x6c10
mov dword [esp + 0x2c], 0x29ce
mov edi, dword [esp + 0x78]
xor edi, 0x6673
mov dword [esp + 0x6c], edi
cmp ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov word [esp + 0x1a], dx
jbe 0x4018a0
jmp 0x40198d
mov eax, dword [esp + 0x5c]
imul eax, eax, 0xc
add eax, dword [esp + 0x28]
mov cl, byte [esp + 0x7d]
mov eax, dword [eax]
mov dl, byte [esp + 0x43]
xor cl, 0x25
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
imul eax, eax, 0xc
add eax, dword [esp + 0x28]
mov dword [esp + 0x60], eax
cmp dl, cl
jbe 0x4018b0
jmp 0x4018b0
mov ax, 0x10aa
movzx ecx, word [esp + 0x8a]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x34]
lea esi, [esi + esi*2]
lea edx, [edx + esi*4]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x84]
not esi
not edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], esi
add ecx, 0x7b
mov bx, cx
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x80], 0xffff802a
mov si, word [esp + 0x56]
mov ecx, dword [edx]
mov dword [esp + 0x4c], ecx
mov di, word [esp + 0x1a]
sub ax, di
mov ecx, dword [esp + 0x34]
mov word [esp + 0x7e], ax
mov dword [esp + 0x48], ecx
cmp bx, si
je 0x4018a0
jmp 0x4018e2
mov eax, dword [esp + 0x78]
add eax, 0xffffc8a9
add eax, dword [esp + 0x34]
mov dword [esp + 0x34], eax
jmp 0x401a5b
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
mov edx, esp
mov dword [edx + 8], ecx
mov dword [edx + 4], eax
mov dword [edx], eax
call fcn.00401a90
sub esp, 0xc
mov si, word [esp + 0x1a]
mov ax, si
add eax, 0x6521
mov di, ax
mov word [esp + 0x7e], di
mov eax, dword [esp + 0x68]
add eax, 0x5156
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x78]
xor ecx, 0x3758
mov dword [eax + 4], 0x3f600
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x20]
add eax, 0xd83
mov dword [edx + 8], eax
mov eax, dword [esp + 0x20]
mov dword [eax + 0xc], 0x2800
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp dword [esp + 0x5c], 0x3e
jb 0x401754
jmp 0x4019d7
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
xor eax, dword [esp + 0x50]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
mov cx, word [esp + 0x1a]
mov word [esp + 0x7e], cx
add eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
jmp 0x40197d
mov eax, dword [esp + 0x48]
imul eax, eax, 0xc
add eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
add eax, 0x1630
mov edx, dword [esp + 0x28]
imul esi, dword [esp + 0x34], 0xc
add edx, esi
mov edx, dword [edx + 8]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x44], edx
cmp ecx, eax
jb 0x401754
mov eax, dword [esp + 0x44]
xor eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
mov dx, word [esp + 0x1a]
and dx, 0x2def
mov esi, dword [esp + 0x4c]
mov word [esp + 0x7e], dx
add eax, dword [esp + 0x24]
mov edi, esp
mov dword [edi + 8], esi
mov dword [edi + 4], ecx
mov dword [edi], eax
call fcn.00403600
sub esp, 0xc
mov ecx, dword [esp + 0x24]
add ecx, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
jmp 0x401810
mov eax, dword [esp + 0x5c]
add eax, 1
mov dword [esp + 0x5c], eax
jmp 0x4018a0
mov eax, 0x3758
lea ecx, [0x41f6b8]
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0x477f
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ecx
sub eax, dword [esp + 0x78]
mov dword [esp + 0x24], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x5c], eax
jmp 0x4018a0
mov eax, dword [esp + 0x74]
mov ecx, esp
mov dword [ecx], str.VirtualAlloc
mov dword [esp + 0x10], eax
call fcn.00402180
sub esp, 4
mov ecx, dword [esp + 0x78]
mov edx, 0x375c
sub edx, ecx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x78]
mov ebx, 0x4758
sub ebx, edi
or ecx, 0x4ab3
mov edi, dword [esp + 0x38]
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ecx
mov ecx, esp
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], ebx
mov dword [ecx + 4], edi
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, 0xbad
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x10]
cmp ecx, eax
jne 0x401a76
jmp 0x40197d
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x78]
add ecx, 0xffffc8e6
cmp eax, ecx
jb 0x40178c
jmp 0x401826
mov eax, dword [esp + 0x78]
add eax, 0xffffc8a8
mov dword [esp + 0x34], eax
jmp 0x401a5b