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

Disassembly:
mov ecx, dword [0xf33f68]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x731691
sub esp, 0x94
lea edi, [esp + 0xa0]
xor eax, eax
call fcn.0046ca77
lea edi, [esp + 0x5c]
call fcn.0046ca77
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp + 4], edx
call fcn.00736060
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x731331
mov edx, dword [0xed1398]
xor ebx, ebx
jmp 0x731364
mov edx, dword [ecx + 0x28c]
cmp edx, eax
jb 0x731689
mov ebx, dword [ecx + 0x290]
sub edx, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and ebx, eax
cmp edx, 3
jbe 0x73167d
mov ebp, dword [ecx + 0x288]
mov ebx, dword [ebx + ebp]
xor edx, edx
test edx, edx
jne 0x7313c7
mov dword [esp + 0x2c], eax
mov edx, ebx
and ebx, 7
mov byte [esp + 0x5c], bl
mov ebx, edx
and edx, 0xf8
shr edx, 3
mov byte [esp + 0x5d], dl
mov edx, ebx
and ebx, 0xff00
shr ebx, 8
mov byte [esp + 0x5e], bl
mov ebx, edx
and edx, 0xff0000
shr edx, 0x10
mov byte [esp + 0x5f], dl
mov edx, ebx
and ebx, 0xf00000
shr ebx, 0x18
mov byte [esp + 0x60], bl
and edx, 0xf0000000
shr edx, 0x1c
lea edx, [edx + edx*2]
shl edx, 1
mov byte [esp + 0x61], dl
xor edx, edx
jmp 0x7313f2
lea edi, [esp + 0xa0]
lea esi, [esp + 0x5c]
call fcn.0046cf36
add esp, 0x94
ret
lea esi, [esp + 0x4c]
call fcn.0046cf68
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x98]
movzx ebx, byte [esp + 0x5f]
movzx ebp, bl
cmp edx, ebp
jge 0x731533
mov dword [esp + 0x30], edx
lea ebx, [eax + edx*2 + 4]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
movzx ebp, byte [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], ebx
xchg ebp, eax
mov byte [esp + 8], al
xchg ebp, eax
call fcn.007308a0
mov eax, dword [esp + 0x1c]
lea edi, [esp + 0x84]
lea esi, [esp + 0xc]
call fcn.0046cf68
lea edi, [esp + 0x4c]
lea esi, [esp + 0x84]
call fcn.0046cf68
test eax, eax
je 0x73151c
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
inc edx
mov ebx, dword [esp + 0x64]
cmp ecx, edx
jae 0x7314c8
mov dword [esp + 0x38], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x79c580]
mov dword [esp + 0x10], eax
call fcn.00450c90
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], edx
mov ecx, dword [0xf34078]
dec edx
shl edx, 4
lea edi, [ebx + edx]
mov edx, dword [esp + 0x30]
add edx, eax
test ecx, ecx
je 0x7313de
mov dword [esp + 0x80], edi
mov dword [esp + 0x3c], edx
lea eax, [0x79c580]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x4c]
mov dword [esp + 8], eax
call fcn.00412810
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x80]
jmp 0x7313de
lea edi, [esp + 0xa0]
lea esi, [esp + 0x5c]
call fcn.0046cf36
add esp, 0x94
ret
lea ebp, [eax + 4]
test bl, 1
je 0x73153e
lea ebp, [eax + 6]
movzx ebx, byte [esp + 0x5d]
test bl, 1
jne 0x73154d
test bl, 2
je 0x73158f
test bl, 4
jne 0x73158f
lea eax, [ebp + edx*2]
mov ebx, dword [ecx + 0x28c]
cmp ebx, eax
jb 0x731676
mov esi, dword [ecx + 0x290]
sub ebx, eax
sub esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
cmp ebx, 3
jbe 0x73166a
mov eax, dword [ecx + 0x288]
mov eax, dword [esi + eax]
mov dword [esp + 0x70], eax
movzx eax, byte [esp + 0x5d]
test al, 4
je 0x73163c
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x791340]
mov dword [esp], eax
lea eax, [ebp + edx*2]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.005039d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
lea ecx, [0x763a80]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00736d20
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x731653
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
lea edi, [esp + 0xa0]
lea esi, [esp + 0x5c]
call fcn.0046cf36
add esp, 0x94
ret
lea edi, [esp + 0xa0]
lea esi, [esp + 0x5c]
call fcn.0046cf36
add esp, 0x94
ret
mov eax, 3
mov ecx, ebx
call fcn.0046c850
mov ecx, ebx
call fcn.0046c8c0
mov eax, 3
mov ecx, edx
call fcn.0046c850
mov ecx, edx
call fcn.0046c8c0
nop
call fcn.0046b3d0
jmp fcn.007312c0