Function at 0x421b60
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa999
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b4
push esi
mov dword [ebp - 0x20], ecx
push edi
mov byte [ebp - 0x19], dl
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [ebp - 0x14], 1
cmp esi, edi
je 0x421bd8
nop dword [eax]
mov ecx, esi
call fcn.00402890
add esi, 0x18
cmp esi, edi
jne 0x421bc0
mov esi, dword [ebp - 0x20]
mov eax, dword [esi]
mov dword [esi + 4], eax
jmp 0x421bdb
mov esi, dword [ebp - 0x20]
mov word [ebp - 0xf], 0xf583
xor ecx, ecx
mov byte [ebp - 0xd], 0
nop word [eax + eax]
movzx eax, byte [ebp + ecx - 0xf]
push eax
call fcn.00461130
mov byte [ebp + ecx - 0xf], al
inc ecx
cmp ecx, 2
jb 0x421bf0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xf]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421c12
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x421f39
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0xf]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x68]
call fcn.004680d0
cmp dword [ebp - 0x54], 0x10
lea ecx, [ebp - 0x1c0]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x14], 3
cmovae eax, dword [ebp - 0x68]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, 3
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
and edi, 0xfffffffd
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00402890
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x421f11
cmp byte [ebp - 0x19], 0
jne 0x421ca9
test byte [ebp - 0x1c0], 0x10
jne 0x421edc
jmp 0x421cb6
test byte [ebp - 0x1c0], 0x10
je 0x421edc
lea ecx, [ebp - 0x194]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421cc0
mov al, byte [ebp - 0x194]
sub ecx, edx
cmp ecx, 1
jne 0x421cdc
cmp al, 0x2e
je 0x421ed9
cmp ecx, 2
jne 0x421cf1
cmp al, 0x2e
jne 0x421cf1
cmp byte [ebp - 0x193], al
je 0x421ed9
cmp byte [ebp + 0x20], 0
je 0x421e23
push 0xffffffffffffff83
mov byte [ebp - 0xd], 0
call fcn.00461130
mov byte [ebp - 0xe], al
mov dword [ebp - 4], 3
lea ecx, [ebp - 0xe]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421d16
sub ecx, edx
mov eax, closesocket
mov edx, dword [ebp + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x421f39
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0xe]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x80]
call fcn.004680d0
or edi, 4
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x194]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421d62
sub ecx, edx
lea eax, [ebp - 0x194]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.004623f0
mov dword [ebp - 0x40], 0
or edi, 8
mov dword [ebp - 0x3c], 0
mov ecx, esi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x50]
push eax
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x14], edi
call fcn.0045eca0
and edi, 0xfffffff7
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x421dfa
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x421df0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421f3e
push ecx
push edx
call fcn.004bafb1
add esp, 8
and edi, 0xfffffffb
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x80]
call fcn.00402890
jmp 0x421ed9
push ecx
lea eax, [ebp - 0x194]
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push eax
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
call fcn.00402aa0
mov dword [ebp - 4], 5
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x421e81
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + 0x10], xmm0
mov eax, 0xf
mov dword [ebp - 0x24], eax
add dword [esi + 4], 0x18
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
jmp 0x421e90
lea ecx, [ebp - 0x38]
push ecx
push eax
mov ecx, esi
call fcn.0046d2d0
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x421ec7
mov edx, dword [ebp - 0x38]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x421ebd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421f3e
push ecx
push edx
call fcn.004bafb1
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
mov eax, dword [ebp - 0x18]
jne 0x421c94
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x421f08
mov eax, dword [ebp - 0x18]
jmp 0x421c94
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402890
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00402210
call fcn.004d64b0
int3