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

Disassembly:
push 0xffffffffffffffff
push 0x6c2803
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
jmp 0x46a523
mov eax, dword [0x74f090]
mov dword [esp + 0x10], eax
xor edi, edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x50]
push ecx
mov byte [esp + 0x4c], 2
call fcn.004675f0
mov ebx, eax
mov esi, edx
lea edx, [ebx + 0x78]
push 0x450
mov dword [esp + 0x20], edx
call fcn.0062e875
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, edi
mov byte [esp + 0x48], 3
je 0x46a595
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push ecx
push edx
mov ecx, eax
call fcn.004a4f70
mov dword [esp + 0x58], eax
jmp 0x46a599
mov dword [esp + 0x58], edi
mov cl, byte [esp + 0x60]
mov eax, dword [esp + 0x58]
mov edx, dword [0x74048c]
neg cl
push eax
mov eax, dword [0x740494]
push 0x6d1416
push 0x6d1416
mov byte [esp + 0x54], 2
sbb ecx, ecx
and ecx, 0x20
or ecx, 1
push ecx
lea ecx, [eax + edx]
mov edx, dword [0x740488]
lea eax, [esi + 0x46]
add ecx, eax
mov eax, dword [0x740490]
add eax, edx
mov edx, dword [esp + 0x28]
push ecx
add eax, edx
push eax
push edi
push edi
call fcn.005ffb10
mov ecx, eax
call fcn.005fe8a0
push eax
call fcn.005ffb10
mov ecx, eax
call fcn.005ff850
test eax, eax
jge 0x46a61a
mov ecx, dword [esp + 0x58]
cmp ecx, edi
je 0x46a81b
mov edx, dword [ecx]
push 1
call dword [edx]
jmp 0x46a81b
mov eax, dword [esp + 0x5c]
push ebp
push 0x7c
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.0046a410
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push edi
push esi
push ebx
push 0xa
push 0x3c
push eax
push 0x3e8
call fcn.005f2460
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push 0xffcca50a
call dword [edx + 0x9c]
mov eax, dword [esp + 0x28]
add esi, 0x1e
mov dword [esp + 0x54], esi
xor ebp, ebp
xor ebx, ebx
lea esi, [eax + 0x20]
test eax, eax
je 0x46a741
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x46a741
lea ecx, [ebx + 2]
cmp ecx, eax
jae 0x46a741
mov eax, dword [esi + 0x14]
mov edi, 0x10
cmp eax, edi
jb 0x46a6b5
mov eax, dword [esi]
jmp 0x46a6b7
mov eax, esi
push 0xa
push 0
push eax
call fcn.0063224e
mov dword [esp + 0x70], 0
mov ecx, dword [esi + 0x30]
add esp, 0xc
cmp ecx, edi
jb 0x46a6d8
mov edx, dword [esi + 0x1c]
jmp 0x46a6db
lea edx, [esi + 0x1c]
cmp dword [esi - 8], edi
jb 0x46a6e5
mov ecx, dword [esi - 0x1c]
jmp 0x46a6e8
lea ecx, [esi - 0x1c]
lea edi, [esp + 0x64]
push edi
push 0
push edx
mov edx, dword [esp + 0x60]
push 0x64
push 0x64
push edx
push 0
push ecx
mov ecx, dword [esp + 0x7c]
push eax
call fcn.005f2790
mov ecx, dword [esp + 0x64]
mov edx, dword [0x7520dc]
mov eax, dword [ecx]
push edx
call dword [eax + 0xa4]
mov eax, edi
push eax
lea ecx, [esp + 0x38]
call fcn.00469f40
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x54]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
add ebp, edx
add ebx, 3
add esi, 0x54
jmp 0x46a671
test edi, edi
je 0x46a764
mov eax, dword [esp + 0x3c]
sub eax, edi
sar eax, 2
cmp eax, 2
jne 0x46a75a
mov ebx, 0x14
jmp 0x46a769
cmp eax, 3
mov ebx, 0xf
je 0x46a769
mov ebx, 8
test edi, edi
jne 0x46a771
xor eax, eax
jmp 0x46a77a
mov eax, dword [esp + 0x3c]
sub eax, edi
sar eax, 2
lea edx, [eax - 1]
mov eax, dword [esp + 0x1c]
imul edx, ebx
sub eax, edx
sub eax, ebp
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
xor esi, esi
test edi, edi
je 0x46a7ce
mov eax, dword [esp + 0x3c]
sub eax, edi
sar eax, 2
cmp esi, eax
jae 0x46a7ce
mov ecx, dword [edi + esi*4]
mov eax, dword [ecx]
call dword [eax + 0x60]
push eax
call fcn.006045b0
mov ecx, dword [esp + 0x58]
add esp, 4
push ecx
mov ecx, dword [edi + esi*4]
push ebp
call fcn.00601520
mov edx, dword [edi + esi*4]
mov eax, dword [edx + 0x54]
add eax, ebx
add ebp, eax
inc esi
jmp 0x46a791
mov esi, dword [esp + 0x5c]
mov edx, dword [esi]
push 1
mov ecx, esi
mov dword [esi + 0x10], 0x12
call dword [edx + 0x4c]
mov ecx, dword [esp + 0x28]
test ecx, ecx
mov edi, esi
pop ebp
je 0x46a81b
mov edx, dword [esp + 0x28]
cmp ecx, edx
je 0x46a81b
add ecx, 0x14
jmp 0x46a800
mov dword [ecx + 4], 0xf
mov dword [ecx], 0
mov byte [ecx - 0x10], 0
add ecx, 0x1c
lea eax, [ecx - 0x14]
cmp eax, edx
jne 0x46a800
mov ecx, dword [esp + 0x10]
mov dword [0x74f090], ecx
jmp 0x46a82d
mov ecx, dword [esp + 0x40]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 0x14