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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xffffffc0
sub esp, 0x280
mov edi, dword [ebp + 0xc]
push edi
call fcn.00475439
pop ecx
mov esi, 0xff
lea edx, [esp + 0x1c0]
lea ecx, [esp + 0x4f]
lea ebx, [esp + 0x100]
cmp eax, esi
cmovb esi, eax
mov al, byte [edi + 0x2d]
and dword [edx + 4], 0
mov dword [edx + 8], esi
mov dword [edx], ecx
mov byte [ecx], al
push edx
push ebx
call fcn.00473c7e
pop eax
pop ecx
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
mov edi, dword [ebx + 0x10]
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], ecx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
push esi
push 0
push ebx
call fcn.00473cd8
add esp, 0xc
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x14]
movsd xmm0, qword [ebx]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0xc]
movsd qword [esp + 0x70], xmm0
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x10]
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x38]
lea eax, [edi + eax*8]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
lea eax, [esp + 0x9c]
push ebx
push eax
call fcn.00472d3c
pop eax
pop ecx
lea eax, [esp + 0xcc]
push esi
push eax
call fcn.004752ff
pop eax
pop ecx
lea esi, [esp + 0x1c0]
push esi
call fcn.004742c0
pop eax
mov eax, dword [esp + 0x78]
movsd xmm0, qword [esp + 0x70]
lea edi, [esp + 0x138]
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0xc]
movsd qword [esp + 0x90], xmm0
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x10]
and dword [eax + 0xc], 0
mov dword [esp + 0x60], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 0x20]
and dword [eax + 0x1c], 0
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x54], ecx
mov ecx, dword [eax + 0x28]
and dword [eax + 0x24], 0
mov dword [esp + 0x50], ecx
push 0x20
pop ecx
rep movsd dword es:[edi], dword [esi]
push 0x40
pop edx
mov ecx, 0x140
call fcn.0045c572
xor edi, edi
mov esi, eax
inc edi
mov dword [eax], edi
mov dword [eax + 4], edi
add eax, 8
push 0xb8
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
add esp, 0xc
and word [esi + 0xc0], 0
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x44]
shl edx, 4
movsd xmm0, qword [esp + 0x8e]
movsd xmm1, qword [esp + 0x94]
add edx, ecx
movsd qword [esi + 0xc2], xmm0
movsd qword [esi + 0xc8], xmm1
mov dword [esi + 0xd0], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 0xd4], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0xd8], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0xdc], eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0xe0], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0xe4], eax
mov dword [esi + 0xe8], edi
lea eax, [esp + 0xcc]
lea edi, [esp + 0x9c]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esi + 0xf4], xmm1
movsd qword [esi + 0xec], xmm0
mov eax, dword [edi + 8]
mov dword [esi + 0x104], eax
lea eax, [esp + 0x34]
movsd xmm0, qword [edi]
movsd qword [esi + 0xfc], xmm0
mov dword [eax], esi
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x48]
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov esi, dword [esp + 0x40]
xorps xmm0, xmm0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], ebx
lea eax, [esi + eax*8]
mov dword [edi + 0x1c], eax
movsd qword [edi + 0x20], xmm0
movsd qword [edi + 0x28], xmm0
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x44], eax
mov ah, byte [edi + 0x2c]
mov byte [esp + 0x40], ah
cmp ecx, edx
je 0x474c8d
lea eax, [ecx + 0x10]
mov dword [esp + 0xa0], eax
mov bl, byte [ecx + 0xc]
cmp bl, 2
je 0x474c8d
movsd xmm0, qword [ecx]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x100]
mov dword [esp + 0x108], eax
movsd qword [esp + 0x100], xmm0
mov byte [esp + 0x10c], bl
movzx eax, word [ecx + 0xd]
mov cl, byte [ecx + 0xf]
mov word [edx + 0xd], ax
mov eax, dword [esp + 0xb0]
mov byte [edx + 0xf], cl
cmp eax, dword [esp + 0xb8]
je 0x474c81
lea ecx, [eax + 8]
movsd xmm0, qword [esp + 0x100]
mov dword [esp + 0xb0], ecx
mov esi, dword [eax]
mov bh, byte [eax + 4]
mov eax, dword [esp + 0x108]
mov edi, dword [esp + 0xc8]
movsd qword [esp + 0x80], xmm0
mov dword [esp + 0x88], eax
movzx eax, word [edx + 0xd]
lea ecx, [edi + 1]
mov dword [esp + 0xc8], ecx
mov word [esp + 0x30], ax
mov al, byte [edx + 0xf]
mov byte [esp + 0x32], al
push edi
push dword [ebp + 0xc]
push edx
call fcn.0047555c
add esp, 0xc
mov eax, dword [esp + 0x34]
lock inc dword [eax]
jle 0x474cff
mov ecx, dword [esp + 0x108]
lea edx, [esp + 0xcc]
movsd xmm0, qword [esp + 0x100]
test edi, edi
mov dword [edx + 0x10], ecx
mov ecx, dword [esp + 0x48]
movsd qword [edx + 8], xmm0
movsd xmm0, qword [esp + 0x80]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x88]
movsd qword [edx + 0x1c], xmm0
mov dword [edx + 0x24], ecx
movzx ecx, word [esp + 0x30]
mov byte [esp + 0xf4], bl
mov word [edx + 0x29], cx
mov ch, byte [esp + 0x32]
mov byte [edx + 0x2b], ch
mov dword [esp + 0xe0], esi
mov byte [esp + 0xe4], bh
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], edi
jne 0x474c33
test byte [esp + 0x40], 1
je 0x474c33
call fcn.00475113
mov esi, dword [ebp + 8]
test eax, eax
jne 0x474cb7
push 0xd
pop ecx
lea eax, [esp + 0x1c0]
lea esi, [esp + 0xcc]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
push eax
lea edi, [esp + 0x104]
push edi
call fcn.00474e34
pop eax
pop ecx
mov ecx, 0xc0
push 0x40
pop edx
call fcn.0045c572
mov esi, eax
push 0xc0
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
call fcn.0047511f
pop eax
mov ecx, dword [esp + 0x34]
mov eax, 0xfc
xor edx, edx
add ecx, eax
push 0x493fe4
call fcn.00474270
pop ecx
mov ecx, eax
call fcn.004744a4
jmp 0x474c6e
push 0xd
pop ecx
lea eax, [esp + 0x100]
lea esi, [esp + 0xcc]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
sub esp, 0xc
lea ecx, [esp + 0x1cc]
mov dword [esp + 8], eax
mov dword [esp], ecx
call fcn.00474637
add esp, 0xc
cmp byte [esp + 0x1c0], 4
mov esi, dword [ebp + 8]
jne 0x474ca8
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa8]
jmp 0x474a5a
lea ecx, [esp + 0x100]
call fcn.00473ae6
lea ecx, [esp + 0x9c]
call fcn.00473b2a
mov eax, dword [esp + 0x34]
mov esi, dword [ebp + 8]
mov dword [esi + 4], eax
mov byte [esi], 6
jmp 0x474ced
movsd xmm0, qword [esp + 0x1c0]
movsd qword [esi], xmm0
jmp 0x474ccd
and dword [esi + 4], 0
lea ecx, [esp + 0xcc]
mov dword [esi], 5
call fcn.00473bd0
lea ecx, [esp + 0x9c]
call fcn.00473b2a
lea eax, [esp + 0x6c]
push eax
call fcn.004747cb
pop eax
lea ecx, [esp + 0x34]
call fcn.00473c2c
mov ecx, dword [ebp + 0xc]
call fcn.00473b76
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2