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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x4d0
mov eax, dword [edx]
mov esi, ecx
movd xmm0, dword [edx + 0x30]
movzx ecx, word [edx + 0x34]
mov ebx, edx
mov dword [edx], 0
cmp eax, 1
jne 0x4471d7
mov eax, dword [ebx + 0x254]
mov dword [esp], eax
movd eax, xmm0
cmp ax, 0x2e
jne 0x4472e7
pextrw eax, xmm0, 1
test eax, eax
je 0x4471d7
cmp ax, 0x2e
jne 0x4472e7
test cx, cx
jne 0x4472e7
lea edi, [esp + 0x60]
push 0x250
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ebp, dword [ebx + 0x258]
push edi
push ebp
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
je 0x4472d1
mov eax, dword [ebx + 0x254]
mov ebx, dword [sym.imp.kernel32.dll_FindNextFileW]
mov dword [esp], eax
jmp 0x44722c
push edi
push ebp
call ebx
test eax, eax
je 0x4472d1
cmp word [esp + 0x8c], 0x2e
jne 0x447255
movzx eax, word [esp + 0x8e]
test ax, ax
je 0x447220
cmp ax, 0x2e
jne 0x447255
cmp word [esp + 0x90], 0
je 0x447220
mov eax, dword [esp]
lock inc dword [eax]
jle 0x447444
movsd xmm2, qword [esp + 0x70]
movsd xmm1, qword [esp + 0x78]
mov eax, dword [esp + 0x88]
mov ebx, dword [esp + 0x60]
movq xmm0, qword [esp + 0x68]
mov edi, dword [esp + 0x64]
movsd qword [esp + 0x10], xmm2
movsd qword [esp + 0x18], xmm1
movsd xmm2, qword [esp + 0x80]
mov dword [esp + 0x28], eax
movss xmm1, dword [esp + 0x8c]
movzx eax, word [esp + 0x90]
mov ebp, ebx
movq qword [esp + 8], xmm0
shrd ebp, edi, 8
mov word [esp + 6], ax
movsd qword [esp + 0x20], xmm2
movups xmmword [esp + 0x50], xmm1
lea eax, [esp + 0x92]
jmp 0x447342
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x12
jne 0x44735a
mov dword [esi], 0
jmp 0x447439
mov eax, dword [esp]
movdqu xmmword [esp + 0x50], xmm0
mov word [esp + 6], cx
lock inc dword [eax]
jle 0x447444
movsd xmm1, qword [ebx + 0x1c]
mov edx, dword [ebx + 4]
mov edi, dword [ebx + 8]
mov ecx, dword [ebx + 0x2c]
movq xmm0, qword [ebx + 0x24]
movsd xmm2, qword [ebx + 0x14]
lea eax, [ebx + 0x36]
movsd qword [esp + 0x18], xmm1
movsd xmm1, qword [ebx + 0xc]
mov ebp, edx
mov ebx, edx
mov dword [esp + 0x28], ecx
movq qword [esp + 0x20], xmm0
movsd qword [esp + 0x10], xmm2
shrd ebp, edi, 8
movsd qword [esp + 8], xmm1
lea ecx, [esp + 0x2b2]
push 0x21e
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x44736b
xor ebx, ebx
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
mov dword [esp], 0
shl ebp, 8
movzx ebx, bl
or ebx, ebp
cmp dword [esp], 0
je 0x4473cb
movsd xmm1, qword [esp + 0x18]
mov eax, dword [esp + 0x28]
movq xmm0, qword [esp + 0x20]
movsd xmm2, qword [esp + 8]
lea ecx, [esp + 0x60]
movsd qword [esp + 0x3c], xmm1
movsd xmm1, qword [esp + 0x10]
mov dword [esp + 0x4c], eax
movq qword [esp + 0x44], xmm0
movsd qword [esp + 0x2c], xmm2
lea eax, [esp + 0x2b2]
movsd qword [esp + 0x34], xmm1
push 0x21e
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp]
movsd xmm1, qword [esp + 0x34]
movq xmm0, qword [esp + 0x2c]
movsd xmm2, qword [esp + 0x44]
lea ecx, [esp + 0x60]
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
movsd qword [esi + 0x18], xmm1
movsd xmm1, qword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
movq qword [esi + 0x10], xmm0
movsd qword [esi + 0x28], xmm2
movsd qword [esi + 0x20], xmm1
mov dword [esi + 0x30], eax
movups xmm1, xmmword [esp + 0x50]
movzx eax, word [esp + 6]
movss dword [esi + 0x34], xmm1
mov word [esi + 0x38], ax
lea eax, [esi + 0x3a]
push 0x21e
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [esi], 1
add esp, 0x4d0
pop esi
pop edi
pop ebx
pop ebp
ret
ud2