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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x4c8
mov eax, dword [edx]
mov ebx, edx
mov esi, ecx
movzx edi, word [edx + 0x30]
movzx edx, word [edx + 0x32]
movzx ecx, word [ebx + 0x34]
mov dword [ebx], 0
cmp eax, 1
jne 0x4e25ef
mov ebp, dword [ebx + 0x254]
cmp di, 0x2e
jne 0x4e270a
test dx, dx
je 0x4e25ef
cmp dx, 0x2e
jne 0x4e270a
test cx, cx
jne 0x4e270a
lea edi, [esp + 0x58]
push 0x250
push 0
push edi
call fcn.0058a690
add esp, 0xc
mov ebp, dword [ebx + 0x258]
push edi
push ebp
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
je 0x4e26f0
mov eax, dword [ebx + 0x254]
mov ebx, dword [sym.imp.kernel32.dll_FindNextFileW]
mov dword [esp + 0xc], eax
jmp 0x4e263c
push edi
push ebp
call ebx
test eax, eax
je 0x4e26f0
cmp word [esp + 0x84], 0x2e
jne 0x4e2665
movzx eax, word [esp + 0x86]
test ax, ax
je 0x4e2630
cmp ax, 0x2e
jne 0x4e2665
cmp word [esp + 0x88], 0
je 0x4e2630
mov ebp, dword [esp + 0xc]
lock inc dword [ebp]
jle 0x4e2871
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
movsd xmm0, qword [esp + 0x60]
mov edi, ebx
mov dword [esp + 8], eax
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [esp + 0x68]
shrd edi, eax, 8
mov eax, dword [esp + 0x80]
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [esp + 0x70]
mov dword [esp + 0x30], eax
movzx eax, word [esp + 0x84]
movsd qword [esp + 0x20], xmm0
movsd xmm0, qword [esp + 0x78]
mov word [esp + 2], ax
movzx eax, word [esp + 0x86]
movsd qword [esp + 0x28], xmm0
mov word [esp + 4], ax
movzx eax, word [esp + 0x88]
mov word [esp + 6], ax
lea eax, [esp + 0x8a]
jmp 0x4e276b
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x12
jne 0x4e2783
mov dword [esi], 0
jmp 0x4e2866
mov word [esp + 2], di
mov word [esp + 4], dx
mov word [esp + 6], cx
lock inc dword [ebp]
jle 0x4e2871
mov edx, dword [ebx + 4]
mov ecx, dword [ebx + 8]
movsd xmm1, qword [ebx + 0x1c]
movsd xmm0, qword [ebx + 0x24]
movsd xmm2, qword [ebx + 0x14]
lea eax, [ebx + 0x36]
mov edi, edx
movsd qword [esp + 0x20], xmm1
movsd xmm1, qword [ebx + 0xc]
mov dword [esp + 8], ecx
movsd qword [esp + 0x28], xmm0
movsd qword [esp + 0x18], xmm2
shrd edi, ecx, 8
mov ecx, dword [ebx + 0x2c]
mov ebx, edx
movsd qword [esp + 0x10], xmm1
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x2aa]
push 0x21e
push eax
push ecx
call fcn.0058a110
add esp, 0xc
jmp 0x4e2791
xor ebx, ebx
call dword [sym.imp.kernel32.dll_GetLastError]
xor ebp, ebp
mov dword [esp + 8], eax
shl edi, 8
movzx ebx, bl
or ebx, edi
test ebp, ebp
je 0x4e27ef
movsd xmm1, qword [esp + 0x20]
mov eax, dword [esp + 0x30]
movsd xmm0, qword [esp + 0x28]
movsd xmm2, qword [esp + 0x10]
lea ecx, [esp + 0x58]
movsd qword [esp + 0x44], xmm1
movsd xmm1, qword [esp + 0x18]
mov dword [esp + 0x54], eax
movsd qword [esp + 0x4c], xmm0
movsd qword [esp + 0x34], xmm2
lea eax, [esp + 0x2aa]
movsd qword [esp + 0x3c], xmm1
push 0x21e
push eax
push ecx
call fcn.0058a110
add esp, 0xc
mov eax, dword [esp + 8]
movsd xmm0, qword [esp + 0x34]
mov dword [esi + 4], ebp
mov dword [esi + 8], ebx
movsd xmm1, qword [esp + 0x3c]
lea ecx, [esp + 0x58]
mov dword [esi + 0xc], eax
movsd qword [esi + 0x10], xmm0
movsd xmm0, qword [esp + 0x44]
mov eax, dword [esp + 0x54]
movsd qword [esi + 0x18], xmm1
movsd qword [esi + 0x20], xmm0
movsd xmm0, qword [esp + 0x4c]
mov dword [esi + 0x30], eax
movzx eax, word [esp + 2]
movsd qword [esi + 0x28], xmm0
mov word [esi + 0x34], ax
movzx eax, word [esp + 4]
mov word [esi + 0x36], ax
movzx eax, word [esp + 6]
mov word [esi + 0x38], ax
lea eax, [esi + 0x3a]
push 0x21e
push ecx
push eax
call fcn.0058a110
add esp, 0xc
mov dword [esi], 1
add esp, 0x4c8
pop esi
pop edi
pop ebx
pop ebp
ret
ud2