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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x214
mov ebp, dword [esp + 0x22c]
mov edi, ecx
call 0x46a2e8
pop eax
mov esi, edx
mov ecx, edx
mov dword [esp + 0x68], eax
mov edx, ebp
call fcn.00462f70
mov eax, dword [ebp]
mov dword [esp + 0x14], esi
lea ecx, [eax + 0x7fffffff]
cmp ecx, 5
setb dl
cmp ecx, 1
setne dh
test dl, dh
jne 0x46a35b
cmp dword [ebp + 0xc], 0x80000006
jne 0x46a35b
lea edx, [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x1c]
mov dword [esp + 4], edx
mov edx, dword [ebp + 0x10]
mov ebp, dword [ebp + 0x20]
cmp edx, 0x80000001
jne 0x46a448
mov edx, dword [esp + 0x22c]
mov edx, dword [edx + 0x14]
mov dword [edi], edx
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x14]
mov dword [edi + 8], esi
mov dword [edi + 0xc], ebp
jmp 0x46a61b
mov dword [esp], edi
lea edi, [esp + 0xe8]
mov ecx, 0x1f
mov esi, ebp
mov edx, 2
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xe8]
movzx eax, byte [0x77618d]
lea ebp, [edi + 0x7fffffff]
cmp ebp, 5
setb bl
cmp ebp, 1
setne bh
xor ecx, ecx
call fcn.00490be0
mov esi, eax
test bl, bh
jne 0x46a3cd
test esi, esi
je 0x46ac89
mov word [esi], 0x12
movzx eax, byte [esp + 0x160]
mov byte [esp + 4], al
movzx eax, byte [esp + 0x161]
mov byte [esp + 0xc], al
mov al, 1
mov dword [esp + 0x10], eax
jmp 0x46a3f8
test esi, esi
je 0x46ac89
cmp ebp, 5
mov eax, 1
mov word [esi], 2
mov dword [esp + 0x10], 0
cmovb eax, ebp
movzx eax, byte [eax + 0x7720ee]
mov byte [esp + 4], al
mov ebx, dword [esp + 0x14]
cmp ebp, 5
mov ecx, 1
lea eax, [esp + 0xf0]
cmovb ecx, ebp
cmp ecx, 3
ja 0x46a527
mov edx, dword [esp + 0x68]
add edx, dword [ecx*4 + 0x46ac8c]
jmp edx
mov eax, dword [esp + 0x22c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], edx
mov dword [esp], edi
mov eax, dword [eax + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x5c]
mov ebp, dword [eax + 0x24]
test ebp, ebp
je 0x46a59c
mov edi, dword [eax + 0x20]
cmp si, 3
jne 0x46a572
shr esi, 0x10
shl ebp, 3
jmp 0x46a49c
add edi, 8
add ebp, 0xfffffff8
je 0x46a59c
mov eax, dword [edi + 4]
push dword [edi]
call dword [eax + 0x1c]
add esp, 4
cmp ax, 3
jne 0x46a490
cmp dx, si
jne 0x46a490
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x22c]
mov edx, dword [esp + 8]
cmp esi, 0x10000
jbe 0x46a7be
mov eax, dword [esp + 0x228]
mov word [esp + 0x164], 4
mov dword [esp + 0xe8], 0x80000001
mov dword [esp + 0xec], 0x80001
lea edx, [esp + 0xe8]
mov esi, dword [eax]
xor eax, eax
cmp byte [esi + 0x31], 2
mov ecx, esi
sete al
push eax
call fcn.0044f0f0
add esp, 4
mov eax, dword [esp]
mov byte [esi + 0x249], 1
mov byte [eax], 3
mov byte [eax + 4], 0xa
jmp 0x46a5f6
test dword [esp + 0xec], 0x7fffffff
je 0x46a544
push dword [eax]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp]
mov ecx, dword [esp + 0x10]
movzx edx, byte [esp + 0xc]
mov byte [eax], cl
mov ch, byte [esp + 4]
mov byte [eax + 1], ch
mov byte [eax + 2], dl
mov dword [eax + 4], 1
mov dword [eax + 8], esi
mov dword [eax + 0xc], 1
jmp 0x46a69a
shl ebp, 3
nop word cs:[eax + eax]
nop
mov eax, dword [edi + 4]
push dword [edi]
call dword [eax + 0x1c]
add esp, 4
cmp ax, si
je 0x46a4b2
add edi, 8
add ebp, 0xfffffff8
jne 0x46a580
mov eax, dword [esp + 0x228]
mov word [esp + 0x164], 4
mov dword [esp + 0xe8], 0x80000001
mov dword [esp + 0xec], 0x80001
lea edx, [esp + 0xe8]
mov esi, dword [eax]
xor eax, eax
cmp byte [esi + 0x31], 2
mov ecx, esi
sete al
push eax
call fcn.0044f0f0
add esp, 4
mov ebp, dword [esp + 0x22c]
mov eax, dword [esp]
mov byte [esi + 0x249], 1
mov word [eax], 0x3309
test dword [esp + 0x10], 0x7fffffff
je 0x46a612
push dword [esp + 0xc]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp]
lea ecx, [eax + 0x7fffffff]
cmp ecx, 5
setae dl
cmp ecx, 1
sete cl
or cl, dl
je 0x46a64e
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x22c]
cmp dword [ecx], 0x80000006
je 0x46a645
call fcn.0044e4f0
mov eax, dword [esi]
test eax, 0x7fffffff
je 0x46a69a
jmp 0x46a675
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x22c]
add eax, 0x7fffffff
cmp eax, 3
ja 0x46a68d
mov edx, dword [esp + 0x68]
add edx, dword [eax*4 + 0x46ac9c]
jmp edx
mov eax, 4
push dword [esi + eax]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x46a69a
test dword [esi + 4], 0x7fffffff
jne 0x46a7dc
mov eax, dword [ebx + 0x5c]
lock dec dword [eax]
jne 0x46a6aa
lea ecx, [ebx + 0x5c]
call fcn.004a0e30
cmp byte [ebx + 0x48], 0
jne 0x46a6ca
test dword [ebx + 0x4c], 0x7fffffff
je 0x46a6ca
push dword [ebx + 0x50]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [ebx + 0x18]
mov esi, dword [ebx + 0x14]
mov eax, dword [edi]
test eax, eax
je 0x46a6dc
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x46a6fa
cmp dword [edi + 8], 9
jb 0x46a6eb
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test dword [ebx], 0x7fffffff
je 0x46a713
push dword [ebx + 4]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [ebx + 0x68]
mov esi, dword [ebx + 0x64]
mov eax, dword [edi]
test eax, eax
je 0x46a725
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x46a743
cmp dword [edi + 8], 9
jb 0x46a734
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [ebx + 0x70]
call fcn.0043ad30
lea ecx, [ebx + 0xb4]
call fcn.0043ad30
lea ecx, [ebx + 0x28]
call fcn.00469b40
mov edi, dword [ebx + 0x1c]
mov eax, edi
neg eax
jo 0x46a7a4
mov ebp, dword [ebx + 0x20]
mov ebx, dword [ebx + 0x24]
test ebx, ebx
je 0x46a78d
mov esi, ebp
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, esi
call fcn.0049dd80
add esi, 0x3c
dec ebx
jne 0x46a780
mov ebx, dword [esp + 0x14]
test edi, edi
je 0x46a7a4
push ebp
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
add esp, 0x214
pop esi
pop edi
pop ebx
pop ebp
ret
test esi, esi
je 0x46a7e6
mov ecx, 8
mov edx, esi
call fcn.00490be0
test eax, eax
je 0x46ac89
mov edx, dword [esp + 8]
jmp 0x46a7eb
mov eax, 8
jmp 0x46a67a
mov eax, 1
mov ecx, dword [edi + 4]
push esi
push eax
push edx
push dword [esp + 0x18]
push dword [edi]
mov edi, eax
call dword [ecx + 0x18]
add esp, 0x14
test al, al
mov dword [esp + 8], edi
je 0x46a85f
mov eax, dword [esp + 0x228]
mov word [esp + 0x164], 4
mov dword [esp + 0xe8], 0x80000001
mov dword [esp + 0xec], 0x80001
lea edx, [esp + 0xe8]
mov esi, dword [eax]
xor eax, eax
cmp byte [esi + 0x31], 2
mov ecx, esi
sete al
push eax
call fcn.0044f0f0
add esp, 4
mov eax, dword [esp]
mov byte [esi + 0x249], 1
mov word [eax], 0x1809
jmp 0x46a906
lea ecx, [esp + 0x78]
lea edx, [esp + 0x5c]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], 0
call fcn.0044a5a0
xor eax, eax
cmp eax, dword [esp + 0x78]
jno 0x46a929
mov eax, dword [esp + 0x228]
mov word [esp + 0x164], 4
mov dword [esp + 0xe8], 0x80000001
mov dword [esp + 0xec], 0x80001
lea edx, [esp + 0xe8]
mov esi, dword [eax]
xor eax, eax
cmp byte [esi + 0x31], 2
mov ecx, esi
sete al
push eax
call fcn.0044f0f0
add esp, 4
mov byte [esi + 0x249], 1
mov eax, dword [esp + 0x84]
movsd xmm0, qword [esp + 0x7c]
mov dword [esp + 0x27], eax
movsd qword [esp + 0x1f], xmm0
mov eax, dword [esp]
movsd xmm0, qword [esp + 0x1c]
movsd xmm1, qword [esp + 0x23]
mov byte [eax], 3
movsd qword [eax + 1], xmm0
movsd qword [eax + 8], xmm1
cmp dword [esp + 0x18], 0
mov eax, dword [esp + 8]
je 0x46a5f6
push eax
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x46a5f6
movsd xmm0, qword [esp + 0x88]
movsd xmm2, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x17c]
movsd qword [esp + 0x18c], xmm0
movsd qword [esp + 0x184], xmm1
movsd qword [esp + 0x17c], xmm2
call fcn.0044ed50
mov byte [esp + 0xe4], 8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x78], 0x80000005
mov dword [esp + 0x24], 0
sub esp, 4
lea esi, [esp + 0x7c]
lea edx, [esp + 0x20]
mov ecx, esi
push 0x80000000
call fcn.0044ddb0
add esp, 8
mov eax, dword [esp + 0x24]
movsd xmm0, qword [esp + 0x1c]
lea edi, [esp + 0xf4]
mov ecx, 0x1c
lea edx, [esp + 0xe8]
mov dword [esp + 0xf0], eax
movsd qword [esp + 0xe8], xmm0
rep movsd dword es:[edi], dword [esi]
mov word [esp + 0x210], 5
lea edi, [esp + 0x194]
mov ecx, 0x1f
mov esi, edx
rep movsd dword es:[edi], dword [esi]
movsd xmm1, qword [ebx + 0x50]
movsd xmm2, qword [ebx + 0xf8]
mov eax, dword [ebx + 0x58]
movsd xmm0, qword [ebx + 0x48]
movsd qword [esp + 0xc8], xmm1
movsd xmm1, qword [ebx + 0x100]
movsd qword [esp + 0x1c], xmm2
movsd xmm2, qword [ebx + 0x110]
mov dword [esp + 0xd0], eax
mov eax, dword [ebx + 0x18]
movsd qword [esp + 0xc0], xmm0
movsd qword [esp + 0x24], xmm1
movsd xmm1, qword [ebx + 0x108]
movsd qword [esp + 0x34], xmm2
movsd xmm2, qword [ebx + 0x120]
mov dword [esp + 0x90], eax
lea eax, [ebx + 0x64]
movsd qword [esp + 0x2c], xmm1
movsd xmm1, qword [ebx + 0x118]
movsd qword [esp + 0x44], xmm2
movsd xmm2, qword [ebx + 0x130]
movsd qword [esp + 0x3c], xmm1
movsd xmm1, qword [ebx + 0x128]
movsd qword [esp + 0x54], xmm2
movsd xmm2, qword [ebx]
movsd qword [esp + 0x4c], xmm1
movsd xmm1, qword [ebx + 0x5c]
movsd qword [esp + 0x78], xmm2
movups xmmword [esp + 0x68], xmm1
movsd xmm1, qword [ebx + 8]
movsd qword [esp + 0x80], xmm1
movsd xmm1, qword [ebx + 0x10]
movsd qword [esp + 0x88], xmm1
push 0x94
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm1, qword [ebx + 0x30]
movsd xmm0, qword [ebx + 0x28]
movsd xmm2, qword [ebx + 0x40]
mov eax, dword [ebx + 0x24]
xor ecx, ecx
mov edx, 0x13c
movsd qword [esp + 0xa8], xmm1
movsd xmm1, qword [ebx + 0x38]
movsd qword [esp + 0xa0], xmm0
movsd qword [esp + 0xb8], xmm2
movsd qword [esp + 0xb0], xmm1
movsd xmm1, qword [ebx + 0x1c]
mov dword [esp + 0x9c], eax
movsd qword [esp + 0x94], xmm1
movzx eax, byte [0x77618d]
call fcn.00490be0
test eax, eax
je 0x46ac89
lea esi, [esp + 0x78]
mov ecx, 0x17
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, eax
movups xmm0, xmmword [esp + 0x68]
movlps qword [eax + 0x5c], xmm0
add eax, 0x64
push 0x94
lea ecx, [esp + 0xec]
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm0, qword [esp + 0x1c]
movsd xmm1, qword [esp + 0x24]
lea eax, [esp + 0x194]
movsd qword [esi + 0xf8], xmm0
movsd qword [esi + 0x100], xmm1
movsd xmm0, qword [esp + 0x2c]
movsd qword [esi + 0x108], xmm0
movsd xmm0, qword [esp + 0x34]
movsd qword [esi + 0x110], xmm0
movsd xmm0, qword [esp + 0x3c]
movsd qword [esi + 0x118], xmm0
movsd xmm0, qword [esp + 0x44]
movsd qword [esi + 0x120], xmm0
movsd xmm0, qword [esp + 0x4c]
movsd qword [esi + 0x128], xmm0
movsd xmm0, qword [esp + 0x54]
movsd qword [esi + 0x130], xmm0
mov byte [esi + 0x138], 1
push eax
push dword [esp + 0x22c]
push esi
push dword [esp + 0xc]
call fcn.004680a0
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x46ac21
push dword [esp + 8]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test dword [esp + 0x10], 0x7fffffff
je 0x46ac3d
push dword [esp + 0xc]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp]
lea ecx, [eax + 0x7fffffff]
cmp ecx, 5
setae dl
cmp ecx, 1
sete cl
or cl, dl
je 0x46ac7d
mov ecx, dword [esp + 4]
cmp dword [ecx], 0x80000006
je 0x46ac6a
call fcn.0044e4f0
mov eax, dword [ebp]
test eax, 0x7fffffff
je 0x46a7a4
push dword [ebp + 4]
jmp 0x46a796
mov ecx, ebp
call fcn.00463a10
jmp 0x46a7a4
ud2