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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xac]
cmp eax, dword [ecx + 8]
jbe 0x612ff3
sub esp, 0x12c
lea eax, [0x72ffc0]
mov dword [esp], eax
call fcn.0040bc50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0x148]
cmp ecx, edx
ja 0x612fed
cmp ecx, 7
jb 0x612fe3
mov dword [esp + 0x50], eax
lea ebx, [edx - 7]
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 7
mov esi, dword [esp + 0x140]
add ebx, esi
mov dword [esp], ebx
add ecx, 0xfffffff9
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
lea ecx, [0x700420]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00513e00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x612575
test ecx, ecx
je 0x612516
mov ecx, dword [ecx + 4]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov eax, dword [0x9d2350]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [0x77d97d]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x32
lea eax, [esp + 0x54]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.00531200
add esp, 0x12c
ret
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004094b0
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.004094b0
mov eax, dword [esp + 8]
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
lea ecx, [0x718aa0]
mov dword [esp + 0xd4], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], eax
mov eax, dword [0x9d2350]
mov dword [esp], eax
mov dword [esp + 4], 5
lea eax, [0x77287f]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x1b
lea eax, [esp + 0xd4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call fcn.00531200
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov ebx, dword [esp + 0x130]
mov ebp, dword [ebx + 0x20]
cmp dword [ebx + 0x24], ecx
je 0x612717
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004094b0
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004094b0
mov eax, dword [esp + 8]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x718aa0]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov eax, dword [0x9d2350]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [0x77c68a]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x2f
lea eax, [esp + 0x74]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call fcn.00531200
jmp 0x61256e
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.00402b30
movzx eax, byte [esp + 0xc]
test al, al
jne 0x61273c
mov ebx, dword [esp + 0x130]
jmp 0x61265e
mov eax, dword [esp + 0x138]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x13c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
lea edx, [0x7677da]
mov dword [esp], edx
mov dword [esp + 4], 3
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004c1430
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test ecx, ecx
jne 0x612efb
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x14c]
test ecx, ecx
jne 0x612dd1
mov ecx, dword [esp + 0x150]
test ecx, ecx
je 0x612d78
lea eax, [ecx + 0x18]
mov dword [esp + 0x48], eax
mov dword [esp], eax
call fcn.00465730
mov eax, dword [esp + 0x150]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 0x24]
lea ebx, [0x71c680]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0040e9e0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
movzx ecx, byte [esp + 0x10]
test cl, cl
je 0x612cfc
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x138]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x13c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 4]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x2c], ebp
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004094b0
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.004094b0
mov eax, dword [esp + 8]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
lea ecx, [0x718aa0]
mov dword [esp + 0xa4], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov eax, dword [0x9d2350]
mov dword [esp], eax
mov dword [esp + 4], 4
lea eax, [0x7767cb]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x22
lea eax, [esp + 0xa4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call fcn.00531200
lea eax, [0x7ee2a0]
mov ecx, dword [esp + 0x34]
mov dword [ecx + 0x44], eax
mov eax, dword [0x9f0ee0]
test eax, eax
jne 0x612ceb
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x48], eax
mov byte [ecx + 0x36], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00465af0
lea edi, [esp + 0xe4]
xor eax, eax
call fcn.0045f717
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], ebx
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov dword [esp + 0xec], edx
mov dword [esp + 0xf0], ebx
mov edx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0xf4], edx
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx + 8]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004b1730
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], edx
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 0xc]
mov word [esp + 0x104], cx
lea edi, [esp + 0x108]
lea esi, [esp + 0xe4]
call fcn.0045fbd6
lea ecx, [0x743260]
mov dword [esp], ecx
lea ecx, [esp + 0x108]
mov dword [esp + 4], ecx
call fcn.004092c0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0051b150
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
test ecx, ecx
je 0x612a6b
test ebp, ebp
je 0x612a0e
mov ebp, dword [ebp + 4]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], esi
mov eax, dword [0x9d2350]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [0x77cc9a]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x30
lea eax, [esp + 0x5c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.00531200
jmp 0x61256e
lea eax, [edx + 7]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x148]
cmp ecx, eax
jb 0x612ca5
mov ebp, dword [esp + 0x140]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], ebp
lea eax, [ebp + 7]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.0045fe20
mov eax, dword [esp + 0x130]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + 0x28]
mov ebx, dword [eax + 0x18]
mov ebp, dword [eax + 0x1c]
mov dword [esp], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
call ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x612bcb
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x130]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004094b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x612b31
mov ecx, dword [ecx + 4]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea edx, [0x718aa0]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov eax, dword [esp + 0x44]
mov dword [esp + 0xa0], eax
mov eax, dword [0x9d2350]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [0x77fe9e]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x3b
lea eax, [esp + 0x94]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call fcn.00531200
jmp 0x61256e
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004094b0
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xec]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004094b0
mov eax, dword [esp + 8]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea ecx, [0x718aa0]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov eax, dword [0x9d2350]
mov dword [esp], eax
mov dword [esp + 4], 4
lea eax, [0x77bfe2]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x2e
lea eax, [esp + 0x84]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call fcn.00531200
jmp 0x61256e
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], edx
lea edx, [0x718d60]
mov dword [esp], edx
mov edx, dword [esp + 0x140]
mov dword [esp + 4], edx
mov dword [esp + 8], 7
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00445ed0
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x3c]
jmp 0x612a88
lea edi, [ecx + 0x48]
mov eax, dword [esp + 0x30]
call fcn.0045f470
jmp 0x612911
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004094b0
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea ecx, [0x718aa0]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov eax, dword [0x9d2350]
mov dword [esp], eax
mov dword [esp + 4], 3
lea eax, [0x773ba3]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x1d
lea eax, [esp + 0x6c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.00531200
jmp 0x612915
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea eax, [0x718aa0]
mov dword [esp + 0x64], eax
lea eax, [0x7e7d10]
mov dword [esp + 0x68], eax
mov eax, dword [0x9d2350]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.005316b0
add esp, 0x12c
ret
mov eax, dword [esp + 0x138]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x13c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 4]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x2c], ebp
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004094b0
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.004094b0
mov eax, dword [esp + 8]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
lea ecx, [0x718aa0]
mov dword [esp + 0xb4], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
mov eax, dword [0x9d2350]
mov dword [esp], eax
mov dword [esp + 4], 4
lea eax, [0x7767cb]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x22
lea eax, [esp + 0xb4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call fcn.00531200
lea eax, [0x7ee2a0]
mov ecx, dword [esp + 0x14c]
mov dword [ecx + 0x44], eax
mov eax, dword [0x9f0ee0]
test eax, eax
jne 0x612eeb
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x48], edx
mov byte [ecx + 0x36], 0
jmp 0x612921
lea edi, [ecx + 0x48]
mov eax, dword [esp + 0x30]
call fcn.0045f470
mov edx, eax
jmp 0x612ee2
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x138]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x13c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004094b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x612fdc
mov edx, dword [ecx + 4]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
lea ecx, [0x718aa0]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0xd0], eax
mov eax, dword [0x9d2350]
mov dword [esp], eax
mov dword [esp + 4], 2
lea eax, [0x779801]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x28
lea eax, [esp + 0xc4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call fcn.00531200
add esp, 0x12c
ret
mov edx, ecx
jmp 0x612f40
mov eax, 7
call fcn.0045f550
call fcn.0045f530
nop
call fcn.0045df10
jmp fcn.00612470