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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x318
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea edi, [0x44a568]
mov dword [esp + 0xb4], 0
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xbc], 1
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xc0], 2
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc4], 0
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xc8], 0
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xcc], 0xffffffff
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xd4]
and eax, 0
mov word [esp + 0xd0], 0x7e50
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xd4]
mov byte [esp + 0xd3], 0x51
mov dword [esp + 0xd8], 1
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xe0]
and eax, 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x1a4], 1
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x1a4]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xe8]
and eax, 0
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xec], 6
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x194], 0xfffffffb
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 0x128], 0
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0xf8], 0xffffffff
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xfc], 0x34
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x104], 0xf
mov dword [esp + 0x154], 0
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x30c], 0xfffffffe
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x30c]
mov dword [esp + 0x10c], 1
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x110], 0x2dc
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x114], 0x4e0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x11c], 0x5d000
mov dword [esp + 0x118], 0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x164]
and eax, 0
mov byte [esp + 0x121], 0x13
mov dword [esp + 0x164], eax
mov eax, dword [esp + 0x164]
mov word [esp + 0x122], 0x6ede
mov dword [esp + 0xf4], 0x2e800
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x12c], 0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x134], 0x13
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x130], 0
mov dword [esp + 0x138], 0x91b73c3e
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0x13c], 0x2bf55
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x144], 0x2e800
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x144]
mov word [esp + 0x19e], 0x1616
mov word [esp + 0x14a], 0x102
mov dword [esp + 0x34], eax
mov ax, word [esp + 0x14a]
mov byte [esp + 0x18f], 0x16
mov dword [esp + 0x150], ecx
mov dword [esp + 0x188], esi
mov dword [esp + 0x158], edx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x15c], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x124], edx
mov esi, dword [esp + 0x58]
mov dword [esp + 0x16c], esi
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x178], ecx
mov ecx, dword [esp + 0x150]
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x2a], ax
call ecx
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x174], eax
mov ecx, dword [esp + 0x188]
mov dword [esp + 0x108], 0
mov edx, dword [esp + 0x170]
mov esi, esp
mov edi, dword [esp + 0x48]
mov dword [esi + 8], edi
mov ebx, dword [esp + 0x44]
mov dword [esi + 4], ebx
mov dword [esi], edx
call ecx
sub esp, 0xc
mov dword [esp + 0x310], 0
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x158]
mov dword [ecx], eax
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x64]
imul eax, ecx
mov dword [esp + 0x16c], eax
mov dword [esp + 0x180], 0
lea eax, [esp + 0x19e]
mov ecx, dword [esp + 0xdc]
and ecx, 0
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x180]
mov edx, dword [esp + 0xdc]
xor edx, eax
mov dword [esp + 0xdc], edx
mov eax, dword [esp + 0x68]
cmp ecx, eax
jae 0x403ecc
lea eax, [esp + 0xdc]
mov ecx, dword [esp + 0x154]
or ecx, eax
mov dword [esp + 0x154], ecx
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x180], eax
je 0x403be8
lea eax, [esp + 0xd3]
mov ecx, dword [esp + 0x174]
mov dl, byte [esp + 0x121]
mov dh, al
sub dh, dl
mov si, word [ecx + 0xc]
mov byte [esp + 0xd3], dh
movzx eax, si
mov dword [esp + 0x100], eax
lea eax, [esp + 0x130]
mov ecx, dword [esp + 0x180]
mov edx, dword [esp + 0x108]
sub eax, edx
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x6c]
cmp ecx, eax
je 0x403c57
lea eax, [esp + 0xdc]
lea ecx, [esp + 0x122]
mov edx, dword [esp + 0x174]
mov edx, dword [edx + 4]
mov dword [esp + 0x184], edx
mov edx, dword [esp + 0x130]
mov bl, byte [esp + 0x121]
mov bh, cl
xor bl, bh
mov byte [esp + 0xd3], 0x36
mov byte [esp + 0x121], bl
xor edx, eax
mov dword [esp + 0xdc], edx
mov eax, 0
lea ecx, [esp + 0x18f]
mov byte [esp + 0x18f], 0x1d
mov edx, dword [esp + 0x70]
mov dword [esp + 0x190], edx
mov esi, dword [esp + 0x130]
and esi, ecx
sub eax, dword [esp + 0x118]
mov dword [esp + 0x130], esi
mov dword [esp + 0x118], eax
mov al, 0
lea ecx, [esp + 0xd3]
lea edx, [esp + 0x310]
mov esi, dword [esp + 0xdc]
or esi, edx
mov dword [esp + 0x310], esi
mov di, word [esp + 0x19e]
mov bx, cx
or di, bx
mov word [esp + 0x19e], di
mov ecx, dword [esp + 0x180]
mov di, word [esp + 0x122]
or di, 0x6fc
mov word [esp + 0x122], di
mov edx, dword [esp + 0x74]
cmp ecx, edx
mov byte [esp + 0x29], al
je 0x403d1e
lea eax, [esp + 0x122]
mov ecx, dword [esp + 0x118]
and ecx, eax
mov dword [esp + 0x118], ecx
mov eax, dword [esp + 0x190]
cmp eax, dword [esp + 0x100]
setne dl
mov byte [esp + 0x29], dl
mov al, byte [esp + 0x29]
mov cx, 0x5054
mov dx, word [esp + 0xd0]
mov ah, byte [esp + 0xd3]
add ah, 0x81
sub cx, dx
mov byte [esp + 0xd3], ah
mov word [esp + 0xd0], cx
mov byte [esp + 0xd3], 0xf7
test al, 1
jne 0x403d5b
jmp 0x403e40
mov eax, 0
mov ecx, dword [esp + 0x190]
mov dword [esp + 0x24], eax
mov eax, ecx
xor edx, edx
mov ecx, dword [esp + 0x78]
div ecx
mov eax, dword [esp + 0x7c]
add eax, edx
mov dword [esp + 0x198], eax
mov eax, dword [esp + 0x198]
mov bl, byte [eax + str.ihnF_]
mov byte [esp + 0xf3], bl
mov eax, dword [esp + 0x184]
movzx eax, byte [eax]
movzx edx, byte [esp + 0xf3]
sub eax, edx
mov bl, al
mov eax, dword [esp + 0x190]
mov edx, dword [esp + 0x168]
mov byte [edx + eax], bl
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x130]
mov edx, dword [esp + 0x130]
add edx, 0
mov dword [esp + 0x130], eax
mov si, word [esp + 0x19e]
add si, 0x171
mov word [esp + 0x122], si
mov dword [esp + 0x130], edx
lea eax, [esp + 0x19e]
mov ecx, dword [esp + 0x184]
mov edx, dword [esp + 0xdc]
and edx, eax
mov dword [esp + 0xdc], edx
add ecx, 1
mov dword [esp + 0x184], ecx
mov eax, dword [esp + 0x190]
mov ecx, dword [esp + 0x80]
add eax, ecx
mov dword [esp + 0x190], eax
jmp 0x403c94
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0x168]
mov dword [esp + 0x310], 0
add ecx, eax
mov dword [esp + 0x168], ecx
mov dword [esp + 0x184], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x100], eax
lea eax, [esp + 0x310]
mov ecx, dword [esp + 0x180]
mov edx, dword [esp + 0x88]
add ecx, edx
mov dword [esp + 0x180], ecx
mov ecx, dword [esp + 0x154]
mov esi, dword [esp + 0x174]
add esi, 0x18
mov word [esp + 0x19e], 0xa30
sub eax, ecx
mov dword [esp + 0x174], esi
mov dword [esp + 0x154], eax
jmp 0x403b58
lea eax, [esp + 0xdc]
mov ecx, 0
sub ecx, dword [esp + 0x108]
mov edx, dword [esp + 0x178]
mov esi, dword [esp + 0x310]
and esi, eax
mov dword [esp + 0x108], ecx
mov dword [esp + 0x310], esi
mov eax, dword [esp + 0x8c]
cmp edx, eax
jne 0x403f2e
mov eax, dword [esp + 0xdc]
xor eax, 0
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x14c], eax
jmp 0x40420f
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.00402210
mov ecx, dword [esp + 0x118]
add ecx, 0
mov dword [esp + 0x140], eax
mov dword [esp + 0x154], 0
mov dword [esp + 0x118], ecx
mov eax, dword [esp + 0x94]
mov dword [esp + 0x1a0], eax
mov dx, word [esp + 0x19e]
add dx, 0x6aaf
mov word [esp + 0x19e], dx
mov eax, 0
mov cl, 0
lea edx, [esp + 0x121]
mov esi, dword [esp + 0x1a0]
mov di, word [esp + 0x19e]
mov bx, dx
xor di, bx
sub cl, byte [esp + 0x121]
mov word [esp + 0x19e], di
sub eax, dword [esp + 0x310]
mov byte [esp + 0x121], cl
mov dword [esp + 0x130], eax
cmp esi, 1
jge 0x404124
mov eax, dword [esp + 0x178]
mov ecx, dword [esp + 0x108]
xor ecx, 0
mov dword [esp + 0x108], ecx
cmp eax, 0
je 0x404053
lea eax, [esp + 0x154]
lea ecx, [esp + 0x18f]
mov edx, 0
mov esi, dword [esp + 0x98]
mov dword [esp + 0x16c], esi
sub edx, dword [esp + 0x130]
mov bl, byte [esp + 0xd3]
mov bh, cl
sub bh, bl
mov dword [esp + 0x130], edx
mov byte [esp + 0xd3], bh
mov ecx, dword [esp + 0x130]
or ecx, eax
mov dword [esp + 0x154], ecx
jmp 0x4040bd
lea eax, [esp + 0xd3]
lea ecx, [esp + 0x118]
mov dl, byte [esp + 0x121]
mov dh, cl
or dl, dh
mov ecx, dword [esp + 0xdc]
mov esi, dword [esp + 0x118]
and esi, 0
sub eax, ecx
mov dword [esp + 0x118], esi
mov byte [esp + 0x121], dl
mov ecx, dword [esp + 0x16c]
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x20], ecx
mov ecx, esi
mov edi, dword [esp + 0x20]
shl edi, cl
mov dword [esp + 0xdc], eax
mov dword [esp + 0x14c], edi
jmp 0x40420f
mov eax, 0
sub eax, dword [esp + 0x108]
mov dword [esp + 0x108], eax
mov ax, 0
mov cl, 0
mov edx, dword [esp + 0x1a0]
mov esi, dword [esp + 0xa0]
add edx, esi
sub cl, byte [esp + 0x121]
sub ax, word [esp + 0x19e]
mov word [esp + 0x19e], ax
mov edi, dword [esp + 0x154]
mov byte [esp + 0x121], cl
and edi, 0
mov dword [esp + 0x154], edi
mov dword [esp + 0x1a0], edx
jmp 0x403f8b
mov ax, 0x66bf
mov ecx, 0
mov edx, dword [esp + 0x188]
sub ecx, dword [esp + 0x310]
mov esi, dword [esp + 0x170]
mov edi, esp
mov ebx, dword [esp + 0x50]
mov dword [edi + 8], ebx
mov ebx, dword [esp + 0x4c]
mov dword [edi + 4], ebx
mov dword [edi], esi
mov word [esp + 0x1e], ax
mov dword [esp + 0x18], ecx
call edx
sub esp, 0xc
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x310], ecx
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x160], eax
mov ax, word [esp + 0x1e]
sub ax, word [esp + 0x122]
mov word [esp + 0x122], ax
mov edx, dword [esp + 0x140]
mov esi, dword [esp + 0xe4]
mov edi, dword [esp + 0x158]
mov edi, dword [edi]
lea ebx, [esp + 0x160]
mov eax, esp
mov dword [eax + 0x14], ebx
mov ebx, dword [esp + 0x38]
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0x34]
mov dword [eax + 8], edi
mov dword [eax + 4], esi
mov cx, word [esp + 0x2a]
movzx esi, cx
mov dword [eax], esi
call edx
sub esp, 0x18
mov dword [esp + 0x308], eax
mov eax, dword [esp + 0xe4]
mov edx, dword [esp + 0x158]
mov dword [edx], eax
mov eax, dword [esp + 0x160]
mov edx, dword [esp + 0x15c]
mov dword [edx], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14c], eax
mov dword [esp + 0x130], 0
mov eax, dword [esp + 0x118]
neg eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x14c]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc