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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x190
mov edi, dword [esp + 0x1a8]
call 0x468c66
pop eax
mov ebp, edx
mov dword [esp], ecx
mov dword [esp + 0xc], eax
mov eax, 0x7fffffff
add eax, dword [edi]
lea esi, [edi + 0xc]
mov dword [esp + 0x28], esi
cmp eax, 5
setae dl
cmp eax, 1
sete al
or al, dl
cmp al, 1
jne 0x468d04
cmp dword [edi + 0xc], 0x80000009
jne 0x468d04
mov ebx, dword [esp + 0x1a4]
mov ecx, ebp
mov edx, edi
call fcn.00462f70
cmp dword [edi + 0x18], 0
je 0x468efe
mov word [esp + 0x178], 4
mov dword [esp + 0xfc], 0x80000001
mov dword [esp + 0x100], 0x100001
xor eax, eax
lea edx, [esp + 0xfc]
mov ecx, ebx
cmp byte [ebx + 0x31], 2
sete al
push eax
call fcn.0044f0f0
add esp, 4
mov eax, dword [esp]
mov byte [ebx + 0x249], 1
mov byte [eax], 3
mov byte [eax + 4], 5
jmp 0x468d8c
test al, al
je 0x468d33
movzx eax, byte [0x77618d]
xor ecx, ecx
mov edx, 2
call fcn.00490be0
test eax, eax
je 0x469810
mov word [eax], 0xa
lea edx, [edi + 0x78]
mov cl, 1
movzx ebx, byte [edi + 0x79]
jmp 0x468d6d
movzx eax, byte [0x77618d]
xor ecx, ecx
mov edx, 2
call fcn.00490be0
test eax, eax
je 0x469810
mov word [eax], 2
mov ecx, 0x7fffffff
mov edx, 1
add ecx, dword [edi]
cmp ecx, 5
cmovb edx, ecx
xor ecx, ecx
lea edx, [edx + 0x7720e4]
movzx edx, byte [edx]
mov esi, dword [esp]
mov byte [esi + 1], dl
mov byte [esi + 2], bl
mov byte [esi], cl
mov dword [esi + 4], 1
mov dword [esi + 8], eax
mov dword [esi + 0xc], 1
mov esi, dword [edi]
mov eax, 1
lea ecx, [esi + 0x7fffffff]
cmp ecx, 5
cmovb eax, ecx
cmp eax, 3
ja 0x468dcc
mov ecx, dword [esp + 0xc]
add ecx, dword [eax*4 + 0x469834]
jmp ecx
test dword [edi + 4], 0x7fffffff
jne 0x469188
mov eax, dword [ebp + 0x3c]
lock dec dword [eax]
jne 0x468de9
lea ecx, [ebp + 0x3c]
call fcn.004a0e30
cmp byte [ebp + 0x28], 0
jne 0x468e09
test dword [ebp + 0x2c], 0x7fffffff
je 0x468e09
push dword [ebp + 0x30]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
mov eax, dword [edi]
test eax, eax
je 0x468e1b
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x468e39
cmp dword [edi + 8], 9
jb 0x468e2a
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test dword [ebp], 0x7fffffff
je 0x468e53
push dword [ebp + 4]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [ebp + 0x48]
mov esi, dword [ebp + 0x44]
mov eax, dword [edi]
test eax, eax
je 0x468e65
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x468e83
cmp dword [edi + 8], 9
jb 0x468e74
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [ebp + 0x50]
call fcn.0043ad30
lea ecx, [ebp + 0x94]
call fcn.0043ad30
mov ebx, dword [ebp + 0x1c]
mov eax, ebx
neg eax
jo 0x468ee4
mov eax, dword [ebp + 0x20]
mov edi, ebp
mov ebp, dword [ebp + 0x24]
test ebp, ebp
mov dword [esp], eax
je 0x468ecd
mov esi, dword [esp]
nop word cs:[eax + eax]
nop dword [eax + eax]
mov ecx, esi
call fcn.0049dd80
add esi, 0x3c
dec ebp
jne 0x468ec0
test ebx, ebx
mov ebp, edi
je 0x468ee4
push dword [esp]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebp
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
add esp, 0x190
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [edi + 0x24]
xor eax, eax
mov dword [esp + 4], ebp
test ecx, ecx
je 0x468f5a
mov edx, dword [edi + 0x20]
shl ecx, 4
mov esi, 3
jmp 0x468f28
add edx, 0x10
add ecx, 0xfffffff0
je 0x468f5a
mov edi, dword [edx]
lea ebx, [edi + 0x7fffffff]
cmp ebx, 3
cmovae ebx, esi
lea ebp, [ebx - 1]
cmp ebp, 2
jb 0x468f20
cmp ebx, 3
jne 0x468f4a
cmp word [edx + 0xc], 0xd
jne 0x468f20
cmp edi, 0x80000001
jne 0x468f5a
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
jmp 0x468f5a
test eax, eax
mov ebp, 2
cmove ecx, eax
cmovne ebp, eax
mov eax, 0xfa8
lea edi, [ebp + ecx*4]
shl ecx, 2
test ecx, ecx
je 0x469778
movzx esi, word [ebp]
add ebp, 4
add ecx, 0xfffffffc
cmp esi, 0xb
ja 0x468f73
bt eax, esi
jae 0x468f73
movzx ebx, word [ebp - 2]
movzx eax, byte [0x77618d]
xor ecx, ecx
mov edx, 0x10
call fcn.00490be0
test eax, eax
je 0x469810
mov edx, 1
mov ecx, 0xfa8
mov word [eax], si
mov word [eax + 2], bx
mov dword [esp + 0xfc], 4
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], 1
nop dword [eax]
cmp ebp, edi
je 0x469044
movzx esi, word [ebp]
add ebp, 4
cmp esi, 0xb
ja 0x468fe0
bt ecx, esi
jae 0x468fe0
movzx ebx, word [ebp - 2]
cmp edx, dword [esp + 0xfc]
je 0x469015
mov word [eax + edx*4], si
mov word [eax + edx*4 + 2], bx
inc edx
mov dword [esp + 0x104], edx
jmp 0x468fe0
mov dword [esp + 0x2c], edx
lea ecx, [esp + 0xfc]
mov edx, dword [esp + 0x2c]
push 4
push 2
push 1
call fcn.004e4f80
mov edx, dword [esp + 0x38]
mov ecx, 0xfa8
add esp, 0xc
mov eax, dword [esp + 0x100]
jmp 0x469002
mov eax, dword [esp + 0x100]
mov ebx, dword [esp + 0xfc]
test edx, edx
mov dword [esp + 0x10], eax
je 0x469782
mov esi, dword [esp + 0x1a8]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 4]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], 0
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x4691cc
mov eax, dword [esi + 0x20]
mov ebp, dword [esp + 0xc]
shl ecx, 4
mov edx, 3
jmp 0x4690ac
add eax, 0x10
add ecx, 0xfffffff0
je 0x4691c1
mov esi, dword [eax]
lea edi, [esi + 0x7fffffff]
cmp edi, 3
cmovae edi, edx
cmp edi, 2
jb 0x4690a0
cmp edi, 3
jne 0x4690cb
cmp word [eax + 0xc], 0x14
jne 0x4690a0
cmp esi, 0x80000003
mov esi, dword [esp + 0x1a8]
mov ecx, 0
jne 0x4691d2
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx + 0x30]
test edx, edx
je 0x469802
mov esi, dword [eax + 0xc]
mov edi, dword [ecx + 0x2c]
mov ecx, esi
lea esi, [edi + edx*8]
test ecx, ecx
je 0x4691af
mov ebp, dword [eax + 8]
shl ecx, 2
mov dword [esp + 0x1c], esi
mov ebx, ecx
mov dword [esp + 0x18], ecx
lea eax, [ebp + 2]
mov dword [esp + 0x14], ebp
mov dword [esp + 8], eax
mov eax, dword [edi + 4]
push dword [edi]
call dword [eax + 0x1c]
add esp, 4
mov esi, ebx
mov ecx, ebx
mov ebx, dword [esp + 8]
cmp ax, 3
je 0x469166
cmp word [ebp], ax
je 0x469172
add ebp, 4
add esi, 0xfffffffc
jne 0x469138
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
add edi, 8
cmp edi, esi
jne 0x46911f
jmp 0x469809
add ebx, 4
add ecx, 0xfffffffc
je 0x469146
cmp word [ebx - 2], 3
jne 0x46915e
cmp word [ebx], dx
jne 0x46915e
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 4]
mov esi, dword [esp + 0x1a8]
jmp 0x4691ce
mov eax, 8
push dword [edi + eax]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0x3c]
lock dec dword [eax]
je 0x468de1
jmp 0x468de9
mov eax, dword [edi + 4]
push dword [edi]
call dword [eax + 0x1c]
add esp, 4
add edi, 8
cmp edi, esi
jne 0x4691af
mov esi, dword [esp + 0x1a8]
xor ecx, ecx
jmp 0x4691d2
xor ecx, ecx
mov ebp, dword [esp + 0xc]
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x1c], ecx
mov edx, dword [esi + 0x24]
mov ecx, dword [eax + 0x88]
mov edi, dword [ecx + 8]
mov dword [esp + 0x18], ecx
dec edi
test edx, edx
je 0x469256
mov ecx, dword [esi + 0x20]
shl edx, 4
mov esi, 3
mov dword [esp + 8], edi
jmp 0x469208
mov edi, dword [ecx]
lea ebx, [edi + 0x7fffffff]
cmp ebx, 3
cmovae ebx, esi
mov ebx, dword [ebx*4 + 0x469814]
add ebx, ebp
jmp ebx
and edi, 0xfffffff8
mov dword [esp + 8], edi
mov edi, dword [esi + 0x18]
test edi, edi
js 0x469810
mov ebx, dword [eax + 0x84]
mov esi, dword [esi + 0x14]
je 0x46928e
movzx eax, byte [0x77618d]
xor ecx, ecx
mov edx, edi
call fcn.00490be0
mov ebp, eax
test eax, eax
jne 0x469293
jmp 0x469810
mov ebp, 1
mov eax, dword [esp + 8]
lea ebx, [ebx + eax + 8]
push edi
push esi
push ebp
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0xdc]
mov edx, ebx
mov dword [esp + 0xfc], edi
mov dword [esp + 0x100], ebp
mov dword [esp + 0x104], edi
push dword [esp + 0x3c]
push dword [esp + 0x20]
lea ebp, [esp + 0x104]
push ebp
push dword [esp + 0x38]
push dword [esp + 0x20]
push dword [esp + 0x28]
push dword [esp + 0x3c]
push dword [esp + 0x34]
call fcn.00469850
add esp, 0x20
mov ebx, dword [esp + 4]
cmp byte [ebx + 0x118], 0
lea edx, [ebx + 0x28]
lea ecx, [ebx + 0xd8]
lea eax, [ebx + 0x44]
lea esi, [ebx + 0x1c]
je 0x4694fb
movsd xmm1, qword [edx + 8]
movsd xmm2, qword [ecx]
mov edi, dword [edx + 0x10]
movsd xmm0, qword [edx]
movsd qword [esp + 0xd0], xmm1
movsd xmm1, qword [ecx + 8]
movsd qword [esp + 0x40], xmm2
movsd xmm2, qword [ecx + 0x18]
mov dword [esp + 0xd8], edi
movsd qword [esp + 0xc8], xmm0
movsd qword [esp + 0x48], xmm1
movsd xmm1, qword [ecx + 0x10]
movsd qword [esp + 0x58], xmm2
movsd xmm2, qword [ecx + 0x28]
movsd qword [esp + 0x50], xmm1
movsd xmm1, qword [ecx + 0x20]
movsd qword [esp + 0x68], xmm2
movsd xmm2, qword [ecx + 0x38]
movsd qword [esp + 0x60], xmm1
movsd xmm1, qword [ecx + 0x30]
movsd qword [esp + 0x78], xmm2
movsd xmm2, qword [ebx]
mov ecx, dword [ebx + 0x18]
movsd qword [esp + 0x70], xmm1
movsd xmm1, qword [ebx + 0x3c]
mov dword [esp + 0x98], ecx
movsd qword [esp + 0x80], xmm2
movups xmmword [esp + 0x2c], xmm1
movsd xmm1, qword [ebx + 8]
movsd qword [esp + 0x88], xmm1
movsd xmm1, qword [ebx + 0x10]
movsd qword [esp + 0x90], xmm1
push 0x94
push eax
push ebp
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm1, qword [esp + 0xe4]
movsd xmm0, qword [esp + 0xdc]
movsd xmm2, qword [esp + 0xf4]
mov eax, dword [esi + 8]
xor ecx, ecx
mov edx, 0x138
movsd qword [esp + 0xb0], xmm1
movsd xmm1, qword [esp + 0xec]
movsd qword [esp + 0xa8], xmm0
movsd qword [esp + 0xc0], xmm2
movsd qword [esp + 0xb8], xmm1
movsd xmm1, qword [esi]
mov dword [esp + 0xa4], eax
movsd qword [esp + 0x9c], xmm1
movzx eax, byte [0x77618d]
call fcn.00490be0
test eax, eax
je 0x469810
lea esi, [esp + 0x80]
mov ecx, 0x17
mov edi, eax
mov edx, ebp
mov ebp, eax
rep movsd dword es:[edi], dword [esi]
movups xmm0, xmmword [esp + 0x2c]
movlps qword [eax + 0x5c], xmm0
add eax, 0x64
push 0x94
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm0, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
mov eax, 0x735480
movsd qword [ebp + 0xf8], xmm0
movsd qword [ebp + 0x100], xmm1
movsd xmm0, qword [esp + 0x50]
movsd qword [ebp + 0x108], xmm0
movsd xmm0, qword [esp + 0x58]
movsd qword [ebp + 0x110], xmm0
movsd xmm0, qword [esp + 0x60]
movsd qword [ebp + 0x118], xmm0
movsd xmm0, qword [esp + 0x68]
movsd qword [ebp + 0x120], xmm0
movsd xmm0, qword [esp + 0x70]
movsd qword [ebp + 0x128], xmm0
movsd xmm0, qword [esp + 0x78]
movsd qword [ebp + 0x130], xmm0
jmp 0x4696e8
movsd xmm1, qword [edx + 8]
movsd xmm2, qword [ecx]
mov edi, dword [edx + 0x10]
movsd xmm0, qword [edx]
movsd qword [esp + 0xd0], xmm1
movsd xmm1, qword [ecx + 8]
movsd qword [esp + 0x40], xmm2
movsd xmm2, qword [ecx + 0x18]
mov dword [esp + 0xd8], edi
movsd qword [esp + 0xc8], xmm0
movsd qword [esp + 0x48], xmm1
movsd xmm1, qword [ecx + 0x10]
movsd qword [esp + 0x58], xmm2
movsd xmm2, qword [ecx + 0x28]
movsd qword [esp + 0x50], xmm1
movsd xmm1, qword [ecx + 0x20]
movsd qword [esp + 0x68], xmm2
movsd xmm2, qword [ecx + 0x38]
movsd qword [esp + 0x60], xmm1
movsd xmm1, qword [ecx + 0x30]
movsd qword [esp + 0x78], xmm2
movsd xmm2, qword [ebx]
mov ecx, dword [ebx + 0x18]
movsd qword [esp + 0x70], xmm1
movsd xmm1, qword [ebx + 0x3c]
mov dword [esp + 0x98], ecx
movsd qword [esp + 0x80], xmm2
movups xmmword [esp + 0x2c], xmm1
movsd xmm1, qword [ebx + 8]
movsd qword [esp + 0x88], xmm1
movsd xmm1, qword [ebx + 0x10]
movsd qword [esp + 0x90], xmm1
push 0x94
push eax
push ebp
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm1, qword [esp + 0xe4]
movsd xmm0, qword [esp + 0xdc]
movsd xmm2, qword [esp + 0xf4]
mov eax, dword [esi + 8]
xor ecx, ecx
mov edx, 0x13c
movsd qword [esp + 0xb0], xmm1
movsd xmm1, qword [esp + 0xec]
movsd qword [esp + 0xa8], xmm0
movsd qword [esp + 0xc0], xmm2
movsd qword [esp + 0xb8], xmm1
movsd xmm1, qword [esi]
mov dword [esp + 0xa4], eax
movsd qword [esp + 0x9c], xmm1
movzx eax, byte [0x77618d]
call fcn.00490be0
test eax, eax
je 0x469810
lea esi, [esp + 0x80]
mov ecx, 0x17
mov edi, eax
mov edx, ebp
mov ebp, eax
rep movsd dword es:[edi], dword [esi]
movups xmm0, xmmword [esp + 0x2c]
movlps qword [eax + 0x5c], xmm0
add eax, 0x64
push 0x94
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm0, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
mov eax, 0x7354a4
movsd qword [ebp + 0xf8], xmm0
movsd qword [ebp + 0x100], xmm1
movsd xmm0, qword [esp + 0x50]
movsd qword [ebp + 0x108], xmm0
movsd xmm0, qword [esp + 0x58]
movsd qword [ebp + 0x110], xmm0
movsd xmm0, qword [esp + 0x60]
movsd qword [ebp + 0x118], xmm0
movsd xmm0, qword [esp + 0x68]
movsd qword [ebp + 0x120], xmm0
movsd xmm0, qword [esp + 0x70]
movsd qword [ebp + 0x128], xmm0
movsd xmm0, qword [esp + 0x78]
movsd qword [ebp + 0x130], xmm0
mov byte [ebp + 0x138], 0
mov ecx, dword [esp]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1a8]
mov dword [ecx + 4], ebp
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x10]
test edx, edx
mov byte [ecx], 0x16
je 0x469716
push eax
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [edi]
mov ebp, dword [esp + 4]
mov eax, 1
lea ecx, [esi + 0x7fffffff]
cmp ecx, 5
cmovb eax, ecx
cmp eax, 3
ja 0x46975b
mov ecx, dword [esp + 0xc]
add ecx, dword [eax*4 + 0x469824]
jmp ecx
test dword [edi + 4], 0x7fffffff
je 0x468ee4
mov eax, 8
mov eax, dword [edi + eax]
mov dword [esp], eax
jmp 0x468ed3
xor ebx, ebx
mov dword [esp + 0x10], 2
mov esi, dword [esp + 0x1a4]
mov word [esp + 0x178], 4
mov dword [esp + 0xfc], 0x80000001
mov dword [esp + 0x100], 0x60001
xor eax, eax
mov ebp, dword [esp + 4]
mov edi, dword [esp + 0x1a8]
lea edx, [esp + 0xfc]
cmp byte [esi + 0x31], 2
mov ecx, esi
sete al
push eax
call fcn.0044f0f0
add esp, 4
mov eax, dword [esp]
test ebx, ebx
mov byte [esi + 0x249], 1
mov byte [eax], 8
mov dword [eax + 4], 0x80000005
je 0x468d8c
push dword [esp + 0x10]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x468d8c
xor ecx, ecx
jmp 0x4691d2
xor ecx, ecx
jmp 0x46917b
ud2