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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x6f8
mov eax, dword [0x10444724]
xor eax, esp
mov dword [esp + 0x6f4], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push esi
push edi
lea edi, [eax*2 + 0x103f9f28]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
mov esi, 0x621
mov eax, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x24], 0
movzx ecx, word [eax]
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x103453e9
lea eax, [esp + 0x2c]
push eax
push 0
push esi
push edx
call fcn.102e6a90
add esp, 0x10
test eax, eax
je 0x103453e1
lea eax, [esp + 0x20]
push eax
push 0
push dword [esp + 0x30]
push dword [esp + 0x24]
call fcn.102e6a90
add esp, 0x10
test eax, eax
je 0x103453e1
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
cmp eax, edx
je 0x103453e1
cmp eax, 0xffff
ja 0x103453e1
cmp edx, 0xffff
ja 0x103453e1
inc dword [esp + 0x24]
movzx ecx, ax
mov eax, ecx
mov byte [esp + edi + 0xd9], cl
shr eax, 8
mov byte [esp + edi + 0xd8], al
movzx ecx, dx
mov eax, ecx
mov byte [esp + edi + 0x241], cl
shr eax, 8
mov byte [esp + edi + 0x240], al
add edi, 2
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
inc esi
add eax, 8
mov dword [esp + 0x1c], eax
cmp esi, 0x6d4
jb 0x10345354
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x1034541b
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x6f4]
xor ecx, esp
call fcn.1037e005
mov esp, ebp
pop ebp
ret
mov eax, 1
mov dword [esp + 0x18], eax
cmp edi, eax
jbe 0x103454f0
nop dword [eax]
mov edi, eax
test eax, eax
je 0x103454df
add eax, eax
lea esi, [esp + 0xd8]
mov dword [esp + 0x2c], eax
add eax, esi
mov dword [esp + 0x20], eax
lea esi, [eax - 2]
push eax
push esi
call fcn.103457f0
add esp, 8
test eax, eax
jle 0x1034546a
mov eax, dword [esp + 0x20]
sub esi, 2
sub edi, 1
jne 0x10345450
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x103454df
mov si, word [esp + eax*2 + 0xd8]
mov ecx, eax
sub ecx, edi
lea eax, [edi + edi]
add ecx, ecx
mov dword [esp + 0x20], eax
push ecx
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0xdc]
add edi, eax
lea ecx, [esp + 0xde]
add eax, ecx
push edi
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x24e]
push dword [esp + 0x34]
mov word [edi], si
lea edi, [esp + 0x250]
mov si, word [esp + eax + 0x250]
mov eax, dword [esp + 0x30]
add edi, eax
add eax, ecx
push edi
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [esp + 0x30]
add esp, 0x18
mov word [edi], si
mov edi, dword [esp + 0x24]
inc eax
mov dword [esp + 0x18], eax
cmp eax, edi
jb 0x10345430
push 0x34c
lea eax, [esp + 0x3ac]
push eax
lea ecx, [esp + 0x80]
call fcn.10344320
lea ecx, [esp + 0x78]
call fcn.103442c0
mov esi, eax
mov dword [esp + 0x38], edi
lea eax, [esp + 0x240]
mov dword [esp + 0x3c], 0
push 1
mov dword [esp + 0x38], eax
mov ecx, esi
lea eax, [esp + 0xdc]
mov byte [esp + 0x48], 0
push 8
mov dword [esp + 0x50], eax
lea eax, [esp + 0x80]
push 1
push eax
mov dword [esp + 0x5c], edi
call fcn.10346480
test al, al
jne 0x1034555e
mov byte [esp + 0x17], al
jmp 0x103455b3
push 0
lea eax, [esp + 0x7c]
mov ecx, esi
push eax
call fcn.10346670
movups xmm0, xmmword [esp + 0x40]
sub esp, 0x24
mov dword [esp + 0x74], 0
movups xmm1, xmmword [esp + 0x54]
mov ecx, esp
mov edx, eax
lea eax, [esp + 0x9c]
movups xmmword [esp + 0x78], xmm1
push eax
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esp + 0x78]
psrldq xmm1, 0xc
movups xmmword [ecx + 0x10], xmm0
movd dword [ecx + 0x20], xmm1
mov ecx, edx
call fcn.10343e80
mov byte [esp + 0x17], al
lea ecx, [esp + 0x78]
call fcn.103458f0
cmp byte [esp + 0x17], 0
je 0x10345628
mov eax, dword [esp + 0x84]
sub eax, dword [esp + 0x80]
sub eax, dword [esp + 0x78]
add eax, dword [esp + 0x7c]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x10345628
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
sub eax, ecx
push eax
push ecx
push esi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
sub eax, ecx
push eax
mov eax, dword [esp + 0x8c]
sub eax, dword [esp + 0x88]
push ecx
add eax, esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x18
jmp 0x1034562a
xor esi, esi
lea ecx, [esp + 0x78]
call fcn.103443e0
mov ecx, dword [esp + 0x6fc]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1037e005
mov esp, ebp
pop ebp
ret