Function at 0x43f370
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507a05
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x178
push esi
push edi
xorps xmm0, xmm0
mov dword [ebp - 0x30], edx
xor esi, esi
mov edi, 0xf
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], esi
cmp eax, ecx
je 0x43f3e4
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
jb 0x43f3d4
mov ecx, dword [ecx]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00466160
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov eax, edi
sub eax, esi
cmp eax, 2
jb 0x43f410
lea eax, [esi + 2]
cmp edi, 0x10
mov dword [ebp - 0x18], eax
mov ecx, 0x2a5c
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov word [eax + esi], cx
mov byte [eax + esi + 2], 0
lea eax, [ebp - 0x28]
jmp 0x43f428
push 2
push 0x521c20
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
push 2
call fcn.0046c3b0
cmp dword [eax + 0x14], 0x10
jb 0x43f430
mov eax, dword [eax]
lea ecx, [ebp - 0x188]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x43f5a0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
nop
test byte [ebp - 0x188], 0x10
je 0x43f578
mov ecx, 0x52181c
lea eax, [ebp - 0x15c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x43f488
test dl, dl
je 0x43f484
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x43f488
add eax, 2
add ecx, 2
test dl, dl
jne 0x43f468
xor eax, eax
jmp 0x43f48d
sbb eax, eax
or eax, 1
test eax, eax
je 0x43f578
mov eax, 0x521c84
lea ecx, [ebp - 0x15c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x43f4c0
test dl, dl
je 0x43f4bc
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x43f4c0
add ecx, 2
add eax, 2
test dl, dl
jne 0x43f4a0
xor eax, eax
jmp 0x43f4c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x43f578
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43f4f0
sub ecx, edx
lea eax, [ebp - 0x15c]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00402870
mov edx, dword [ebp - 0x30]
mov byte [ebp - 4], 1
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x43f538
movups xmm0, xmmword [ebp - 0x48]
mov ecx, 0xf
mov byte [ebp - 0x48], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x38]
movq qword [eax + 0x10], xmm0
add dword [edx + 4], 0x18
jmp 0x43f547
lea ecx, [ebp - 0x48]
push ecx
push eax
mov ecx, edx
call fcn.00473170
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x43f578
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43f56e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f5e3
push ecx
push edx
call fcn.004dd831
add esp, 8
lea eax, [ebp - 0x188]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43f450
call edi
cmp eax, 0x12
jne 0x43f450
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x43f5d0
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43f5c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f5e3
push ecx
push edx
call fcn.004dd831
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e2ad0
int3