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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x645300]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x70], eax
cmp dword [ecx + 0x14], 7
mov eax, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], eax
jbe 0x4683bd
mov ecx, dword [ecx]
call fcn.00465870
mov ecx, eax
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x4683e4
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.00543bb1
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [esp + 0x2c]
or esi, 0xffffffff
xor ecx, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x74], 0
cmp dword [eax], ecx
jbe 0x468863
lea edx, [eax + 4]
xor edi, edi
mov eax, dword [edx + 0x14]
test eax, eax
je 0x468436
mov esi, dword [edx]
cmp esi, dword [esp + 0x74]
jg 0x468422
jne 0x468432
movzx eax, word [eax + 0xe]
cmp eax, edi
jle 0x468432
mov eax, dword [edx + 0x14]
movzx edi, word [eax + 0xe]
mov dword [esp + 0x74], esi
mov esi, ecx
mov dword [esp + 0x18], esi
jmp 0x468436
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
inc ecx
add edx, 0x20
cmp ecx, dword [eax]
jb 0x468406
mov edi, dword [esp + 0x80]
cmp esi, 0xffffffff
je 0x468863
shl esi, 5
add esi, 4
add esi, eax
mov dword [esp + 0x18], esi
je 0x468863
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0xc]
cmp eax, dword [esi + 0x10]
jae 0x468863
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cdq
xor eax, edx
mov dword [esp + 0x44], ecx
sub eax, edx
mov dword [esp + 0x40], 0x28
neg eax
mov dword [esp + 0x4c], 0x200001
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x20]
push 0x5d6732
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [eax], ecx
mov eax, dword [esi + 4]
cdq
xor eax, edx
shl ecx, 5
sub eax, edx
sar ecx, 3
mov edx, dword [esp + 0x80]
and ecx, 0xfffffffc
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [edx], eax
mov edx, 0x4d42
imul eax, ecx
mov ecx, dword [esp + 0x7c]
mov word [esp + 0x34], dx
xor edx, edx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
add eax, 0x36
mov dword [esp + 0x3a], edx
push eax
mov dword [esp + 0x42], 0x36
mov dword [esp + 0x3a], eax
mov dword [ecx], eax
call fcn.005442d6
mov ecx, dword [esp + 0x1c]
add esp, 8
mov dword [ecx], eax
test eax, eax
je 0x468863
mov ecx, dword [esp + 0x78]
push dword [ecx]
push 0
push eax
call fcn.00546d20
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [eax]
test ecx, ecx
jne 0x46855c
call fcn.0056272a
mov dword [eax], 0x16
call fcn.00560653
jmp 0x468576
movq xmm0, qword [esp + 0x30]
mov eax, dword [esp + 0x38]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ax, word [esp + 0x3c]
mov word [ecx + 0xc], ax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
add eax, 0xe
jne 0x468593
call fcn.0056272a
mov dword [eax], 0x16
call fcn.00560653
jmp 0x4685af
movups xmm0, xmmword [esp + 0x40]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x50]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x60]
movq qword [eax + 0x20], xmm0
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
add eax, 0x36
mov dword [edi], eax
mov ecx, dword [esi + 0x14]
movzx edx, word [ecx + 0xe]
cmp edx, 1
jne 0x4685e8
push edi
push dword [esp + 0x2c]
push esi
call fcn.00467730
push edi
push dword [esp + 0x2c]
mov eax, esi
push eax
call fcn.00468130
mov byte [esp + 0x13], 1
jmp 0x468868
cmp edx, 4
jne 0x46860f
push edi
push dword [esp + 0x2c]
push esi
call fcn.00467a80
push edi
push dword [esp + 0x2c]
mov eax, esi
push eax
call fcn.00468130
mov byte [esp + 0x13], 1
jmp 0x468868
cmp edx, 8
jne 0x46874e
mov eax, dword [esi + 4]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esi]
mov dword [esp + 0x20], edx
movzx edx, word [ecx + 0xc]
imul edx, dword [ecx + 4]
mov dword [esp + 0x14], edx
movzx edx, word [ecx + 0xe]
mov edi, dword [esp + 0x14]
imul edi, edx
mov ecx, edi
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x80]
add ecx, 0x1f
sar ecx, 3
and ecx, 0xfffffffc
mov dword [esp + 0x14], ecx
lea ecx, [eax - 1]
mov dword [esp + 0x70], ecx
mov eax, esi
test ecx, ecx
js 0x468b48
mov edx, ecx
mov dword [esp + 0x78], 0
imul edx, dword [esp + 0x14]
mov dword [esp + 0x7c], edx
nop dword [eax + eax]
cmp dword [esp + 0x20], 0
mov dword [esp + 0x74], 0
jle 0x468720
mov ecx, dword [esi + 0x18]
add ecx, edx
mov edx, dword [esp + 0x74]
mov cl, byte [ecx + edx]
mov edx, dword [esi + 0x14]
mov esi, dword [esp + 0x70]
movzx ecx, cl
cmp dword [edx + 8], 0
cmovge esi, dword [esp + 0x78]
lea edi, [edx + ecx*4]
imul esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x80]
mov edx, dword [edx]
lea esi, [esi + ecx*4]
movzx ecx, byte [edi + 0x28]
mov byte [esi + edx], cl
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
movzx ecx, byte [edi + 0x29]
mov byte [edx + esi + 1], cl
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
movzx ecx, byte [edi + 0x2a]
mov edi, dword [esp + 0x80]
mov byte [edx + esi + 2], cl
mov edx, dword [esp + 0x7c]
mov ecx, dword [edi]
mov byte [ecx + esi + 3], 0xff
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x74], ecx
cmp ecx, dword [esp + 0x20]
jl 0x468693
mov ecx, dword [esp + 0x70]
sub edx, dword [esp + 0x14]
dec ecx
inc dword [esp + 0x78]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x7c], edx
test ecx, ecx
jns 0x468680
push edi
push dword [esp + 0x2c]
push eax
call fcn.00468130
mov byte [esp + 0x13], 1
jmp 0x468868
cmp edx, 0x10
jne 0x4688c0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x80], eax
mov dword [esp + 0x70], esi
mov eax, dword [esi + 4]
cdq
xor eax, edx
mov dword [esp + 0x98], edi
sub eax, edx
movzx edx, word [ecx + 0xe]
mov dword [esp + 0x78], eax
mov eax, dword [esi]
mov dword [esp + 0x7c], eax
movzx eax, word [ecx + 0xc]
imul eax, dword [ecx + 4]
imul eax, edx
add eax, 0x1f
sar eax, 3
and eax, 0xfffffffc
mov dword [esp + 0x74], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x94], eax
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x4687f0
mov eax, 0x7c00
mov dword [esp + 0x20], 0x1f
mov ecx, 0x3e0
jmp 0x468820
cmp eax, 3
jne 0x468848
test ecx, ecx
je 0x468848
mov eax, dword [ecx + 0x28]
cmp eax, 0x7c00
je 0x46880a
cmp eax, 0xf800
jne 0x468848
mov esi, dword [ecx + 0x2c]
mov ecx, dword [ecx + 0x30]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
push dword [esp + 0x20]
lea edx, [esp + 0x88]
push ecx
push eax
mov ecx, edx
call fcn.00467e00
push edi
push dword [esp + 0x2c]
mov eax, esi
push eax
call fcn.00468130
mov byte [esp + 0x13], 1
jmp 0x468868
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
test eax, eax
je 0x468863
push 1
push eax
call fcn.00543bbf
add esp, 8
mov dword [esi], 0
mov byte [esp + 0x13], 0
mov edi, dword [esp + 0x2c]
xor esi, esi
mov eax, edi
cmp dword [edi], esi
jbe 0x46889d
add edi, 0x10
mov ecx, eax
nop dword [eax]
mov eax, dword [edi]
test eax, eax
je 0x468893
push eax
call fcn.00560701
mov ecx, dword [esp + 0x30]
add esp, 4
mov eax, ecx
inc esi
add edi, 0x20
cmp esi, dword [eax]
jb 0x468880
push eax
call fcn.00560701
mov ecx, dword [esp + 0xa0]
add esp, 4
mov al, byte [esp + 0x13]
pop edi
pop esi
xor ecx, esp
call fcn.00543bb1
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x18
jne 0x468a08
mov eax, dword [esi + 4]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esi]
mov dword [esp + 0x20], edx
movzx edx, word [ecx + 0xc]
imul edx, dword [ecx + 4]
mov dword [esp + 0x18], edx
movzx edx, word [ecx + 0xe]
lea ecx, [eax - 1]
mov edi, dword [esp + 0x18]
mov eax, esi
imul edi, edx
mov dword [esp + 0x7c], ecx
mov edx, edi
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x80]
add edx, 0x1f
sar edx, 3
and edx, 0xfffffffc
mov dword [esp + 0x18], edx
test ecx, ecx
js 0x468b48
imul edx, ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x70], edx
nop dword [eax + eax]
cmp dword [esp + 0x20], 0
mov dword [esp + 0x78], 0
jle 0x4689da
mov dword [esp + 0x74], 0
nop dword [eax + eax]
mov ecx, dword [esi + 0x18]
add ecx, edx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x74]
mov dl, byte [ecx + eax]
mov ah, byte [ecx + eax + 1]
mov byte [esp + 0x13], dl
mov edx, dword [esp + 0x74]
mov al, byte [ecx + edx + 2]
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x7c]
mov byte [esp + 0x1f], al
mov al, byte [esp + 0x13]
cmp dword [ecx + 8], 0
mov ecx, dword [esp + 0x78]
cmovge edx, dword [esp + 0x14]
imul edx, dword [esp + 0x28]
add dword [esp + 0x74], 3
lea edx, [edx + ecx*4]
mov ecx, dword [edi]
mov byte [edx + ecx], al
mov ecx, dword [edi]
mov al, byte [esp + 0x1f]
mov byte [ecx + edx + 1], ah
mov ecx, dword [edi]
mov byte [ecx + edx + 2], al
mov ecx, dword [edi]
mov eax, dword [esp + 0x78]
inc eax
cmp eax, dword [esp + 0x20]
mov byte [ecx + edx + 3], 0xff
mov edx, dword [esp + 0x70]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x80]
jl 0x468950
mov ecx, dword [esp + 0x7c]
sub edx, dword [esp + 0x18]
dec ecx
inc dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x70], edx
test ecx, ecx
jns 0x468930
push edi
push dword [esp + 0x2c]
push eax
call fcn.00468130
mov byte [esp + 0x13], 1
jmp 0x468868
mov eax, esi
cmp edx, 0x20
jne 0x468b48
mov eax, dword [esi + 4]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esi]
mov dword [esp + 0x20], edx
movzx edx, word [ecx + 0xc]
imul edx, dword [ecx + 4]
mov dword [esp + 0x14], edx
movzx edx, word [ecx + 0xe]
mov edi, dword [esp + 0x14]
imul edi, edx
mov ecx, edi
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x80]
add ecx, 0x1f
sar ecx, 3
and ecx, 0xfffffffc
mov dword [esp + 0x14], ecx
lea ecx, [eax - 1]
mov dword [esp + 0x7c], ecx
mov eax, esi
test ecx, ecx
js 0x468b48
mov edx, ecx
mov dword [esp + 0x70], 0
imul edx, dword [esp + 0x14]
mov dword [esp + 0x74], edx
nop word [eax + eax]
cmp dword [esp + 0x20], 0
mov dword [esp + 0x78], 0
jle 0x468b2f
mov ecx, dword [esp + 0x78]
nop word [eax + eax]
lea edi, [ecx*4]
mov ecx, dword [esi + 0x18]
mov esi, dword [esp + 0x74]
add ecx, edi
mov dl, byte [ecx + edx]
mov dh, byte [ecx + esi + 1]
mov byte [esp + 0x1f], dh
mov dh, byte [ecx + esi + 2]
mov cl, byte [ecx + esi + 3]
mov esi, dword [esp + 0x18]
mov byte [esp + 0x27], cl
mov byte [esp + 0x13], dh
mov dh, byte [esp + 0x1f]
mov ecx, dword [esi + 0x14]
mov esi, dword [esp + 0x7c]
cmp dword [ecx + 8], 0
cmovge esi, dword [esp + 0x70]
imul esi, dword [esp + 0x28]
add esi, edi
mov edi, dword [esp + 0x80]
mov ecx, dword [edi]
mov byte [esi + ecx], dl
mov ecx, dword [edi]
mov dl, byte [esp + 0x13]
mov byte [ecx + esi + 1], dh
mov ecx, dword [edi]
mov byte [ecx + esi + 2], dl
mov ecx, dword [edi]
mov dl, byte [esp + 0x27]
mov byte [ecx + esi + 3], dl
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x18]
inc ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x78], ecx
cmp ecx, dword [esp + 0x20]
jl 0x468aa0
mov ecx, dword [esp + 0x7c]
sub edx, dword [esp + 0x14]
dec ecx
inc dword [esp + 0x70]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x74], edx
test ecx, ecx
jns 0x468a80
push edi
push dword [esp + 0x2c]
push eax
call fcn.00468130
mov byte [esp + 0x13], 1
jmp 0x468868