Function at 0x423920
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbf4
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x52e480
mov edi, dword [ebp + 8]
cmp dword [ebp + 0x10], 0
lea esi, [ebp - 0x18]
mov eax, dword fs:[0]
mov dword [ebp - 0x18], eax
mov dword fs:[0], esi
je 0x423a87
mov ebx, edx
mov esi, ecx
test edx, edx
mov dword [ebp - 0x30], ecx
je 0x423ae9
js 0x42428d
movzx eax, byte [0x5a11e8]
mov eax, dword [0x5a1188]
test eax, eax
jne 0x423995
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x424268
mov dword [0x5a1188], eax
push ebx
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x424268
push ebx
push esi
mov dword [ebp - 0x24], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, byte [0x5a11e8]
mov eax, dword [0x5a1188]
test eax, eax
jne 0x4239d8
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x424274
mov dword [0x5a1188], eax
push ebx
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x424274
mov esi, eax
push ebx
push dword [ebp - 0x30]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x384], ebx
mov dword [ebp - 0x380], esi
mov dword [ebp - 0x37c], ebx
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x378], 0
mov dword [ebp - 0x10], 3
lea ecx, [ebp - 0x384]
mov edx, 0x59d175
push 1
call fcn.005206f0
add esp, 4
mov eax, dword [ebp - 0x384]
mov edx, dword [ebp - 0x380]
mov esi, dword [ebp - 0x37c]
mov byte [ebp - 0x1e], 1
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x384]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x34], edx
push esi
call fcn.005196a0
add esp, 4
mov eax, dword [ebp - 0x384]
mov ecx, dword [ebp - 0x380]
mov esi, dword [ebp - 0x37c]
cmp eax, 0x80000000
jne 0x423af5
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x2c]
jmp 0x423b3f
mov byte [ebp - 0x9e2], 0xc1
lea eax, [ebp - 0x9e2]
lea ecx, [ebp - 0x384]
mov edx, edi
push 1
push eax
call fcn.00426f60
add esp, 8
cmp byte [ebp - 0x384], 4
je 0x423bb3
mov eax, dword [ebp - 0x384]
mov ecx, dword [ebp - 0x380]
mov edx, 0x53aa9c
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xcc], ecx
mov ecx, edi
push eax
push 5
call fcn.00427fb0
add esp, 8
jmp 0x423bb3
mov esi, 3
xor edx, edx
jmp 0x423b75
mov dword [ebp - 0x384], eax
mov dword [ebp - 0x380], ecx
lea ecx, [ebp - 0x7c4]
lea edx, [ebp - 0x384]
mov dword [ebp - 0x37c], esi
mov byte [ebp - 0x1e], 1
call fcn.0051f730
mov eax, dword [ebp - 0x7c4]
mov ecx, dword [ebp - 0x7c0]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x2c]
cmp eax, 0x80000000
jne 0x423bc7
mov esi, dword [ebp - 0x7bc]
mov eax, ecx
mov dword [ebp - 0x28], ecx
shr eax, 8
cmp dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], eax
je 0x423b61
push dword [ebp - 0x34]
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
push dword [ebp - 0x24]
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x4c]
movzx eax, dl
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0xd4], esi
lea esi, [ebp - 0x384]
shl ecx, 8
or eax, ecx
mov ecx, esi
mov dword [ebp - 0xd8], eax
push ebx
call fcn.00524110
add esp, 4
lea eax, [ebp - 0xd8]
mov ecx, edi
mov edx, esi
push eax
call fcn.00427dd0
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0xbf4
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x40], eax
push 0x250
push 0
lea esi, [ebp - 0x384]
push esi
mov edi, ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
mov dword [ebp - 0x28], edi
push edi
call dword [sym.imp.kernel32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov esi, eax
mov dword [ebp - 0x44], eax
je 0x423d3a
movzx eax, byte [0x5a11e8]
mov eax, dword [0x5a1188]
test eax, eax
jne 0x423c1e
call dword [sym.imp.kernel32.dll_GetProcessHeap]
test eax, eax
je 0x424292
mov dword [0x5a1188], eax
push 0x18
push 0
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x424292
mov dword [eax], 1
mov ebx, eax
mov dword [eax + 4], 1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0
lea ecx, [ebp - 0x9e2]
mov eax, dword [ebp - 0x384]
mov esi, dword [ebp - 0x380]
movsd xmm2, qword [ebp - 0x374]
movsd xmm1, qword [ebp - 0x36c]
movq xmm0, qword [ebp - 0x37c]
mov dword [ebp - 0x48], eax
shrd eax, esi, 8
movsd qword [ebp - 0x59c], xmm2
movsd qword [ebp - 0x594], xmm1
movsd xmm2, qword [ebp - 0x364]
movss xmm1, dword [ebp - 0x358]
movq qword [ebp - 0x5a4], xmm0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x35c]
movsd qword [ebp - 0x58c], xmm2
movups xmmword [ebp - 0x130], xmm1
mov dword [ebp - 0x584], eax
movzx eax, word [ebp - 0x354]
mov word [ebp - 0x3a], ax
lea eax, [ebp - 0x352]
push 0x21e
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edi, 1
cmp dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x28]
je 0x423d0a
push eax
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [ebp - 0x5c], 0
je 0x423d21
push dword [ebp - 0x34]
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [ebp - 0x44], 0xffffffff
je 0x423d59
cmp edi, 2
jne 0x423d76
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x2c]
jmp 0x423b75
mov edi, 2
mov dword [ebp - 0x48], 0
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x28]
jne 0x423cfb
jmp 0x423d0a
push dword [ebp - 0x24]
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x44], 0xffffffff
cmp edi, 2
je 0x423d2c
movsd xmm1, qword [ebp - 0x59c]
movsd xmm0, qword [ebp - 0x5a4]
movsd xmm2, qword [ebp - 0x594]
mov eax, dword [ebp - 0x584]
mov dword [ebp - 0x40], esi
lea esi, [ebp - 0xc00]
movsd qword [ebp - 0xf4], xmm1
movsd xmm1, qword [ebp - 0x58c]
mov dword [ebp - 0xdc], eax
movsd qword [ebp - 0xfc], xmm0
movsd qword [ebp - 0xec], xmm2
lea eax, [ebp - 0x9e2]
movsd qword [ebp - 0xe4], xmm1
push 0x21e
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm1, qword [ebp - 0xf4]
movsd xmm0, qword [ebp - 0xfc]
movsd xmm2, qword [ebp - 0xec]
mov eax, dword [ebp - 0xdc]
movsd qword [ebp - 0x118], xmm1
movsd xmm1, qword [ebp - 0xe4]
movsd qword [ebp - 0x120], xmm0
movsd qword [ebp - 0x110], xmm2
mov dword [ebp - 0x100], eax
movsd qword [ebp - 0x108], xmm1
push 0x21e
push esi
lea eax, [ebp - 0x7c4]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movdqu xmm0, xmmword [ebp - 0x130]
mov dword [ebp - 0x38], ebx
movd eax, xmm0
pextrw ecx, xmm0, 1
cmp ax, 0x2e
sete al
test ecx, ecx
sete dl
xor ecx, 0x2e
or cx, word [ebp - 0x3a]
sete cl
or cl, dl
and cl, al
mov byte [ebp - 0x34], cl
jmp 0x423f20
mov eax, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x80]
lea ecx, [ebp - 0x378]
movsd xmm1, qword [ebp - 0x78]
movsd xmm3, qword [ebp - 0x70]
movsd xmm2, qword [ebp - 0x68]
mov byte [ebp - 0x380], al
mov eax, dword [ebp - 0x24]
mov word [ebp - 0x37f], bx
shr ebx, 0x10
mov byte [ebp - 0x37d], bl
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp - 0x60]
movsd qword [ecx], xmm0
movdqu xmm0, xmmword [ebp - 0x5c]
movsd qword [ecx + 8], xmm1
movsd qword [ecx + 0x10], xmm3
movsd qword [ecx + 0x18], xmm2
mov dword [ecx + 0x20], eax
movzx eax, word [ebp - 0x28]
movd dword [ebp - 0x354], xmm0
mov word [ebp - 0x350], ax
push 0x21e
push edi
lea eax, [ebp - 0x34e]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ebx, dword [ebp - 0x38]
mov edx, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x384], ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00424390
add esp, 8
xor edi, edi
cmp edi, 1
setne al
or al, byte [ebp - 0x34]
je 0x424030
push 0x250
push 0
lea esi, [ebp - 0x384]
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
mov edi, dword [ebp - 0x44]
jmp 0x423f51
push esi
push edi
call dword [sym.imp.kernel32.dll_FindNextFileW]
test eax, eax
je 0x4241e0
cmp word [ebp - 0x358], 0x2e
jne 0x423f86
movzx eax, word [ebp - 0x356]
test ax, ax
je 0x423f50
cmp ax, 0x2e
jne 0x423f86
cmp word [ebp - 0x354], 0
je 0x423f50
lock inc dword [ebx]
jle 0x4242a8
mov eax, dword [ebp - 0x380]
mov ebx, dword [ebp - 0x384]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x378]
mov dword [ebp - 0x30], ebx
shr ebx, 8
movsd xmm1, qword [eax + 4]
movsd xmm0, qword [eax - 4]
movsd xmm2, qword [eax + 0x14]
movsd qword [ebp - 0x9c], xmm1
movsd xmm1, qword [eax + 0xc]
mov eax, dword [eax + 0x1c]
movsd qword [ebp - 0xa4], xmm0
movsd qword [ebp - 0x8c], xmm2
movsd qword [ebp - 0x94], xmm1
mov dword [ebp - 0x84], eax
movss xmm1, dword [ebp - 0x358]
movzx eax, word [ebp - 0x354]
movups xmmword [ebp - 0x5c], xmm1
mov word [ebp - 0x28], ax
push 0x21e
lea eax, [ebp - 0x352]
push eax
lea esi, [ebp - 0x9e2]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x2c], 0
jmp 0x4240ca
lock inc dword [ebx]
lea esi, [ebp - 0x9e2]
mov edi, dword [ebp - 0x40]
jle 0x4242a8
movsd xmm1, qword [ebp - 0x110]
mov eax, dword [ebp - 0x100]
movsd xmm0, qword [ebp - 0x108]
movsd xmm2, qword [ebp - 0x120]
movsd qword [ebp - 0x94], xmm1
movsd xmm1, qword [ebp - 0x118]
mov dword [ebp - 0x84], eax
movsd qword [ebp - 0x8c], xmm0
movsd qword [ebp - 0xa4], xmm2
movsd qword [ebp - 0x9c], xmm1
push 0x21e
lea eax, [ebp - 0x7c4]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
test ebx, ebx
movups xmm0, xmmword [ebp - 0x130]
mov ebx, dword [ebp - 0x4c]
movzx ecx, word [ebp - 0x3a]
mov dword [ebp - 0x24], edi
sete al
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
movups xmmword [ebp - 0x5c], xmm0
mov word [ebp - 0x28], cx
movsd xmm1, qword [ebp - 0x94]
mov eax, dword [ebp - 0x84]
movsd xmm0, qword [ebp - 0x8c]
movsd xmm2, qword [ebp - 0xa4]
movsd qword [ebp - 0xb8], xmm1
movsd xmm1, qword [ebp - 0x9c]
mov dword [ebp - 0xa8], eax
movsd qword [ebp - 0xb0], xmm0
movsd qword [ebp - 0xc8], xmm2
movsd qword [ebp - 0xc0], xmm1
push 0x21e
push esi
lea esi, [ebp - 0x384]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm1, qword [ebp - 0xc0]
movq xmm0, qword [ebp - 0xc8]
movsd xmm2, qword [ebp - 0xb8]
mov eax, dword [ebp - 0xa8]
movsd qword [ebp - 0x78], xmm1
movsd xmm1, qword [ebp - 0xb0]
movq qword [ebp - 0x80], xmm0
movsd qword [ebp - 0x70], xmm2
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x68], xmm1
push 0x21e
push esi
lea edi, [ebp - 0x5a4]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp byte [ebp - 0x2c], 0
je 0x423e80
cmp byte [ebp - 0x30], 3
mov ebx, dword [ebp - 0x38]
jne 0x423f1e
mov edi, dword [ebp - 0x24]
mov esi, dword [edi]
mov ebx, dword [edi + 4]
push esi
call dword [ebx]
add esp, 4
cmp dword [ebx + 4], 0
je 0x4241c0
cmp dword [ebx + 8], 9
jb 0x4241b1
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
push edi
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ebx, dword [ebp - 0x38]
xor edi, edi
jmp 0x423f20
mov ebx, dword [sym.imp.kernel32.dll_GetLastError]
call ebx
cmp eax, 0x12
je 0x42424b
call ebx
movsd xmm1, qword [ebp - 0xc0]
movq xmm0, qword [ebp - 0xc8]
movsd xmm2, qword [ebp - 0xb8]
mov eax, dword [ebp - 0xa8]
movsd qword [ebp - 0x78], xmm1
movsd xmm1, qword [ebp - 0xb0]
movq qword [ebp - 0x80], xmm0
movsd qword [ebp - 0x70], xmm2
mov dword [ebp - 0x60], eax
movsd qword [ebp - 0x68], xmm1
push 0x21e
push esi
lea eax, [ebp - 0x5a4]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ebx, dword [ebp - 0x38]
xor edi, edi
jmp 0x423f20
push edi
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [ebp - 0x38]
lock dec dword [ecx]
jne 0x423bb3
call fcn.0040e210
jmp 0x423bb3
mov ecx, 1
mov edx, ebx
call fcn.00531970
mov ecx, 1
mov edx, ebx
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x10], 0
call fcn.00531970
jmp 0x4242a8
call fcn.004478d0
mov ecx, 4
mov edx, 0x18
mov dword [ebp - 0x10], 2
call fcn.00531970
ud2