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

Disassembly:
push 0x16c
mov eax, 0x515632
call fcn.004f61bb
mov dword [ebp - 0x1c], ecx
xor eax, eax
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
setne al
cmp eax, ebx
jne 0x462d6c
call fcn.00403802
mov eax, dword [ecx + 0xdbc]
cmp eax, ebx
jne 0x462d7d
xor eax, eax
jmp 0x463017
push eax
call fcn.00437b90
mov edi, eax
mov dword [ebp - 0x10], edi
cmp edi, ebx
je 0x462d76
push 0xc04
call fcn.00402d51
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x462dac
call fcn.00426caf
mov esi, eax
jmp 0x462dae
xor esi, esi
push dword [ebp + 0xc]
mov eax, dword [esi]
or dword [ebp - 4], 0xffffffff
push 0x50402808
push dword [ebp + 8]
mov ecx, esi
call dword [eax + 0x2fc]
mov ecx, esi
test eax, eax
jne 0x462dd6
mov eax, dword [esi]
push 1
call dword [eax + 4]
jmp 0x462d76
push dword [ebp + 0x10]
call fcn.00409145
push dword [edi + 4]
call dword [0x51e7c4]
cmp eax, ebx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ebx
jle 0x462faf
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.0040c0fc
lea ecx, [ebp + 0x10]
mov edi, eax
call fcn.00403c9e
mov ecx, dword [ebp - 0x10]
push 0x400
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
call fcn.00437c5e
cmp edi, ebx
je 0x462f7c
cmp edi, 0xffffffff
je 0x462ea2
push edi
call fcn.0041e848
pop ecx
test eax, eax
jne 0x462f91
push ebx
push ebx
push dword [ebp + 0x10]
lea ecx, [ebp - 0x90]
push 0xffffffffffffffff
push edi
call fcn.0042f3a5
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x8c], ebx
jne 0x462e66
mov eax, dword [ebp - 0x5c]
cmp eax, 0xffffffff
jne 0x462e7b
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], 1
mov eax, dword [esi]
push 0xffffffffffffffff
lea ecx, [ebp - 0x90]
push ecx
mov ecx, esi
call dword [eax + 0x320]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 1
call fcn.0042e1c7
jmp 0x462f91
mov ecx, dword [0x5679c4]
mov dword [ebp - 0x18], ebx
cmp ecx, ebx
je 0x462ebb
lea eax, [ebp + 0x10]
push eax
call fcn.00416e62
mov dword [ebp - 0x18], eax
push ebx
push 9
lea ecx, [ebp + 0x10]
call fcn.00424ab0
cmp eax, ebx
jl 0x462ef3
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 0x10]
call fcn.0041252f
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.00403512
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401690
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp + 0x10]
call fcn.0040c111
cmp eax, ebx
jne 0x462f09
xor eax, eax
jmp 0x462f0c
mov eax, dword [eax + 4]
push ebx
push edi
or edi, 0xffffffff
push edi
push eax
push edi
lea ecx, [ebp - 0x178]
call fcn.00480c6f
mov eax, dword [ebp - 0x140]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x174], ebx
jne 0x462f37
mov eax, dword [ebp - 0x144]
cmp eax, edi
jne 0x462f4b
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x170], 1
push dword [ebp - 0x18]
lea ecx, [ebp - 0x178]
call fcn.0047fd9d
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x178]
push ecx
mov ecx, esi
call dword [eax + 0x320]
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 1
call fcn.0047fa60
jmp 0x462f91
mov eax, dword [ebp + 8]
dec eax
cmp dword [ebp + 0xc], eax
je 0x462f91
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
call dword [eax + 0x324]
mov ecx, dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00401690
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jl 0x462df5
mov edi, dword [esi]
mov ecx, esi
call dword [edi + 0x198]
or eax, 0x34
push eax
mov ecx, esi
call dword [edi + 0x1bc]
mov eax, dword [esi]
push 0xf000
mov ecx, esi
call dword [eax + 0x1c4]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x120]
cmp eax, ebx
je 0x463015
cmp dword [eax + 0xb0], ebx
je 0x463015
mov edi, dword [eax + 0xc0]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x334]
mov ecx, eax
mov eax, dword [ebp + 8]
cdq
idiv edi
push ebx
inc eax
imul ecx, eax
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0x20]
push ecx
mov ecx, esi
call dword [eax + 0x1e0]
mov eax, esi
call fcn.004f6293
ret 0xc