Function at 0x41aa88
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov edi, 0x4ecc7b
xor eax, eax
mov dword [0x4dbf34], eax
xor edx, edx
mov dword [0x4dbf30], edx
xor ecx, ecx
mov dword [0x4dbe1c], ecx
mov dword [0x4dbe10], 1
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
test eax, eax
je 0x41ab11
cmp byte [eax], 0x2d
jne 0x41ab11
push 0x6f
push eax
call fcn.004bce0c
add esp, 8
test eax, eax
je 0x41aae2
mov dword [0x4dbf30], 1
push 0x61
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 4]
push ecx
call fcn.004bce0c
add esp, 8
test eax, eax
je 0x41ab0b
mov dword [0x4dbe1c], 1
mov dword [0x4dbf30], 1
inc dword [0x4dbe10]
mov eax, dword [ebp + 0xc]
mov edx, dword [0x4dbe10]
cmp dword [eax + edx*4], 0
jne 0x41ab36
push 0
push 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push eax
push 0
call fcn.0043e834
jmp 0x41b049
push 0
push 0x100
push esi
mov edx, dword [0x4dbe10]
push edx
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00489740
mov dword [0x4dbe10], eax
cmp dword [0x4dbe10], 0
jge 0x41ab72
push 3
push 0
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
push edx
push 0
call fcn.0043e834
jmp 0x41b049
push esi
push esi
call fcn.0040b314
test eax, eax
jne 0x41ab93
push 3
push 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push eax
push 0
call fcn.0043e834
jmp 0x41b049
push 0
push 0x100
push ebx
mov edx, dword [0x4dbe10]
inc edx
push edx
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00489740
mov dword [0x4dbe10], eax
cmp dword [0x4dbe10], 0
jge 0x41abd0
push 3
push 0
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
push edx
push 0
call fcn.0043e834
jmp 0x41b049
push 0x4ece7b
push 0x4ecd7b
push edi
push 0x4ecc78
push ebx
call fcn.004c11fc
add esp, 0x14
cmp byte [0x4ecc78], 0
jne 0x41ac3e
cmp byte [edi], 0x5c
je 0x41ac3e
cmp byte [edi], 0x2f
je 0x41ac3e
cmp byte [edi], 0
je 0x41ac21
push 0x4ece7b
push 0x4ecd7b
push edi
push 0x4e23ec
push 0x4cb455
push ebx
call sub.USER32.dll_wsprintfA
add esp, 0x18
jmp 0x41ac3e
push 0x4ece7b
push 0x4ecd7b
push 0x4e23ec
push 0x4cb45f
push ebx
call sub.USER32.dll_wsprintfA
add esp, 0x14
cmp byte [0x4ecd7b], 0
je 0x41ac50
cmp byte [0x4ece7b], 0
jne 0x41ac8a
push ebx
call fcn.004bceac
pop ecx
mov dword [0x4dbe10], eax
cmp dword [0x4dbe10], 0
jle 0x41ac80
mov ecx, dword [0x4dbe10]
cmp byte [ebx + ecx - 1], 0x5c
je 0x41ac80
push 0x4cb467
push ebx
call fcn.004bcdd0
add esp, 8
mov dword [0x4dbf34], 1
xor eax, eax
mov dword [0x4dbe14], eax
cmp dword [0x4e5360], 0
je 0x41accf
push 0x4dbf38
push esi
call sub.KERNEL32.dll_FindFirstFileA
mov dword [0x4dc078], eax
cmp dword [0x4dc078], 0xffffffff
jne 0x41acc2
mov dword [0x4dbe18], 1
jmp 0x41afc8
xor edx, edx
mov dword [0x4dbe18], edx
jmp 0x41afc8
push 0x27
push 0x4dbe20
push esi
call fcn.004c0100
add esp, 0xc
mov dword [0x4dbe18], eax
jmp 0x41afc8
cmp dword [0x4e5360], 0
je 0x41ad23
test byte [0x4dbf38], 0x10
je 0x41ad23
push 0x4dbf38
mov ecx, dword [0x4dc078]
push ecx
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x41afc8
mov dword [0x4dbe18], 1
jmp 0x41afc8
cmp dword [0x4dbf34], 0
je 0x41ad82
push 0x4ece7b
push 0x4ecd7b
push edi
push 0x4ecc78
push ebx
call fcn.004c11fc
add esp, 0x14
cmp dword [0x4e5360], 0
je 0x41ad69
push 0x4dbf64
push edi
push 0x4ecc78
push 0x4cb46a
push ebx
call sub.USER32.dll_wsprintfA
add esp, 0x14
jmp 0x41ad82
push 0x4dbe30
push edi
push 0x4ecc78
push 0x4cb472
push ebx
call sub.USER32.dll_wsprintfA
add esp, 0x14
cmp dword [0x4e5360], 0
jne 0x41ad92
push ebx
call fcn.004c408c
pop ecx
cmp dword [0x4dbf30], 0
jne 0x41ae43
push 3
push ebx
call fcn.0040abec
test eax, eax
je 0x41ae43
cmp dword [0x4dbe14], 1
jge 0x41adc7
mov eax, dword [0x4cb064]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0048d678
push ebx
push 0
push 0x2cf
call fcn.0040a8fc
push eax
push 0x4dc17c
call sub.USER32.dll_wsprintfA
add esp, 0xc
xor ecx, ecx
mov dword [0x4d22f4], ecx
mov eax, dword [0x4cb064]
push eax
push 0x4dc17c
mov edx, dword [ebp + 8]
push edx
call fcn.0048d7dc
cmp dword [0x4e5360], 0
je 0x41ae28
push 0x4dbf38
mov ecx, dword [0x4dc078]
push ecx
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x41ae38
mov dword [0x4dbe18], 1
jmp 0x41ae38
push 0x4dbe20
call fcn.004c01c0
pop ecx
mov dword [0x4dbe18], eax
inc dword [0x4dbe14]
jmp 0x41afc8
push 0x4ece7b
push 0x4ecd7b
push edi
push 0x4ecc78
push esi
call fcn.004c11fc
add esp, 0x14
cmp dword [0x4e5360], 0
je 0x41ae80
push 0x4dbf64
push edi
push 0x4ecc78
push 0x4cb47a
push esi
call sub.USER32.dll_wsprintfA
add esp, 0x14
jmp 0x41ae99
push 0x4dbe30
push edi
push 0x4ecc78
push 0x4cb482
push esi
call sub.USER32.dll_wsprintfA
add esp, 0x14
mov eax, dword [0x4dbe1c]
push eax
push 0x4dc17c
push ebx
push esi
call fcn.0040b414
mov dword [0x4dbe10], eax
cmp dword [0x4dbe10], 0
jle 0x41af18
cmp dword [0x4e5360], 0
je 0x41aed8
mov edx, dword [0x4dc078]
push edx
call sub.KERNEL32.dll_FindClose
mov dword [0x4dc078], 0xffffffff
cmp dword [0x4dbe10], 1
jne 0x41aef6
push 1
push esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
push eax
push 0
call fcn.0043e834
jmp 0x41b049
cmp dword [0x4dbe10], 2
jne 0x41afd5
push 4
push ebx
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
push ecx
push 0
call fcn.0043e834
jmp 0x41b049
inc dword [0x4dbe14]
cmp dword [ebp + 0x18], 0
je 0x41af5c
push ebx
push esi
push 0
push 0x2d0
call fcn.0040a8fc
push eax
push 0x4dc17c
call sub.USER32.dll_wsprintfA
add esp, 0x10
xor eax, eax
mov dword [0x4d22f4], eax
mov edx, dword [0x4cb064]
push edx
push 0x4dc17c
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048d7dc
push 0x4ece7b
push 0x4ecd7b
push edi
push 0x4ecc78
push 0x4cb48a
push esi
call sub.USER32.dll_wsprintfA
add esp, 0x18
cmp dword [0x4dbf34], 0
jne 0x41af8f
mov dword [0x4dbe18], 1
jmp 0x41afd5
cmp dword [0x4e5360], 0
je 0x41afb8
push 0x4dbf38
mov eax, dword [0x4dc078]
push eax
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x41afc8
mov dword [0x4dbe18], 1
jmp 0x41afc8
push 0x4dbe20
call fcn.004c01c0
pop ecx
mov dword [0x4dbe18], eax
cmp dword [0x4dbe18], 0
je 0x41ace9
cmp dword [0x4e5360], 0
je 0x41aff3
cmp dword [0x4dc078], 0xffffffff
je 0x41aff3
mov edx, dword [0x4dc078]
push edx
call sub.KERNEL32.dll_FindClose
cmp dword [0x4dbe14], 0
jle 0x41b012
cmp dword [ebp + 0x18], 0
je 0x41b012
mov ecx, dword [0x4cb064]
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.0048d678
cmp dword [0x4dbe14], 0
je 0x41b02b
cmp dword [0x4dbe18], 0
je 0x41b02b
mov eax, 1
jmp 0x41b049
push ebx
push esi
push 0
push 0x2d1
call fcn.0040a8fc
push eax
push 0x4dea10
call sub.USER32.dll_wsprintfA
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x14