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

Disassembly:
push 0xffffffffffffffff
push 0x6e7aac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov ecx, dword [ecx + 0x1c]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x20], ecx
push ebx
mov ecx, dword [ecx + 8]
push ebp
push esi
push edi
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x94], eax
call fcn.005497b0
mov al, byte [esp + 0x12]
lea ecx, [esp + 0x1a]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xb8], 0
mov byte [esp + 0x20], al
call fcn.004f6840
mov edi, dword [esp + 0xc0]
mov ebp, dword [esp + 0xc8]
test edi, edi
mov byte [esp + 0xb4], 1
je 0x4666b7
mov edx, dword [esp + 0xc4]
push ebp
push edx
lea edx, [esp + 0x50]
lea ecx, [esp + 0x3c]
call fcn.00463560
mov dl, byte [esp + 0x1c]
mov cl, byte [eax]
mov byte [eax], dl
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 2
push ecx
mov ecx, eax
call fcn.00550b10
lea ecx, [esp + 0x34]
mov byte [esp + 0xb4], 1
call fcn.00556c60
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, eax
mov ebx, eax
je 0x4666b7
mov edx, dword [esi]
lea ecx, [esp + 0x64]
push edx
lea edx, [esp + 0x4c]
call fcn.00463bb0
lea ecx, [esp + 0x64]
call fcn.004e8930
add esi, 4
cmp esi, ebx
jne 0x466697
mov al, byte [esp + 0x1a]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0x58], al
call fcn.004f6840
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 4]
cmp esi, ebx
mov byte [esp + 0xb4], 3
je 0x4667c0
push esi
lea ecx, [esp + 0x4c]
call fcn.00405ad0
test al, al
je 0x4667b5
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub esp, 0xc
mov ebp, dword [esp + 0xd0]
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x54]
mov dword [edx + 4], ecx
lea ecx, [esp + 0x54]
mov dword [edx + 8], ebp
call dword [eax + 0x30]
mov ecx, dword [eax]
shr ecx, 8
and ecx, 3
cmp edi, ecx
je 0x4667b5
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov dword [edx + 4], ecx
lea ecx, [esp + 0x54]
mov dword [edx + 8], ebp
call fcn.0054b540
mov edx, dword [eax]
mov ecx, edi
and ecx, 3
and dh, 0xfc
shl ecx, 8
or ecx, edx
push esi
mov dword [eax], ecx
lea ecx, [esp + 0x58]
call fcn.0040a390
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x14], eax
cmp eax, ecx
je 0x466782
mov edx, eax
mov ecx, esi
call fcn.004052d0
test al, al
jne 0x46677e
mov byte [esp + 0x11], al
jmp 0x4667a2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
push esi
sub eax, ecx
sar eax, 3
lea eax, [ecx + eax*8]
lea ecx, [esp + 0x58]
push eax
call fcn.00630c10
mov dword [esp + 0x14], eax
mov byte [esp + 0x11], 1
lea ecx, [esp + 0x11]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x6c]
call fcn.005ca5a0
add esi, 8
cmp esi, ebx
jne 0x4666e3
mov al, byte [esp + 0x18]
lea ecx, [esp + 0x1b]
push ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0x74], al
call fcn.004f6840
mov dl, byte [esp + 0x1b]
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0xb8], 4
mov byte [esp + 0x38], dl
call fcn.004f6840
lea ecx, [esp + 0x54]
mov bl, 5
push ecx
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x84]
mov byte [esp + 0xb8], bl
call fcn.00463660
mov dl, byte [esp + 0x34]
mov cl, byte [eax]
mov byte [eax], dl
mov byte [esp + 0x34], cl
lea ecx, [esp + 0x34]
mov byte [esp + 0xb4], 6
push ecx
mov ecx, eax
call fcn.00550b10
lea ecx, [esp + 0x80]
mov byte [esp + 0xb4], bl
call fcn.00556c60
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
or edi, 0xffffffff
cmp ecx, eax
mov ebx, eax
mov esi, ecx
je 0x4669f2
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x2c]
mov dword [esp + 0x88], ecx
push edx
push eax
lea edx, [esp + 0x88]
lea ecx, [esp + 0x50]
call fcn.0061d830
test al, al
je 0x466911
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x58]
call fcn.0040a390
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x44], eax
cmp eax, ecx
je 0x4668d4
mov edx, eax
lea ecx, [esp + 0x80]
call fcn.004052d0
test al, al
jne 0x4668d0
mov byte [esp + 0x11], al
jmp 0x4668fb
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x80]
sub eax, ecx
push edx
sar eax, 3
lea eax, [ecx + eax*8]
lea ecx, [esp + 0x58]
push eax
call fcn.00630c10
mov dword [esp + 0x44], eax
mov byte [esp + 0x11], 1
lea ecx, [esp + 0x11]
lea edx, [esp + 0x44]
push ecx
push edx
lea ecx, [esp + 0xa4]
call fcn.005ca5a0
cmp dword [esp + 0x2c], edi
je 0x46697c
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x70]
push eax
call fcn.0040b120
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x6c], eax
cmp eax, ecx
je 0x466942
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax]
cmp ecx, edx
jl 0x466942
mov byte [esp + 0x13], 0
jmp 0x466966
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x2c]
sub eax, ecx
push edx
sar eax, 2
lea eax, [ecx + eax*4]
lea ecx, [esp + 0x74]
push eax
call fcn.00407920
mov dword [esp + 0x6c], eax
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x13]
lea edx, [esp + 0x6c]
push ecx
push edx
lea ecx, [esp + 0xac]
call fcn.005ca5a0
cmp dword [esp + 0x14], edi
je 0x4669e7
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
call fcn.0040b120
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x64], eax
cmp eax, ecx
je 0x4669ad
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
cmp ecx, edx
jl 0x4669ad
mov byte [esp + 0x12], 0
jmp 0x4669d1
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x14]
sub eax, ecx
push edx
sar eax, 2
lea eax, [ecx + eax*4]
lea ecx, [esp + 0x20]
push eax
call fcn.00407920
mov dword [esp + 0x64], eax
mov byte [esp + 0x12], 1
lea ecx, [esp + 0x12]
lea edx, [esp + 0x64]
push ecx
push edx
lea ecx, [esp + 0x9c]
call fcn.005ca5a0
add esi, 8
cmp esi, ebx
jne 0x46685c
lea ecx, [esp + 0x34]
mov byte [esp + 0xb4], 4
call fcn.00556c60
lea ecx, [esp + 0x54]
call fcn.005c79a0
test eax, eax
jne 0x466a2e
lea ecx, [esp + 0x70]
call fcn.004f6860
test eax, eax
jne 0x466a2e
lea ecx, [esp + 0x1c]
call fcn.004f6860
test eax, eax
je 0x466b0d
lea ecx, [esp + 0x1c]
call fcn.004f6860
mov ebx, dword [esp + 0x30]
test eax, eax
je 0x466ab8
lea eax, [esp + 0x19]
lea ecx, [esp + 0x30]
lea esi, [ebx + 0x14]
push eax
xor ebp, ebp
push ecx
mov ecx, esi
mov dword [esp + 0x38], ebp
call fcn.004f6860
push eax
lea ecx, [esp + 0x40]
call fcn.005f1050
mov eax, dword [esp + 0x38]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
mov byte [esp + 0xb8], 7
call fcn.0046fee0
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp esi, edi
je 0x466aa2
mov ecx, dword [esi]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0xc0]
mov edx, dword [ecx]
push eax
call dword [edx + 0x38]
add esi, 4
cmp esi, edi
jne 0x466a87
lea ecx, [esp + 0x34]
mov byte [esp + 0xb4], 4
call fcn.00556c60
or edi, 0xffffffff
jmp 0x466aba
xor ebp, ebp
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x94]
call fcn.0054fa20
mov ecx, dword [ebx + 4]
mov byte [ebx + 0xd], 1
push 1
mov edx, dword [ecx]
call dword [edx + 0x5c]
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xc4]
lea edx, [esp + 0x54]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
lea eax, [esp + 0x70]
lea edx, [esp + 0x34]
lea ecx, [ebx + 0x14]
mov dword [esp + 0x40], eax
call fcn.0046ee70
jmp 0x466b0f
xor ebp, ebp
lea ecx, [esp + 0x70]
mov byte [esp + 0xb4], 3
call fcn.00556c60
lea ecx, [esp + 0x54]
mov byte [esp + 0xb4], 1
call fcn.00556c60
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0xbc], 0
call fcn.004d1a20
mov eax, dword [esp + 0x20]
push eax
call fcn.00652870
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0xb4], edi
call fcn.00549f40
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa8
ret 0x10