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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
mov eax, dword [ebp + 8]
mov ecx, 0x25c7
lea edx, section..data
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc0], 0xd43
mov byte [esp + 0xaf], 0x54
mov dword [esp + 0xa8], 0x25c7
mov bl, byte [esp + 0xaf]
mov bh, bl
xor bh, 0x40
mov byte [esp + 0x83], bh
mov bh, byte [esp + 0xaf]
mov dword [esp + 0x38], eax
mov al, 0xc5
sub al, bh
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xb4]
mov byte [esp + 0x97], al
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], eax
mov ax, word [esp + 0xbe]
mov word [esp + 0x36], ax
xor ax, 0x74fb
mov word [esp + 0xbe], ax
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0xa8]
mov eax, edx
add eax, 0xffffda39
mov dword [esp + 0x7c], eax
sub ecx, dword [esp + 0xa8]
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0xa8]
add eax, 0xffffda39
mov dword [esp + 0xa0], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], esi
mov byte [esp + 0x27], bl
jmp 0x401ac9
mov eax, dword [esp + 0x70]
imul eax, eax, 0x4c
add eax, dword [esp + 0x9c]
mov eax, dword [eax + 0x11]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x9c]
imul ecx, dword [esp + 0x70], 0x4c
add eax, ecx
mov eax, dword [eax + 0x48]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x70]
imul eax, eax, 0x4c
add eax, dword [esp + 0x9c]
mov eax, dword [eax + 0x25]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x98]
mov dl, byte [esp + 0x27]
or dl, 0xe4
xor eax, dword [esp + 0x64]
mov byte [esp + 0xcf], dl
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x3c]
add eax, dword [esp + 0x78]
mov si, word [esp + 0x36]
and si, 0x637f
mov edi, dword [esp + 0x98]
mov word [esp + 0xbe], si
mov ebx, esp
mov dword [ebx + 8], edi
mov dword [ebx + 4], ecx
mov dword [ebx], eax
call fcn.00403490
sub esp, 0xc
mov ecx, dword [esp + 0x98]
add ecx, dword [esp + 0x7c]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x20], eax
jmp 0x401ab9
cmp byte [esp + 0x97], 0x90
je 0x40178a
jmp 0x401a5a
mov eax, dword [esp + 0x2c]
xor eax, 0x286f
mov dword [esp + 0xd0], eax
cmp dword [esp + 0x70], 0x132
jb 0x40178a
jmp 0x40198a
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xa0], eax
jmp 0x401ac9
mov eax, 0x25d5
lea ecx, [esp + 0x44]
mov edx, dword [esp + 0xa8]
xor edx, 0x25c3
sub eax, dword [esp + 0xa8]
mov esi, esp
mov dword [esi + 8], eax
mov dword [esi], ecx
mov dword [esi + 4], 0x4010b3
mov dword [esp + 0x1c], edx
call fcn.00401b00
sub esp, 0xc
lea eax, [esp + 0x44]
mov ecx, dword [esp + 0xa8]
add ecx, 0xffffda39
mov edx, esp
mov dword [edx], eax
mov dword [esp + 0x18], ecx
call fcn.004020c0
sub esp, 4
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa8]
xor ecx, 0x35c7
mov edx, dword [esp + 0x40]
mov esi, esp
mov edi, dword [esp + 0x1c]
mov dword [esi + 0xc], edi
mov dword [esi + 8], ecx
mov dword [esi + 4], edx
mov dword [esi], 0
call eax
sub esp, 0x10
mov ecx, dword [esp + 0x2c]
xor ecx, 0xffffffff
mov dword [esp + 0xd0], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x70], eax
jmp 0x40184e
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x78]
add ecx, 0x18464
mov dword [eax], ecx
mov eax, dword [esp + 0xa8]
mov ecx, eax
xor ecx, 0x487
mov edx, dword [esp + 0x68]
mov esi, eax
add esi, 0xffffda39
mov edi, 0x2f7c7
sub edi, eax
mov dword [edx + 4], edi
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x78]
add edx, 0x13d7d
mov dword [eax + 8], edx
mov eax, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov al, pe_nt_image_headers32
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x78]
mov ah, byte [esp + 0xaf]
mov esi, dword [esp + 0x2c]
sub esi, 0x57d4
sub al, ah
mov ah, byte [esp + 0x83]
mov dword [esp + 0xd0], esi
mov esi, dword [esp + 0x78]
mov edi, esp
mov dword [edi + 8], ecx
mov dword [edi + 4], edx
mov dword [edi], esi
mov byte [esp + 0x17], ah
mov byte [esp + 0x16], al
call fcn.00401c50
sub esp, 0xc
mov ecx, dword [esp + 0x2c]
or ecx, 0x37a3
mov dword [esp + 0xd0], ecx
mov al, byte [esp + 0x17]
mov ah, byte [esp + 0x16]
cmp al, ah
ja 0x401a5a
jmp 0x401931
mov eax, dword [esp + 0x9c]
imul ecx, dword [esp + 0xa0], 0x4c
add eax, ecx
mov eax, dword [eax + 0x11]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x9c]
imul ecx, dword [esp + 0xa0], 0x4c
add eax, ecx
mov eax, dword [eax + 0x25]
mov dx, word [esp + 0x36]
and dx, 0x55cc
mov word [esp + 0xbe], dx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x74]
xor eax, dword [esp + 0x84]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x40]
mov dword [esp + 0x40], eax
jmp 0x40183b
mov eax, dword [esp + 0x2c]
imul ecx, eax, 0x607c
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xc4]
xor esi, esi
mov edi, 0x201e
sub edi, ecx
sbb esi, edx
xor ecx, edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], esi
mov edi, dword [esp + 0xa0]
inc edi
mov dword [esp + 0x6c], edi
xor edx, esi
xor ecx, 0x6687
or ecx, edx
mov dword [esp + 0x10], ecx
jne 0x401871
jmp 0x401871
mov eax, dword [esp + 0x70]
add eax, 1
mov dword [esp + 0x70], eax
jmp 0x40184e
mov eax, 0x26f9
mov cl, byte [esp + 0x27]
add cl, 0xd
sub eax, dword [esp + 0xa8]
mov byte [esp + 0xcf], cl
cmp dword [esp + 0xa0], eax
jb 0x4019f5
jmp 0x401881