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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x460ec018]
xor eax, esp
mov dword [esp + 0xc8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
push edi
test esi, esi
je 0x460e2283
and dword [esi], 0
xor edx, edx
mov ebx, dword [ebp + 0x14]
inc edx
test ebx, ebx
jne 0x460e1f4c
mov ebx, edx
mov ecx, dword [ebp + 0x18]
lea edi, [ebx + 1]
and dword [esp + 0x14], 0
and dword [esp + 0x20], 0
and dword [esp + 0x10], 0
test cl, 3
push 0xc
pop eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], eax
push 0
pop eax
setne al
mov dword [esp + 0x44], edx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x54], eax
mov eax, ecx
shr eax, 2
and eax, edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x5c], eax
test cl, 0xf8
lea eax, [esp + 0x20]
mov dword [esp + 0x58], 4
mov dword [esp + 0x60], eax
push 0
pop eax
setne al
mov dword [esp + 0x64], 0x14
mov dword [esp + 0x68], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x6c], eax
mov eax, ecx
and al, 1
mov dword [esp + 0x7c], 8
movzx eax, al
neg eax
mov dword [esp + 0x88], 1
push 2
sbb eax, eax
and eax, edi
mov dword [esp + 0x78], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x7c], eax
mov eax, ecx
pop edx
and al, dl
mov dword [esp + 0x70], edx
movzx eax, al
neg eax
mov dword [esp + 0x94], edx
sbb eax, eax
and eax, edi
mov dword [esp + 0x80], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x84], eax
mov eax, ecx
and al, 4
movzx eax, al
neg eax
sbb eax, eax
and eax, edi
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x90], eax
test cl, 8
je 0x460e2058
lea eax, [ebx + 1]
imul eax, eax, 3
push 2
cdq
sub eax, edx
sar eax, 1
add eax, 0x10
mov dword [esp + 0x9c], eax
pop edx
jmp 0x460e2060
and dword [esp + 0x98], 0
mov dword [esp + 0xa0], edx
lea eax, [esp + 0x2c]
mov dword [esp + 0x9c], eax
test cl, 0x10
je 0x460e2091
lea eax, [ebx + 1]
imul eax, eax, 3
push 2
cdq
sub eax, edx
sar eax, 1
add eax, 0x10
mov dword [esp + 0xa8], eax
pop edx
jmp 0x460e2099
and dword [esp + 0xa4], 0
lea eax, [esp + 0x30]
mov dword [esp + 0xac], edx
mov dword [esp + 0xa8], eax
mov eax, ecx
and al, 0x20
mov dword [esp + 0xb8], 4
movzx eax, al
neg eax
sbb eax, eax
and eax, edi
mov dword [esp + 0xb0], eax
lea eax, [esp + 0x34]
mov dword [esp + 0xb4], eax
test cl, 0x40
je 0x460e20f1
lea eax, [ebx + 1]
imul eax, eax, 3
cdq
sub eax, edx
sar eax, 1
add eax, 0x10
mov dword [esp + 0xbc], eax
jmp 0x460e20f9
and dword [esp + 0xbc], 0
mov dword [esp + 0xc4], 8
lea eax, [esp + 0x38]
mov dword [esp + 0xc0], eax
test cl, cl
jns 0x460e212a
lea eax, [ebx + 1]
imul eax, eax, 3
cdq
sub eax, edx
sar eax, 1
add eax, 0x10
mov dword [esp + 0xc8], eax
jmp 0x460e2132
and dword [esp + 0xc8], 0
and dword [esp + 0x18], 0
lea eax, [esp + 0x3c]
lea edx, [esp + 0x44]
mov dword [esp + 0xcc], eax
xor edi, edi
mov dword [esp + 0x1c], edx
mov eax, dword [edx - 4]
mul dword [edx]
test edx, edx
ja 0x460e2280
jb 0x460e2164
cmp eax, 0xffffffff
ja 0x460e2280
add eax, 3
and eax, 0xfffffffc
add eax, edi
cmp eax, edi
jb 0x460e2174
mov ecx, eax
jmp 0x460e2177
or ecx, 0xffffffff
cmp eax, edi
jb 0x460e2280
cmp ecx, 0x7fffffff
ja 0x460e2280
mov eax, dword [esp + 0x18]
mov edi, ecx
mov edx, dword [esp + 0x1c]
inc eax
add edx, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
cmp eax, 0xc
jl 0x460e214c
cmp ecx, 0x200
jle 0x460e21b9
xor edx, edx
call fcn.460e9c80
mov edx, eax
jmp 0x460e21bd
mov edx, dword [esp + 0x24]
test edx, edx
je 0x460e2280
mov edi, edx
lea ecx, [esp + 0x48]
xor eax, eax
push 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
cmp dword [ecx - 4], 0
mov eax, dword [ecx]
jle 0x460e21ee
mov dword [eax], edx
mov eax, dword [ecx - 8]
imul eax, dword [ecx - 4]
add eax, 3
and eax, 0xfffffffc
add edx, eax
jmp 0x460e21f1
and dword [eax], 0
add ecx, 0xc
sub edi, 1
jne 0x460e21d3
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x460e2219
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 4], ebx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x460e2227
mov eax, dword [esp + 0x28]
mov dword [ecx], eax
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x460e2261
mov eax, dword [esp + 0x2c]
mov dword [ecx], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov dword [ecx + 8], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x10], eax
mov edx, dword [esi]
xor eax, eax
mov ecx, dword [esp + 0x14]
inc eax
mov dword [edx], ecx
mov edx, dword [esi]
mov ecx, dword [esp + 0x20]
mov dword [edx + 4], ecx
mov edx, dword [esi]
mov ecx, dword [esp + 0x10]
mov dword [edx + 8], ecx
jmp 0x460e2285
and dword [esi], 0
xor eax, eax
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.460ea320
mov esp, ebp
pop ebp
ret 0x14