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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [ecx + 0x1b8]
push ebx
push esi
push edi
mov edi, dword [ecx]
mov esi, edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], eax
test byte [edi + 0x40], 1
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], edi
jne 0x4641a1
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
lea ecx, [ecx + ecx*4]
shl ecx, 4
mov dword [esp + 0x34], ecx
add ecx, 8
add ecx, eax
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x14], ecx
mov edx, dword [ecx + 0x30]
mov ebx, dword [ecx + 0x14]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp + 0xc]
je 0x4640cd
test edx, edx
jne 0x4641a1
cmp dword [eax], 1
jg 0x4641a1
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4640a5
test dword [eax + 4], 0x200000
jne 0x4641a1
mov ecx, dword [esi]
call fcn.0043ddc0
test eax, 0x200000
jne 0x4641a1
mov ecx, dword [esi + 0x2c]
call fcn.0043ddc0
test eax, 0x200000
jne 0x4641a1
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x4640de
cmp dword [esi + 0x38], 0
jne 0x4641a1
cmp dword [ebx + 0x3c], 0
jne 0x4641a1
mov ecx, dword [esi + 8]
test ecx, 0x100
je 0x4640fb
test eax, eax
jne 0x4641a1
mov edi, dword [ebx + 0x1c]
cmp dword [edi], 0
mov edi, dword [esp + 0x10]
je 0x4641a1
test byte [ebx + 8], 1
jne 0x4641a1
test eax, eax
je 0x46412a
mov edi, dword [esp + 0x1c]
cmp dword [edi], 1
mov edi, dword [esp + 0x10]
jg 0x4641a1
test edx, edx
jne 0x4641a1
mov edx, ecx
and edx, 1
je 0x464137
cmp dword [ebp + 0x10], 0
jne 0x4641a1
cmp dword [esi + 0x2c], 0
je 0x464143
cmp dword [ebx + 0x2c], 0
jne 0x4641a1
cmp dword [ebp + 0xc], 0
je 0x46414f
cmp dword [ebx + 0x2c], 0
jne 0x4641a1
test eax, eax
je 0x464161
cmp dword [esi + 0x20], 0
jne 0x4641a1
test eax, eax
je 0x464161
test edx, edx
jne 0x4641a1
test dword [ebx + 8], 0x3000
jne 0x4641a1
test ecx, 0x2000
je 0x464178
cmp dword [ebx + 0x30], 0
jne 0x4641a1
mov eax, dword [esp + 0x14]
test byte [eax + 0x24], 0x20
je 0x4641aa
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x28], 1
cmp dword [eax], 1
jg 0x4641a1
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x4641a1
mov eax, dword [eax + 0x18]
cmp dword [eax + 0x38], ecx
je 0x4641ad
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
cmp dword [ebx + 0x30], 0
lea eax, [ebx + 0x30]
mov dword [esp + 0x2c], eax
je 0x464211
cmp dword [ebx + 0x2c], 0
jne 0x4641a1
test ecx, ecx
jne 0x4641a1
test edx, edx
jne 0x4641a1
mov eax, dword [esp + 0x1c]
cmp dword [eax], 1
jne 0x4641a1
test byte [ebx + 8], 9
jne 0x4641a1
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x4641e4
cmp byte [ebx + 4], 0x74
jne 0x4641a1
mov eax, dword [ebx + 0x1c]
cmp dword [eax], 1
jl 0x4641a1
mov ebx, ecx
test ebx, ebx
jne 0x4641d1
mov ebx, dword [esi + 0x2c]
test ebx, ebx
je 0x464211
mov edx, dword [ebx]
test edx, edx
jle 0x464211
xor eax, eax
cmp word [ebx + eax + 0x1c], 0
je 0x4641a1
inc ecx
add eax, 0x18
cmp ecx, edx
jl 0x464201
mov eax, dword [esp + 0x14]
mov edx, 0x15
mov ebx, dword [esp + 0x20]
mov ecx, ebx
push 0
push 0
mov eax, dword [eax + 8]
push 0
mov dword [ebx + 0x1b8], eax
call fcn.00446a70
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov dword [ebx + 0x1b8], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
test eax, eax
je 0x4642f3
mov eax, dword [esp + 0x18]
mov edx, eax
mov ebx, dword [esi + 0x2c]
mov edi, dword [esi + 0x38]
mov esi, dword [esi + 0x3c]
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x10]
push 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
call fcn.0043d7b0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ecx + 0x3c], esi
mov esi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x38], edi
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x1c], ecx
mov byte [esi + 4], 0x74
test eax, eax
jne 0x4642be
mov eax, dword [esp + 0x2c]
jmp 0x4642cf
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x30], ecx
test ecx, ecx
je 0x4642cc
mov dword [ecx + 0x34], eax
mov dword [eax + 0x34], esi
mov edi, dword [esp + 0x10]
mov dword [esi + 0x30], eax
cmp byte [edi + 0x45], 0
jne 0x4645d0
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x464253
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x14]
mov ebx, eax
mov edx, dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], ebx
call fcn.00409f90
mov eax, dword [esp + 0x14]
mov ecx, edi
mov edx, dword [eax + 8]
call fcn.00409f90
mov eax, dword [esp + 0x14]
mov ecx, edi
mov edx, dword [eax + 0xc]
call fcn.00409f90
mov edi, dword [esp + 0x14]
mov edx, dword [edi + 0x10]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
test edx, edx
je 0x464381
mov eax, dword [edx + 0x20]
cmp eax, 1
jne 0x464376
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x78]
test eax, eax
cmovne ecx, eax
mov eax, dword [ecx + 0x1c8]
mov dword [edx + 0x4c], eax
mov dword [ecx + 0x1c8], edx
jmp 0x46437a
dec eax
mov dword [edx + 0x20], eax
mov dword [edi + 0x10], 0
mov eax, dword [ebx + 0x1c]
mov ecx, dword [esi + 0x1c]
mov byte [esp + 0xf], 0
mov dword [esp + 0x2c], eax
mov edi, dword [eax]
mov dword [esp + 0x38], edi
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x4643ab
mov eax, dword [esp + 0x14]
mov al, byte [eax + 0x24]
mov byte [esp + 0xf], al
jmp 0x4643ce
mov ecx, dword [esp + 0x10]
xor edx, edx
push 0
push 0
call fcn.0044c030
mov ecx, eax
add esp, 8
mov dword [esp + 0x1c], ecx
mov dword [esi + 0x1c], ecx
test ecx, ecx
je 0x4645b8
cmp edi, 1
jle 0x464404
mov eax, dword [ebp + 8]
mov edx, ecx
mov ecx, dword [esp + 0x10]
inc eax
push eax
lea eax, [edi - 1]
push eax
call fcn.0044bed0
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x10]
mov dword [esi + 0x1c], ecx
mov dword [esp + 0x1c], ecx
cmp byte [eax + 0x45], 0
je 0x464408
mov edi, eax
jmp 0x4645bc
mov eax, dword [esp + 0x10]
test edi, edi
jle 0x464483
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
add edi, 8
mov ebx, dword [esp + 0x38]
add esi, 8
add edi, ecx
mov edx, dword [edi + 0x38]
mov ecx, eax
call fcn.0044bd20
movups xmm0, xmmword [esi]
push 0x50
push 0
movups xmmword [edi], xmm0
push esi
movups xmm0, xmmword [esi + 0x10]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [esi + 0x30]
movups xmmword [edi + 0x30], xmm0
movups xmm0, xmmword [esi + 0x40]
movups xmmword [edi + 0x40], xmm0
mov eax, dword [esi + 0x30]
mov dword [esp + 0x30], eax
call fcn.004a4720
mov eax, dword [esp + 0x1c]
lea edi, [edi + 0x50]
add esp, 0xc
add esi, 0x50
sub ebx, 1
jne 0x464424
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
mov al, byte [esp + 0xf]
mov byte [edx + ecx + 0x2c], al
mov edx, dword [ebx + 0x2c]
test edx, edx
je 0x4644b8
xor ecx, ecx
cmp dword [edx], ecx
jle 0x4644ae
lea eax, [edx + 0x1c]
nop
xor edi, edi
lea eax, [eax + 0x18]
mov word [eax - 0x18], di
inc ecx
cmp ecx, dword [edx]
jl 0x4644a0
mov dword [esi + 0x2c], edx
mov dword [ebx + 0x2c], 0
mov edx, dword [ebx + 0x20]
mov edi, dword [esp + 0x10]
test edx, edx
je 0x4644d3
push 0
push 0
mov ecx, edi
call fcn.0043cec0
add esp, 8
jmp 0x4644d5
xor eax, eax
cmp dword [esp + 0x28], 0
mov dword [esp + 0x1c], eax
jbe 0x4644eb
mov edx, dword [esp + 0x24]
mov ecx, eax
call fcn.0045e560
cmp dword [ebp + 0x10], 0
mov edx, dword [esp + 0x1c]
je 0x46453a
mov eax, dword [esi + 0x20]
mov dword [esi + 0x28], eax
mov dword [esi + 0x20], edx
mov edx, dword [ebx + 0x28]
test edx, edx
je 0x464515
push 0
push 0
mov ecx, edi
call fcn.0043cec0
add esp, 8
jmp 0x464517
xor eax, eax
push dword [esi + 0x28]
mov edx, eax
mov ecx, edi
call fcn.0043c9f0
add esp, 4
mov dword [esi + 0x28], eax
mov edx, dword [ebx + 0x24]
mov ecx, edi
push 0
call fcn.0043d290
mov dword [esi + 0x24], eax
jmp 0x464547
push dword [esi + 0x20]
mov ecx, edi
call fcn.0043c9f0
mov dword [esi + 0x20], eax
add esp, 4
cmp byte [edi + 0x45], 0
jne 0x464586
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], eax
mov edx, esi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x50], eax
mov eax, dword [ebx]
push 0
mov dword [esp + 0x58], eax
call fcn.00463ec0
add esp, 4
mov eax, dword [ebx + 8]
and eax, 1
or dword [esi + 8], eax
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x4645a0
mov dword [esi + 0x38], eax
mov dword [ebx + 0x38], 0
mov esi, dword [esi + 0x30]
mov ebx, dword [ebx + 0x30]
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], ebx
test esi, esi
jne 0x464381
jmp 0x4645bc
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
test edx, edx
je 0x4645d0
push 1
mov ecx, edi
call fcn.0045e110
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret