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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x94
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x513410
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
mov ebx, dword [ebp + 8]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
movzx eax, byte [esi + 0x24]
cmp al, 0xc
jne 0x5124ed
mov byte [esi + 0x24], 0xc
lea eax, [esi + 0x25]
lea ecx, [ebp - 0xa0]
push 0x57
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [esi], 0
je 0x51256d
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x20]
cmp eax, ecx
jae 0x51272a
mov ecx, dword [esi + 0x18]
lea edx, [eax + eax*8]
cmp dword [ecx + edx*4 + 8], 0
je 0x5125ba
mov esi, dword [ecx + edx*4 + 0xc]
mov edi, 1
jmp 0x5125bc
mov edx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov edi, dword [esi + 0x34]
cmp al, 0xb
mov dword [ebp - 0x24], edx
mov edx, dword [esi + 0x30]
mov byte [esi + 0x24], 0xb
mov dword [ebp - 0x20], edx
jne 0x512537
mov eax, dword [esi + 0x38]
mov dword [esi + 0x38], 0
test eax, eax
je 0x512629
mov ecx, dword [esi + 0x44]
movq xmm0, qword [esi + 0x3c]
mov dword [ebx + 0x10], ecx
movq qword [ebx + 8], xmm0
mov dword [ebx], 4
mov dword [ebx + 4], eax
jmp 0x512613
mov edx, ecx
movzx ebx, word [esi + 0x25]
mov ecx, dword [ebp + 8]
mov ah, byte [esi + 0x27]
mov word [ecx + 5], bx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov byte [ebx + 7], ah
mov dword [ebx], 3
mov byte [ebx + 4], al
mov dword [ebx + 8], edx
mov edx, dword [ebp - 0x24]
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], ecx
jmp 0x512613
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x14]
je 0x5125b3
lea ecx, [eax + 0x34]
mov dword [esi + 0x10], ecx
movsd xmm1, qword [eax + 0x18]
movq xmm0, qword [eax]
movsd qword [ebp - 0x90], xmm1
movd ecx, xmm0
movsd xmm1, qword [eax + 0x10]
cmp ecx, 2
movsd qword [ebp - 0x98], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [ebp - 0xa0], xmm1
jne 0x512652
mov eax, 8
jmp 0x512611
xor edi, edi
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov dword [eax + 4], esi
xor eax, eax
mov esi, dword [ecx + edx*4 + 0x20]
mov dword [ebp - 0x28], esi
movq xmm0, qword [ecx + edx*4 + 0x10]
movsd xmm1, qword [ecx + edx*4 + 0x18]
movsd qword [ebp - 0x30], xmm1
movq qword [ebp - 0x38], xmm0
movsd xmm1, qword [ebp - 0x40]
movq xmm0, qword [ebp - 0x48]
movsd xmm2, qword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
movsd qword [ebx + 0xc], xmm1
movsd xmm1, qword [ebp - 0x30]
movq qword [ebx + 4], xmm0
movsd qword [ebx + 0x14], xmm2
mov dword [ebx + 0x24], ecx
movsd qword [ebx + 0x1c], xmm1
mov dword [ebx], eax
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ebx
add esp, 0x94
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x48]
mov dword [esi + 0x48], 0
test eax, eax
je 0x512697
mov ecx, dword [esi + 0x54]
movq xmm0, qword [esi + 0x4c]
mov dword [ebx + 0x10], ecx
movq qword [ebx + 8], xmm0
mov dword [ebx], 2
mov dword [ebx + 4], eax
jmp 0x512613
movsd xmm2, qword [eax + 0x28]
movsd xmm1, qword [eax + 0x20]
movsd xmm3, qword [ebp - 0x9c]
mov eax, dword [ebp - 0x8c]
movq qword [esi], xmm0
movsd qword [ebp - 0x40], xmm2
movsd xmm2, qword [ebp - 0x94]
mov dword [ebp - 0x28], eax
movsd qword [ebp - 0x48], xmm1
movsd qword [ebp - 0x38], xmm3
mov eax, 1
movsd qword [ebp - 0x30], xmm2
jmp 0x5125e3
mov eax, dword [esi + 0x58]
mov dword [esi + 0x58], 0
test eax, eax
je 0x5126c3
mov ecx, dword [esi + 0x64]
movq xmm0, qword [esi + 0x5c]
mov dword [ebx + 0x10], ecx
movq qword [ebx + 8], xmm0
mov dword [ebx], 5
mov dword [ebx + 4], eax
jmp 0x512613
mov eax, dword [esi + 0x68]
mov dword [esi + 0x68], 0
test eax, eax
je 0x5126ef
mov ecx, dword [esi + 0x74]
movq xmm0, qword [esi + 0x6c]
mov dword [ebx + 0x10], ecx
movq qword [ebx + 8], xmm0
mov dword [ebx], 6
mov dword [ebx + 4], eax
jmp 0x512613
movzx eax, word [esi + 0x78]
mov word [esi + 0x78], 0
test ax, ax
je 0x51270d
mov dword [ebx], 7
mov word [ebx + 4], ax
jmp 0x512613
lea ecx, [esi + 0x24]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], ecx
call fcn.0040b170
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
jmp 0x51249e
mov dword [ebp - 0x10], 0xffffffff
push 0x62aa94
push ecx
push eax
call fcn.005a0c50
add esp, 0xc
ud2