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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x403d0e
sub esp, 0x88
xor ebx, ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp], 0x6f94a0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0040f4f0
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x50], ebx
mov dword [esp], 0x741dc0
call fcn.0041a7b0
mov edi, dword [esp + 4]
mov dword [esp + 0x40], edi
cmp edi, 0
je 0x403d07
xor eax, eax
call fcn.004637b1
mov dword [esp], 0x70e600
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00412cf0
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x3c], ebx
mov ebx, 0x75782f
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 2
mov dword [esp], 0x6fe900
call fcn.0041a7b0
mov ecx, dword [esp + 4]
mov eax, dword [0x8de0d8]
mov dword [esp + 0x38], ecx
cmp ecx, 0
je 0x403d00
cmp byte [0x8f7eb8], 0
jne 0x403ceb
mov dword [ecx], eax
cmp ecx, 0
je 0x403ce4
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 1
mov dword [esp + 0x70], ecx
mov dword [esp], 0x70e600
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
lea ebx, [esp + 0x68]
mov dword [esp + 8], ebx
lea ebx, [esp + 0x70]
mov dword [esp + 0xc], ebx
call fcn.00413900
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
cmp ebx, 0
je 0x403cdd
cmp byte [0x8f7eb8], 0
jne 0x403cc9
mov dword [ebx + 0x24], eax
mov dword [esp], 0x734d40
call fcn.0041a7b0
mov eax, dword [esp + 4]
xor ebp, ebp
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], ebp
mov ebx, dword [esp + 0x40]
cmp ebx, 0
je 0x403cc2
cmp byte [0x8f7eb8], 0
jne 0x403cae
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x40]
cmp ebx, 0
je 0x403ca7
cmp byte [0x8f7eb8], 0
jne 0x403c93
mov dword [ebx + 0x34], eax
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x54], ebx
mov dword [esp], 0x70e6c0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00412cf0
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x4c], ebx
mov dword [esp], 0x70e6c0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00412cf0
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x48], ebx
mov dword [esp], 0x72a0a0
call fcn.0041a7b0
mov ecx, dword [esp + 4]
xor ebp, ebp
mov dword [ecx], ebp
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebp
mov dword [ecx + 0x10], ebp
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x34], ecx
cmp byte [0x8f7eb8], 0
jne 0x403c7e
mov dword [ecx], eax
mov eax, dword [esp + 0x48]
cmp ecx, 0
je 0x403c77
cmp byte [0x8f7eb8], 0
jne 0x403c5f
mov dword [ecx + 4], eax
mov dword [esp + 0x24], ecx
mov dword [esp], 0
mov ebx, 0x7722a5
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x5d2
call fcn.0044d970
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov dword [esp], ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 4], edx
mov dword [esp + 0x80], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0xc], eax
call fcn.00557ac0
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4039b1
mov ebx, 0x7680d9
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0x20
mov dword [esp], 0x70b040
lea ebx, [esp + 0x68]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.004178c0
lea ebx, [esp + 0xc]
cld
mov ecx, dword [ebx]
mov dword [esp], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 4], ecx
xor ebx, ebx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
call fcn.00529c70
mov ebx, 0x7680d9
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0x20
mov dword [esp], 0x70b040
lea ebx, [esp + 0x68]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
call fcn.004178c0
lea ebx, [esp + 0xc]
cld
mov ecx, dword [ebx]
mov dword [esp], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 4], ecx
call fcn.00436f30
ud2
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x54]
cmp ebx, 0
je 0x403c58
cmp byte [0x8f7eb8], 0
jne 0x403c44
mov dword [ebx + 8], eax
mov eax, 0x400
xor ebx, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x1c], eax
cmp eax, 1
jge 0x4039f2
mov dword [esp + 0x1c], 0x40
mov dword [esp], 0x70e2c0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00412cf0
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x44], ebx
mov dword [esp], 0x71f5e0
call fcn.0041a7b0
mov eax, dword [esp + 4]
cmp eax, 0
je 0x403c3d
mov dword [esp + 0x28], eax
cmp byte [0x8f7eb8], 0
jne 0x403c28
mov dword [eax], eax
cmp eax, 0
je 0x403c21
cmp byte [0x8f7eb8], 0
jne 0x403c09
mov dword [eax + 4], eax
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0x20], eax
mov dword [esp], 0x72ef40
call fcn.0041a7b0
mov eax, dword [esp + 4]
xor ebp, ebp
mov dword [eax], ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x30], eax
cmp byte [0x8f7eb8], 0
jne 0x403bf1
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x20]
cmp eax, 0
je 0x403bea
cmp byte [0x8f7eb8], 0
jne 0x403bd2
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x10], ecx
mov ecx, eax
mov eax, 0x8c4790
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp], 0x74c360
call fcn.0041a7b0
mov ecx, dword [esp + 4]
mov edi, ecx
cmp ecx, 0
je 0x403bcb
xor eax, eax
call fcn.0046378f
mov ebx, dword [esp + 0x54]
mov ebp, dword [ebx + 8]
mov dword [esp + 0x2c], ecx
cmp byte [0x8f7eb8], 0
jne 0x403bb3
mov dword [ecx + 0x20], ebp
mov eax, 1
mov byte [ecx + 0x40], al
mov ebp, 0x757825
mov dword [ecx + 0x30], ebp
mov dword [ecx + 0x34], 2
mov ebp, dword [esp + 0x58]
mov dword [ecx + 0x74], ebp
mov ebp, dword [esp + 0x5c]
cmp byte [0x8f7eb8], 0
jne 0x403b9e
mov dword [ecx + 0x78], ebp
mov ebx, dword [esp + 0x54]
cmp ebx, 0
je 0x403b9a
cmp byte [0x8f7eb8], 0
jne 0x403b89
mov dword [ebx + 0xc], ecx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x8c], ebx
xor ebx, ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
add esp, 0x88
ret
lea esi, [ebx + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.0041b160
jmp 0x403b67
mov dword [ebx], eax
jmp 0x403b5b
lea esi, [ecx + 0x78]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0041b160
mov ecx, dword [esp + 0x2c]
jmp 0x403b52
lea esi, [ecx + 0x20]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0041b160
mov ecx, dword [esp + 0x2c]
jmp 0x403b24
mov dword [ecx], eax
jmp 0x403b02
lea esi, [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.0041b160
mov eax, dword [esp + 0x30]
jmp 0x403ac9
mov dword [eax], eax
jmp 0x403ab9
lea esi, [eax + 8]
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.0041b160
mov eax, dword [esp + 0x30]
jmp 0x403aac
lea esi, [eax + 4]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0041b160
mov eax, dword [esp + 0x28]
jmp 0x403a6b
mov dword [eax], eax
jmp 0x403a5b
mov dword [esp], eax
mov dword [esp + 4], eax
call fcn.0041b160
mov eax, dword [esp + 0x28]
jmp 0x403a52
mov dword [eax], eax
jmp 0x403a3f
lea esi, [ebx + 8]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0041b160
jmp 0x4039d2
mov dword [ebx], eax
jmp 0x4039c2
lea esi, [ecx + 4]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0041b160
mov ecx, dword [esp + 0x34]
jmp 0x4038b6
mov dword [ecx], eax
jmp 0x4038a6
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0041b160
mov ecx, dword [esp + 0x34]
jmp 0x403899
lea esi, [ebx + 0x34]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0041b160
jmp 0x4037f2
mov dword [ebx], eax
jmp 0x4037e2
lea esi, [ebx + 0x30]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0041b160
jmp 0x4037d1
mov dword [ebx], eax
jmp 0x4037c1
lea esi, [ebx + 0x24]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0041b160
jmp 0x403791
mov dword [ebx], eax
jmp 0x403781
mov dword [ecx], eax
jmp 0x403738
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0041b160
mov ecx, dword [esp + 0x38]
jmp 0x40372f
mov dword [ecx], eax
jmp 0x403720
mov dword [edi], eax
jmp 0x4036b1
call fcn.004616d0
jmp fcn.00403640