Function at 0x436d40
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 0x4ac5d7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x758
mov eax, dword [0x4dd070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x750], eax
mov ecx, dword [ebx + 8]
xorps xmm0, xmm0
xor esi, esi
movq qword [ebp - 0x4c8], xmm0
xor edi, edi
mov dword [ebp - 0x4c0], 0
mov dword [ebp - 0x734], ecx
mov dword [ebp - 0x754], 0
mov dword [ebp - 0x4c8], esi
mov dword [ebp - 0x4c4], edi
mov dword [ebp - 0x4c0], esi
mov dword [ebp - 4], edi
cmp dword [eax + 0x130], edi
jne 0x436de1
mov dword [ecx], edi
mov eax, ecx
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
jmp 0x4371e7
movups xmmword [ebp - 0x4bc], xmm0
mov dword [ebp - 0x4ac], 0
push 8
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4b4], 0
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 0
call fcn.00465df1
add esp, 4
mov dword [ebp - 0x4bc], eax
test eax, eax
je 0x436e4b
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x4bc]
lea ecx, [ebp - 0x4bc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x750]
add eax, 0x120
mov byte [ebp - 4], 1
push eax
call fcn.00437d70
cmp dword [ebp - 0x4ac], 0
je 0x4371b4
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax + eax]
lea eax, [ebp - 0x764]
push eax
lea ecx, [ebp - 0x4bc]
call fcn.004381d0
mov edx, eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x436e9e
xor eax, eax
jmp 0x436ea0
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push 0xffffffffffffffff
mov eax, dword [eax + ecx*4]
xor ecx, ecx
push ecx
mov word [ebp - 0x4e0], cx
lea ecx, [ebp - 0x4e0]
push eax
mov dword [ebp - 0x4cc], 7
mov dword [ebp - 0x4d0], 0
call fcn.0042c000
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4b4]
mov eax, dword [ebp - 0x4b8]
dec ecx
and ecx, dword [ebp - 0x4b0]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x436f06
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.0042c460
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x436f1c
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
sub dword [ebp - 0x4ac], 1
jne 0x436f32
mov dword [ebp - 0x4b0], eax
jmp 0x436f38
inc dword [ebp - 0x4b0]
push 0x208
lea eax, [ebp - 0x4a8]
push 0
push eax
call fcn.0047e9a0
cmp dword [ebp - 0x4cc], 8
lea eax, [ebp - 0x4e0]
cmovae eax, dword [ebp - 0x4e0]
push eax
lea eax, [ebp - 0x4a8]
push 0x4c6698
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x4a8]
push 0x4c66a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x730]
push 0
push eax
call fcn.0047e9a0
add esp, 0xc
lea eax, [ebp - 0x730]
push eax
lea eax, [ebp - 0x4a8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x437179
nop dword [eax]
cmp word [ebp - 0x704], 0x2e
je 0x437160
push 0x208
lea eax, [ebp - 0x2a0]
push 0
push eax
call fcn.0047e9a0
add esp, 0xc
lea ecx, [ebp - 0x704]
cmp dword [ebp - 0x4cc], 8
lea eax, [ebp - 0x4e0]
cmovae eax, dword [ebp - 0x4e0]
push ecx
push eax
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test byte [ebp - 0x730], 0x10
je 0x43708d
xor eax, eax
mov dword [ebp - 0x738], 7
mov dword [ebp - 0x73c], 0
mov word [ebp - 0x74c], ax
cmp word [ebp - 0x2a0], ax
jne 0x437040
xor ecx, ecx
jmp 0x43705f
lea ecx, [ebp - 0x2a0]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437050
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x74c]
call fcn.0042c2f0
lea eax, [ebp - 0x74c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x4bc]
call fcn.00437e30
jmp 0x43713e
push 0x80
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.0047e9a0
push 0x40
lea eax, [ebp - 0x98]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x704]
push 0
push eax
call fcn.004924fd
lea eax, [ebp - 0x98]
push eax
push str..exe
call fcn.00491fd5
add esp, 0x38
test eax, eax
jne 0x437160
mov dword [ebp - 0x738], 7
mov dword [ebp - 0x73c], eax
mov word [ebp - 0x74c], ax
cmp word [ebp - 0x2a0], ax
je 0x437115
lea eax, [ebp - 0x2a0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x437106
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x74c]
call fcn.0042c2f0
lea eax, [ebp - 0x74c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x4c8]
call fcn.00437b50
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x738]
cmp eax, 8
jb 0x437160
inc eax
lea ecx, [ebp - 0x74c]
push eax
push dword [ebp - 0x74c]
call fcn.0042c460
lea eax, [ebp - 0x730]
push eax
push esi
call edi
test eax, eax
jne 0x436fc0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4cc]
cmp eax, 8
jb 0x43719b
inc eax
lea ecx, [ebp - 0x4e0]
push eax
push dword [ebp - 0x4e0]
call fcn.0042c460
cmp dword [ebp - 0x4ac], 0
jne 0x436e80
mov edi, dword [ebp - 0x4c4]
mov esi, dword [ebp - 0x4c8]
mov ecx, dword [ebp - 0x734]
mov eax, dword [ebp - 0x4c0]
mov dword [ecx], esi
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x4bc]
call fcn.00437cd0
push dword [ebp - 0x4bc]
call fcn.00465daa
mov eax, dword [ebp - 0x734]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00465daf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4