Function at 0x475cf0
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 0x475d08
pop eax
mov esi, edx
mov ecx, edx
mov dword [esp + 0x68], eax
mov edx, ebp
call fcn.0046e1d0
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 0x475d7b
cmp dword [ebp + 0xc], 0x80000006
jne 0x475d7b
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 0x475e68
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 0x47603b
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 [0x90320d]
lea ebp, [edi + 0x7fffffff]
cmp ebp, 5
setb bl
cmp ebp, 1
setne bh
xor ecx, ecx
call fcn.0049d570
mov esi, eax
test bl, bh
jne 0x475ded
test esi, esi
je 0x4766a9
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 0x475e18
test esi, esi
je 0x4766a9
cmp ebp, 5
mov eax, 1
mov word [esi], 2
mov dword [esp + 0x10], 0
cmovb eax, ebp
movzx eax, byte [eax + 0x8ff0b6]
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 0x475f47
mov edx, dword [esp + 0x68]
add edx, dword [ecx*4 + 0x4766ac]
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 0x475fbc
mov edi, dword [eax + 0x20]
cmp si, 3
jne 0x475f92
shr esi, 0x10
shl ebp, 3
jmp 0x475ebc
add edi, 8
add ebp, 0xfffffff8
je 0x475fbc
mov eax, dword [edi + 4]
push dword [edi]
call dword [eax + 0x1c]
add esp, 4
cmp ax, 3
jne 0x475eb0
cmp dx, si
jne 0x475eb0
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x22c]
mov edx, dword [esp + 8]
cmp esi, 0x10000
jbe 0x4761de
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.00459840
add esp, 4
mov eax, dword [esp]
mov byte [esi + 0x251], 1
mov byte [eax], 3
mov byte [eax + 4], 0xa
jmp 0x476016
test dword [esp + 0xec], 0x7fffffff
je 0x475f64
push dword [eax]
push 0
push dword [0x903200]
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 0x4760ba
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 0x475ed2
add edi, 8
add ebp, 0xfffffff8
jne 0x475fa0
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.00459840
add esp, 4
mov ebp, dword [esp + 0x22c]
mov eax, dword [esp]
mov byte [esi + 0x251], 1
mov word [eax], 0x3309
test dword [esp + 0x10], 0x7fffffff
je 0x476032
push dword [esp + 0xc]
push 0
push dword [0x903200]
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 0x47606e
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x22c]
cmp dword [ecx], 0x80000006
je 0x476065
call fcn.00458990
mov eax, dword [esi]
test eax, 0x7fffffff
je 0x4760ba
jmp 0x476095
mov ecx, dword [esp + 4]
mov esi, dword [esp + 0x22c]
add eax, 0x7fffffff
cmp eax, 3
ja 0x4760ad
mov edx, dword [esp + 0x68]
add edx, dword [eax*4 + 0x4766bc]
jmp edx
mov eax, 4
push dword [esi + eax]
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x4760ba
test dword [esi + 4], 0x7fffffff
jne 0x4761fc
mov eax, dword [ebx + 0x5c]
lock dec dword [eax]
jne 0x4760ca
lea ecx, [ebx + 0x5c]
call fcn.00468c10
cmp byte [ebx + 0x48], 0
jne 0x4760ea
test dword [ebx + 0x4c], 0x7fffffff
je 0x4760ea
push dword [ebx + 0x50]
push 0
push dword [0x903200]
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 0x4760fc
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x47611a
cmp dword [edi + 8], 9
jb 0x47610b
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
test dword [ebx], 0x7fffffff
je 0x476133
push dword [ebx + 4]
push 0
push dword [0x903200]
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 0x476145
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x476163
cmp dword [edi + 8], 9
jb 0x476154
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
lea ecx, [ebx + 0x70]
call fcn.00444b60
lea ecx, [ebx + 0xb4]
call fcn.00444b60
lea ecx, [ebx + 0x28]
call fcn.00475560
mov edi, dword [ebx + 0x1c]
mov eax, edi
neg eax
jo 0x4761c4
mov ebp, dword [ebx + 0x20]
mov ebx, dword [ebx + 0x24]
test ebx, ebx
je 0x4761ad
mov esi, ebp
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, esi
call fcn.00447aa0
add esi, 0x3c
dec ebx
jne 0x4761a0
mov ebx, dword [esp + 0x14]
test edi, edi
je 0x4761c4
push ebp
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
push ebx
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
add esp, 0x214
pop esi
pop edi
pop ebx
pop ebp
ret
test esi, esi
je 0x476206
mov ecx, 8
mov edx, esi
call fcn.0049d570
test eax, eax
je 0x4766a9
mov edx, dword [esp + 8]
jmp 0x47620b
mov eax, 8
jmp 0x47609a
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 0x47627f
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.00459840
add esp, 4
mov eax, dword [esp]
mov byte [esi + 0x251], 1
mov word [eax], 0x1809
jmp 0x476326
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.00454a40
xor eax, eax
cmp eax, dword [esp + 0x78]
jno 0x476349
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.00459840
add esp, 4
mov byte [esi + 0x251], 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 0x476016
push eax
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x476016
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.004591f0
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.00458250
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 [0x90320d]
call fcn.0049d570
test eax, eax
je 0x4766a9
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.00473ab0
add esp, 0x10
cmp dword [esp + 0x18], 0
je 0x476641
push dword [esp + 8]
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
test dword [esp + 0x10], 0x7fffffff
je 0x47665d
push dword [esp + 0xc]
push 0
push dword [0x903200]
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 0x47669d
mov ecx, dword [esp + 4]
cmp dword [ecx], 0x80000006
je 0x47668a
call fcn.00458990
mov eax, dword [ebp]
test eax, 0x7fffffff
je 0x4761c4
push dword [ebp + 4]
jmp 0x4761b6
mov ecx, ebp
call fcn.0046ee10
jmp 0x4761c4
ud2