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

Disassembly:
push 0xffffffffffffffff
push 0x6efb63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
jmp 0x46ceb3
mov eax, dword [0x780688]
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.00469bc0
mov ebx, eax
mov esi, edx
lea edx, [ebx + 0x78]
push 0x450
mov dword [esp + 0x20], edx
call fcn.0065b835
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, edi
mov byte [esp + 0x48], 3
je 0x46cf25
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push ecx
push edx
mov ecx, eax
call fcn.004ab5a0
mov dword [esp + 0x58], eax
jmp 0x46cf29
mov dword [esp + 0x58], edi
mov cl, byte [esp + 0x60]
mov eax, dword [esp + 0x58]
mov edx, dword [0x7718a4]
neg cl
push eax
mov eax, dword [0x7718ac]
push 0x6fe416
push 0x6fe416
mov byte [esp + 0x54], 2
sbb ecx, ecx
and ecx, 0x20
or ecx, 1
push ecx
lea ecx, [eax + edx]
mov edx, dword [0x7718a0]
lea eax, [esi + 0x46]
add ecx, eax
mov eax, dword [0x7718a8]
add eax, edx
mov edx, dword [esp + 0x28]
push ecx
add eax, edx
push eax
push edi
push edi
call fcn.0062c610
mov ecx, eax
call fcn.0062b3a0
push eax
call fcn.0062c610
mov ecx, eax
call fcn.0062c350
test eax, eax
jge 0x46cfaa
mov ecx, dword [esp + 0x58]
cmp ecx, edi
je 0x46d1ab
mov edx, dword [ecx]
push 1
call dword [edx]
jmp 0x46d1ab
mov eax, dword [esp + 0x5c]
push ebp
push 0x7c
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.0046cda0
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.0061ef40
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 0x46d0d1
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 0x46d0d1
lea ecx, [ebx + 2]
cmp ecx, eax
jae 0x46d0d1
mov eax, dword [esi + 0x14]
mov edi, 0x10
cmp eax, edi
jb 0x46d045
mov eax, dword [esi]
jmp 0x46d047
mov eax, esi
push 0xa
push 0
push eax
call fcn.0065f45e
mov dword [esp + 0x70], 0
mov ecx, dword [esi + 0x30]
add esp, 0xc
cmp ecx, edi
jb 0x46d068
mov edx, dword [esi + 0x1c]
jmp 0x46d06b
lea edx, [esi + 0x1c]
cmp dword [esi - 8], edi
jb 0x46d075
mov ecx, dword [esi - 0x1c]
jmp 0x46d078
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.0061f270
mov ecx, dword [esp + 0x64]
mov edx, dword [0x78375c]
mov eax, dword [ecx]
push edx
call dword [eax + 0xa4]
mov eax, edi
push eax
lea ecx, [esp + 0x38]
call fcn.0046c8d0
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 0x46d001
test edi, edi
je 0x46d0f4
mov eax, dword [esp + 0x3c]
sub eax, edi
sar eax, 2
cmp eax, 2
jne 0x46d0ea
mov ebx, 0x14
jmp 0x46d0f9
cmp eax, 3
mov ebx, 0xf
je 0x46d0f9
mov ebx, 8
test edi, edi
jne 0x46d101
xor eax, eax
jmp 0x46d10a
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 0x46d15e
mov eax, dword [esp + 0x3c]
sub eax, edi
sar eax, 2
cmp esi, eax
jae 0x46d15e
mov ecx, dword [edi + esi*4]
mov eax, dword [ecx]
call dword [eax + 0x60]
push eax
call fcn.00631070
mov ecx, dword [esp + 0x58]
add esp, 4
push ecx
mov ecx, dword [edi + esi*4]
push ebp
call fcn.0062dff0
mov edx, dword [edi + esi*4]
mov eax, dword [edx + 0x54]
add eax, ebx
add ebp, eax
inc esi
jmp 0x46d121
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 0x46d1ab
mov edx, dword [esp + 0x28]
cmp ecx, edx
je 0x46d1ab
add ecx, 0x14
jmp 0x46d190
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 0x46d190
mov ecx, dword [esp + 0x10]
mov dword [0x780688], ecx
jmp 0x46d1bd
mov ecx, dword [esp + 0x40]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 0x14