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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x460ec018]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
mov ebx, ecx
push esi
xor esi, esi
push edi
mov ecx, dword [ebx + 0x44]
cmp dword [ecx + 0x1c], esi
je 0x460ce0a7
push dword [ebp + 8]
call fcn.460933b2
jmp 0x460ce64c
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x10], ecx
mov eax, dword [ecx + 0x60]
test eax, 0x10000
jne 0x460ce64c
test al, 8
jne 0x460ce0d6
cmp dword [ebp + 8], esi
je 0x460ce64c
or eax, 0x8000
mov dword [ecx + 0x60], eax
jmp 0x460ce64c
call fcn.460a03a7
lea ecx, [ebx + 0xc]
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], esi
call fcn.460d2e3b
push dword [ebx + 0x44]
lea ecx, [esp + 0x60]
mov dword [esp + 0x1c], eax
call fcn.460b3cbd
mov edi, dword [ebx + 0x44]
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
mov dword [esp + 0x14], eax
mov esi, dword [ecx + 0x90]
mov ecx, esi
call dword [0x460ed508]
mov ecx, edi
call esi
mov esi, dword [esp + 0x10]
and dword [esp + 0x1c], 0
and dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
test byte [esi + 0x60], 0x80
je 0x460ce221
mov ecx, dword [ebx + 0x60]
test cl, 8
jne 0x460ce14b
cmp dword [ebp + 0xc], 0
je 0x460ce221
or ecx, 8
test byte [ebx + 0x42], 0x10
mov dword [ebx + 0x60], ecx
jne 0x460ce221
test ecx, 0xa00
jne 0x460ce221
test cl, 0x20
jne 0x460ce221
or ecx, 0x200
mov dword [ebx + 0x60], ecx
mov ecx, ebx
call fcn.460d0456
cmp dword [esp + 0x18], 0
jne 0x460ce21a
test byte [esi + 0x6c], 1
je 0x460ce21a
lea edi, [ebx + 0x20]
mov ecx, edi
call fcn.460cd64f
test eax, eax
je 0x460ce21a
cmp dword [ebx + 0x28], 0
je 0x460ce1ba
push dword [edi + 4]
mov ecx, dword [edi]
call fcn.460864a0
mov eax, dword [eax]
sub eax, dword [edi + 8]
jne 0x460ce21a
mov ecx, edi
call fcn.460cd601
lea ecx, [ebx + 4]
call fcn.460c3222
xor ecx, ecx
inc ecx
movzx eax, byte [eax + 4]
sub eax, 0xb1
cmp ecx, eax
mov ecx, edi
sbb eax, eax
inc eax
mov dword [esp + 0x3c], eax
call fcn.460cd626
lea ecx, [ebx + 4]
call fcn.460c3222
mov edx, dword [esp + 0x3c]
xor edi, edi
inc edi
movzx eax, byte [eax + 4]
sub eax, 0xb1
cmp edi, eax
sbb eax, eax
inc eax
cmp edx, eax
je 0x460ce21a
movzx ecx, word [0x460ec780]
call fcn.460e8f3a
cmp edx, eax
je 0x460ce21a
mov dword [esp + 0x18], edi
and dword [ebx + 0x60], 0xfffffdff
mov edi, dword [esi + 0x1c]
lea ecx, [esp + 0x84]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x460ed508]
mov ecx, edi
call esi
mov ecx, dword [ebx + 0x44]
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.4609256b
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x30], ecx
cmp ecx, dword [esp + 0x88]
jg 0x460ce26e
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x80]
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x90]
jl 0x460ce28d
mov eax, dword [esp + 0x90]
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x7c]
sub eax, ecx
sub edx, dword [esp + 0x74]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x3c], edx
mov edx, 0x2000
mov dword [esp + 0x50], eax
test ecx, ecx
je 0x460ce3a1
mov edx, dword [esp + 0x48]
xor edi, edi
mov esi, dword [esp + 0x48]
inc edi
shr edx, 6
shr esi, 7
and edx, edi
and esi, edi
mov dword [esp + 0x28], edx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x38], esi
mov eax, dword [edi + 0x60]
test eax, 0x80000
je 0x460ce2e3
test dword [ebx + 0x60], 0x2000
jne 0x460ce2ee
test al, al
js 0x460ce2eb
test al, 0x20
jne 0x460ce2f2
xor ecx, ecx
inc ecx
test ecx, ecx
jne 0x460ce31c
test edx, edx
jne 0x460ce2fa
test esi, esi
je 0x460ce31c
or eax, 0x8000
mov dword [edi + 0x60], eax
test eax, 0x80000
je 0x460ce312
test dword [ebx + 0x60], 0x1000
jne 0x460ce31c
and dword [esp + 0x38], 0
and dword [esp + 0x28], 0
mov edx, 0x2000
and dword [ebx + 0x60], 0xffffefff
cmp dword [ebx + 0x38], 0
jne 0x460ce34e
mov eax, dword [ebx + 0x1c]
test word [eax + 0x64], dx
je 0x460ce34e
lea ecx, [ebx + 4]
call fcn.460c323b
mov ecx, 0x100
test word [eax + 2], cx
jne 0x460ce613
push dword [esp + 0x18]
lea eax, [esp + 0x60]
mov ecx, ebx
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.460cdefa
test eax, eax
je 0x460ce613
mov ecx, ebx
call fcn.460d2451
test eax, eax
je 0x460ce3d4
mov ecx, ebx
call fcn.460d1957
mov esi, dword [esp + 0x74]
movzx eax, byte [eax + 0x10]
cmp eax, 3
jne 0x460ce3aa
mov eax, dword [esp + 0x7c]
add eax, esi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
jmp 0x460ce3b3
mov edi, dword [esp + 0x10]
jmp 0x460ce321
cmp eax, 2
jne 0x460ce3b3
mov esi, dword [esp + 0x7c]
sub esi, dword [esp + 0x14]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], esi
call fcn.460b3e72
mov ecx, dword [esp + 0x58]
movsx eax, word [eax + 0xc]
add ecx, eax
mov dword [esp + 0x58], ecx
jmp 0x460ce3dc
mov ecx, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
lea eax, [esp + 0x44]
mov dword [esp + 0x4c], ecx
push eax
mov ecx, ebx
mov dword [ebx + 0x50], esi
call fcn.460ce7db
mov esi, dword [esp + 0x44]
mov edi, eax
sub edi, esi
mov dword [esp + 0x2c], esi
xor eax, eax
mov dword [esp + 0x18], edi
mov edx, esi
mov ecx, edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x70], ecx
cmp dword [esp + 0x5c], eax
jne 0x460ce419
cmp dword [esp + 0x6c], eax
jmp 0x460ce424
mov esi, dword [esp + 0x5c]
cmp dword [esi + 4], eax
mov esi, dword [esp + 0x44]
setne al
test eax, eax
je 0x460ce469
lea ecx, [esp + 0x5c]
call fcn.460b3e72
cmp word [eax + 0xe], 0xffff
je 0x460ce461
lea ecx, [esp + 0x5c]
call fcn.460b3e72
lea ecx, [esp + 0x5c]
movsx eax, word [eax + 0xe]
mov dword [esp + 0x40], eax
call fcn.460b3e72
mov edx, dword [esp + 0x40]
movsx ecx, word [eax + 0xc]
sub ecx, edx
jmp 0x460ce469
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x40]
lea eax, [esi + edi]
test eax, eax
jne 0x460ce478
mov edi, ecx
mov dword [esp + 0x18], edi
jmp 0x460ce486
cmp edi, ecx
jl 0x460ce482
mov edi, ecx
mov dword [esp + 0x18], ecx
cmp esi, edx
jl 0x460ce48c
mov esi, edx
mov dword [esp + 0x2c], esi
cmp dword [esp + 0x28], 0
je 0x460ce4fa
mov eax, ecx
sub edx, esi
sub eax, edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
cmp edi, eax
jle 0x460ce4bd
xor esi, esi
mov dword [esp + 0x18], eax
and dword [esp + 0x1c], esi
and dword [esp + 0x20], esi
mov dword [esp + 0x2c], esi
jmp 0x460ce4fa
lea ecx, [esi + edi]
cmp ecx, eax
jle 0x460ce4d3
mov esi, eax
sub esi, edi
and dword [esp + 0x1c], 0
mov dword [esp + 0x2c], esi
jmp 0x460ce4e5
mov esi, dword [esp + 0x1c]
add ecx, esi
cmp ecx, eax
jle 0x460ce4ec
sub eax, ecx
add esi, eax
mov dword [esp + 0x1c], esi
and dword [esp + 0x20], 0
jmp 0x460ce4fa
add ecx, edx
cmp ecx, eax
jle 0x460ce4fa
sub eax, ecx
add edx, eax
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x74]
sub eax, edi
add eax, dword [ebx + 0x50]
test byte [esp + 0x48], 0x80
mov dword [ebx + 0x58], eax
jne 0x460ce538
mov ecx, dword [ebx + 0x44]
call fcn.46093549
mov edi, dword [esp + 0x74]
test eax, eax
jne 0x460ce538
cmp dword [ebx + 0x50], edi
jge 0x460ce52b
mov dword [ebx + 0x50], edi
jmp 0x460ce538
mov eax, dword [esp + 0x7c]
cmp dword [ebx + 0x50], eax
jle 0x460ce538
dec eax
mov dword [ebx + 0x50], eax
mov eax, dword [esp + 0x10]
and dword [ebx + 0x60], 0xfffffeff
test byte [eax + 0x60], 0x80
je 0x460ce563
mov edi, dword [eax + 0x1c]
push 0
mov eax, dword [edi]
mov esi, dword [eax + 0x30]
mov ecx, esi
call dword [0x460ed508]
mov ecx, edi
call esi
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x18]
lea eax, [ecx + esi]
add eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x30]
jle 0x460ce665
mov eax, esi
sub eax, edx
sub eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x34]
jge 0x460ce665
cmp eax, dword [esp + 0x30]
jge 0x460ce5b5
cmp dword [esp + 0x28], 0
jne 0x460ce680
mov eax, dword [esp + 0x30]
mov edx, esi
sub edx, eax
cmp esi, eax
jge 0x460ce5b5
add ecx, edx
mov esi, eax
xor edx, edx
lea eax, [ecx + esi]
add eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x34]
jle 0x460ce5df
cmp dword [esp + 0x28], 0
jne 0x460ce680
mov eax, dword [esp + 0x34]
mov ecx, eax
sub ecx, esi
cmp esi, eax
jle 0x460ce5df
add edx, ecx
mov esi, eax
xor ecx, ecx
test edx, edx
jg 0x460ce5e7
test ecx, ecx
jle 0x460ce60f
mov eax, dword [ebx + 0x50]
cmp eax, edi
jl 0x460ce608
cmp eax, dword [esp + 0x7c]
jg 0x460ce608
mov edi, dword [esp + 0x10]
lea eax, [ecx + edx]
sub esi, edx
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x54], esi
xor esi, esi
inc esi
jmp 0x460ce624
cmp dword [esp + 0x38], 0
jne 0x460ce675
mov edi, dword [esp + 0x10]
xor esi, esi
mov eax, 0xffff8300
inc esi
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x5c], esi
test byte [edi + 0x60], 0x80
je 0x460ce64c
test byte [ebx + 0x60], 8
je 0x460ce64c
mov ecx, ebx
call fcn.460d1f13
push esi
mov edi, dword [edi + 0x1c]
mov eax, dword [edi]
mov esi, dword [eax + 0x30]
mov ecx, esi
call dword [0x460ed508]
mov ecx, edi
call esi
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.460ea320
mov esp, ebp
pop ebp
ret 8
cmp dword [esp + 0x38], 0
jne 0x460ce675
cmp dword [esp + 0x28], 0
jne 0x460ce680
jmp 0x460ce60f
cmp dword [esp + 0x28], 0
je 0x460ce709
cmp dword [ebx + 0x18], 0
jne 0x460ce68d
and dword [esp + 0x24], 0
jmp 0x460ce709
mov edi, esi
sub edi, edx
mov edx, dword [esp + 0x30]
mov eax, edi
sub eax, dword [esp + 0x1c]
cmp eax, edx
jge 0x460ce6ab
sub edi, edx
sub edi, dword [esp + 0x1c]
add dword [esp + 0x24], edi
jmp 0x460ce709
mov edi, dword [esp + 0x20]
lea eax, [ecx + esi]
mov edx, dword [esp + 0x34]
add eax, edi
cmp eax, edx
jle 0x460ce709
sub ecx, edx
add ecx, esi
add ecx, edi
add dword [esp + 0x24], ecx
lea ecx, [esp + 0x5c]
call fcn.460b3e72
movsx eax, word [eax + 0xc]
cmp eax, dword [esp + 0x50]
jge 0x460ce709
lea ecx, [esp + 0x5c]
call fcn.460b3e72
mov edi, dword [ebx + 0x44]
mov edx, dword [esp + 0x24]
push edx
movsx eax, word [eax + 0xc]
mov ecx, dword [edi]
add eax, esi
push eax
mov esi, dword [ecx + 0xac]
mov ecx, esi
call dword [0x460ed508]
mov ecx, edi
call esi
mov dword [esp + 0x24], eax
cmp dword [esp + 0x38], 0
je 0x460ce75b
mov ecx, dword [ebx + 0x50]
mov eax, dword [esp + 0x74]
cmp ecx, eax
jge 0x460ce744
mov esi, dword [esp + 0x14]
sub ecx, eax
add esi, ecx
mov dword [esp + 0x14], esi
test esi, esi
jle 0x460ce75b
mov eax, dword [esp + 0x3c]
push 0xfffffffffffffffd
cdq
pop ecx
idiv ecx
add esi, eax
mov dword [esp + 0x14], esi
jns 0x460ce75b
and dword [esp + 0x14], 0
jmp 0x460ce75b
cmp ecx, dword [esp + 0x7c]
jle 0x460ce75b
sub ecx, eax
mov eax, dword [esp + 0x14]
sub ecx, dword [esp + 0x3c]
inc eax
add eax, ecx
mov dword [esp + 0x14], eax
mov edi, dword [ebx + 0x44]
mov eax, dword [edi]
mov esi, dword [eax + 0x90]
mov ecx, esi
call dword [0x460ed508]
mov ecx, edi
call esi
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
cmp edx, eax
jne 0x460ce78a
mov eax, dword [ebx + 0x44]
cmp ecx, dword [eax + 0x30]
je 0x460ce64c
mov edi, dword [ebx + 0x44]
push 0
push 0
push edx
mov eax, dword [edi]
push ecx
mov esi, dword [eax + 0xa8]
mov ecx, esi
call dword [0x460ed508]
mov ecx, edi
call esi
test eax, eax
jne 0x460ce7d3
mov edi, dword [esp + 0x10]
test byte [edi + 0x60], 0x80
je 0x460ce64c
test byte [ebx + 0x60], 8
je 0x460ce64c
mov ecx, ebx
call fcn.460d1f13
xor ecx, ecx
inc ecx
push ecx
jmp 0x460ce638
xor eax, eax
inc eax
jmp 0x460ce64e