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

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, ecx
mov eax, 0x88888889
push esi
push edi
mov dword [esp + 0x14], ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp]
sub esi, edi
imul esi
add edx, esi
mov esi, dword [esp + 0x20]
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jbe 0x46a2a9
cmp esi, 0x2222222
ja 0x46a440
mov edx, ecx
mov eax, 0x2222222
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x46a206
mov ebx, 0x2222222
jmp 0x46a20e
lea ebx, [edx + ecx]
cmp ebx, esi
cmovb ebx, esi
test edi, edi
je 0x46a26b
mov esi, dword [ebp + 4]
cmp edi, esi
je 0x46a22e
nop dword [eax]
mov ecx, edi
call fcn.00467b00
add edi, 0x78
cmp edi, esi
jne 0x46a220
mov esi, dword [ebp]
mov eax, 0x88888889
mov ecx, dword [ebp + 8]
sub ecx, esi
imul ecx
add edx, ecx
mov ecx, ebp
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0041f4f0
mov esi, dword [esp + 0x20]
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
push eax
push ebp
call fcn.0041a0a0
mov ecx, ebx
mov dword [ebp], eax
shl ecx, 4
push ebp
push dword [esp + 0x30]
sub ecx, ebx
mov dword [ebp + 4], eax
push esi
push eax
lea ecx, [eax + ecx*8]
mov dword [ebp + 8], ecx
call fcn.00465530
add esp, 0x18
mov dword [ebp + 4], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov ebx, dword [ebp + 4]
mov eax, 0x88888889
mov ecx, ebx
mov dword [esp + 0x10], ebx
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
cmp esi, eax
jbe 0x46a404
cmp edi, ebx
mov ebx, dword [esp + 0x24]
je 0x46a3e7
lea ecx, [ebx + 4]
lea ebp, [ebx + 0x1c]
lea esi, [edi + 0x60]
mov eax, dword [ebx]
mov dword [edi], eax
lea eax, [esi - 0x5c]
cmp eax, ecx
je 0x46a309
cmp dword [ecx + 0x14], 0xf
mov eax, ecx
jbe 0x46a2fd
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [esi - 0x5c]
push eax
call fcn.0043f1c0
lea eax, [esi - 0x44]
cmp eax, ebp
je 0x46a327
cmp dword [ebp + 0x14], 0xf
mov eax, ebp
jbe 0x46a31b
mov eax, dword [ebp]
push dword [ebp + 0x10]
lea ecx, [esi - 0x44]
push eax
call fcn.0043f1c0
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x3c]
mov dword [esi - 0x28], eax
mov dword [esi - 0x24], ecx
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x44]
mov dword [esi - 0x20], eax
mov dword [esi - 0x1c], ecx
movzx eax, byte [ebx + 0x48]
mov byte [esi - 0x18], al
mov eax, dword [ebx + 0x4c]
mov dword [esi - 0x14], eax
mov eax, dword [ebx + 0x50]
mov dword [esi - 0x10], eax
mov eax, dword [ebx + 0x54]
mov dword [esi - 0xc], eax
cmp byte [esi - 8], 0
mov al, byte [ebx + 0x58]
je 0x46a3a4
mov ecx, dword [esi]
test al, al
je 0x46a389
cmp ecx, dword [ebx + 0x60]
je 0x46a3b6
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x46a37d
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebx + 0x60]
mov dword [esi], ecx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x46a3b6
test ecx, ecx
je 0x46a39e
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x46a39e
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [esi - 8], 0
jmp 0x46a3b6
test al, al
je 0x46a3b6
mov ecx, dword [ebx + 0x60]
mov dword [esi], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esi - 8], 1
mov eax, dword [ebx + 0x68]
add edi, 0x78
mov ecx, dword [ebx + 0x6c]
mov dword [esi + 0xc], ecx
lea ecx, [ebx + 4]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x70]
mov dword [esi + 0x10], eax
add esi, 0x78
cmp edi, dword [esp + 0x10]
jne 0x46a2e8
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push ebp
push ebx
sub esi, eax
push esi
push dword [ebp + 4]
call fcn.00465530
add esp, 0x10
mov dword [ebp + 4], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push dword [esp + 0x24]
mov eax, esi
shl eax, 4
sub eax, esi
lea ebx, [edi + eax*8]
push ebx
push edi
call fcn.00465880
mov edi, dword [ebp + 4]
add esp, 0xc
mov esi, ebx
cmp ebx, edi
je 0x46a433
mov ecx, esi
call fcn.00467b00
add esi, 0x78
cmp esi, edi
jne 0x46a425
pop edi
pop esi
mov dword [ebp + 4], ebx
pop ebp
pop ebx
add esp, 0xc
ret 8
call fcn.00417f20
int3