Function at 0x41ab60
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a60fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
mov eax, dword [0x4d93ac]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x14], eax
xor edi, edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.0048a182
mov dword [ebp - 0x5c], 0x4b3944
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], edi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.0048a182
mov al, byte [0x4dd844]
mov dword [ebp - 0x34], edi
test al, 1
jne 0x41abf8
mov dl, al
mov eax, dword [0x4d93ac]
or dl, 1
push 0x41b5e0
mov byte [0x4dd844], dl
mov dword [0x4dd840], eax
call fcn.00479794
add esp, 4
mov al, byte [0x4dd844]
test al, 2
jne 0x41ac25
mov ecx, dword [0x4d93ac]
mov dl, al
or dl, 2
push 0x41b5d0
mov byte [0x4dd844], dl
mov dword [0x4dd83c], ecx
call fcn.00479794
add esp, 4
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 7
call fcn.0048fcfa
mov eax, dword [ebp + 0x1c]
push 0x2fe
mov dword [eax], edi
mov eax, dword [0x4ddfb0]
cmp eax, edi
je 0x41ac57
push 0x4dd840
call fcn.004116f0
add esp, 8
jmp 0x41ac61
mov ecx, 0x4dd840
call fcn.00490bc4
mov eax, dword [0x4ddfb0]
push 0x313
cmp eax, edi
je 0x41ac7e
push 0x4dd83c
call fcn.004116f0
add esp, 8
jmp 0x41ac88
mov ecx, 0x4dd83c
call fcn.00490bc4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x41aca0
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0048ff74
add esi, 0x254
lea ecx, [ebp + 8]
push esi
call fcn.0048f8e6
lea ecx, [ebp - 0x18]
push 2
push ecx
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.0048801f
mov eax, dword [eax]
mov esi, 0x4d55b8
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x41acf0
test cl, cl
je 0x41acec
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x41acf0
add eax, 2
add esi, 2
test cl, cl
jne 0x41acc8
xor eax, eax
jmp 0x41acf5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
lea ecx, [ebp - 0x18]
sete bl
call fcn.0048fb71
test bl, bl
je 0x41ad58
lea eax, [ebp - 0x18]
push 2
push eax
lea ecx, [ebp + 8]
call fcn.00487eea
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
call fcn.0048fcaa
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.0048fb71
lea ecx, [ebp + 8]
lea edx, [ebp - 0x18]
push ecx
push 0x4ddfc4
push edx
call fcn.0048fda0
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.0048fcaa
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.0048fb71
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x41ad86
test cl, cl
je 0x41ad82
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x41ad86
add eax, 2
add esi, 2
test cl, cl
jne 0x41ad5e
xor eax, eax
jmp 0x41ad8b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x41ad96
mov dword [ebp - 0x34], 1
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x24]
push eax
call fcn.0048fcaa
push 0x4d5714
lea ecx, [ebp - 0x14]
call fcn.0048ff4d
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x230]
push ecx
push edx
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xa0], eax
mov edi, dword [ecx + 0x318]
dec edi
neg edi
sbb edi, edi
and edi, 2
add edi, 0x14
cmp eax, 0xffffffff
je 0x41af69
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x230]
test edi, eax
jne 0x41aef2
lea eax, [ebp - 0x204]
lea ecx, [ebp - 0x20]
push eax
call fcn.0048fcfa
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0048fcaa
lea edx, [ebp + 0xc]
push 4
push edx
lea ecx, [ebp - 0x20]
call fcn.00487fa3
mov eax, dword [eax]
push str..url
push eax
call fcn.00478e90
add esp, 8
lea ecx, [ebp + 0xc]
test eax, eax
sete bl
call fcn.0048fb71
test bl, bl
je 0x41ae7c
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.0048a3cf
mov eax, dword [ebp - 0x54]
push esi
push eax
lea ecx, [ebp - 0x5c]
call fcn.00446140
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x1c]
inc edx
mov ecx, dword [eax]
mov dword [ebp - 0x1c], edx
inc ecx
mov dword [eax], ecx
jmp 0x41af46
lea ecx, [ebp - 0x84]
push 4
push ecx
lea ecx, [ebp - 0x20]
call fcn.00487fa3
mov eax, dword [eax]
mov esi, str..lnk
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x41aebc
test cl, cl
je 0x41aeb8
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x41aebc
add eax, 2
add esi, 2
test cl, cl
jne 0x41ae94
xor eax, eax
jmp 0x41aec1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [ebp - 0x84]
sete bl
call fcn.0048fb71
test bl, bl
je 0x41af46
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
push eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.0048a3cf
mov edx, dword [ebp - 0x54]
push esi
push edx
jmp 0x41ae60
test al, 0x10
je 0x41af46
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x318], 1
je 0x41af06
test al, 2
jne 0x41af46
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea edx, [ebp - 0x204]
push 0x4d5710
push edx
call esi
test eax, eax
je 0x41af46
lea eax, [ebp - 0x204]
push 0x4d570c
push eax
call esi
test eax, eax
je 0x41af46
mov edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x204]
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.0048a3a3
inc dword [ebp - 0x18]
mov esi, dword [ebp - 0xa0]
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41adf0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [0x4d93ac]
xor esi, esi
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], esi
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 0xb
call fcn.00427ee0
cmp eax, esi
je 0x41b111
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 0x1c]
mov eax, dword [eax - 8]
inc eax
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.00487eea
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.0048fcaa
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0xb
call fcn.0048fb71
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x9c]
push edx
call fcn.004476f0
cmp eax, esi
je 0x41b111
xor eax, eax
mov dword [ebp + 0x1c], eax
cmp eax, dword [ebp - 0x94]
jge 0x41b111
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x90]
shl edx, 5
mov ecx, dword [edx + eax + 0x18]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0048fcfa
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x28]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebp - 0x90]
shl ecx, 5
xor esi, esi
mov ax, word [ecx + edx + 0x14]
mov dword [ebp + 0xc], esi
mov dword [ebp - 0x18], eax
cmp esi, dword [ebp - 0x40]
jge 0x41b09f
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x41b09f
cmp ax, 0x20
je 0x41b04e
test ax, ax
jne 0x41b09f
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x20]
push eax
mov edx, dword [ecx + esi*4]
push edx
call fcn.00478e90
add esp, 8
test eax, eax
jne 0x41b099
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x44]
mov dword [ebp + 0xc], 1
mov edx, dword [ecx + esi*4]
mov ecx, dword [ebp + 0x10]
mov eax, dword [eax + esi*4]
push edx
mov edx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp - 0x24]
push edi
push edx
push ecx
push eax
mov ecx, ebx
call fcn.0042d490
mov edx, dword [ebp - 0x44]
lea ecx, [edx + esi*4]
call fcn.0048fafc
mov eax, dword [ebp - 0x18]
inc esi
jmp 0x41b037
xor esi, esi
cmp esi, dword [ebp - 0x68]
jge 0x41b105
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x41b105
cmp ax, 0x10
je 0x41b0be
cmp ax, 0x14
je 0x41b0be
test ax, ax
jne 0x41b105
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x20]
push eax
mov edx, dword [ecx + esi*4]
push edx
call fcn.00478e90
add esp, 8
test eax, eax
jne 0x41b0ff
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x1c]
mov eax, dword [eax + esi*4]
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp - 0x24]
push edi
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0042cec0
mov eax, dword [ebp - 0x6c]
lea ecx, [eax + esi*4]
call fcn.0048fafc
mov eax, dword [ebp - 0x18]
inc esi
jmp 0x41b0a1
mov eax, dword [ebp + 0x1c]
inc eax
mov dword [ebp + 0x1c], eax
jmp 0x41afe4
mov ecx, dword [0x4d93ac]
mov dword [ebp - 0x2c], ecx
mov edi, dword [ebp - 0x68]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov byte [ebp - 4], 0xd
test edi, edi
jle 0x41b180
dec edi
mov esi, 1
mov dword [ebp + 0x1c], edi
xor edi, edi
cmp esi, dword [ebp + 0x1c]
jg 0x41b127
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + esi*4]
mov eax, dword [eax + esi*4 - 4]
push ecx
push eax
call ebx
test eax, eax
jle 0x41b17d
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
lea eax, [edx + esi*4 - 4]
push eax
call fcn.0048fcaa
mov ecx, dword [ebp - 0x6c]
lea eax, [ecx + esi*4]
push eax
lea ecx, [eax - 4]
call fcn.0048fcaa
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x2c]
push edx
lea ecx, [eax + esi*4]
call fcn.0048fcaa
mov edi, esi
inc esi
jmp 0x41b136
mov edi, dword [ebp - 0x40]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test edi, edi
jle 0x41b1f8
dec edi
mov esi, 1
mov dword [ebp + 0x1c], edi
xor edi, edi
cmp esi, dword [ebp + 0x1c]
jg 0x41b189
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + esi*4]
mov eax, dword [eax + esi*4 - 4]
push ecx
push eax
call ebx
test eax, eax
jle 0x41b1f5
mov ecx, dword [ebp - 0x44]
lea edx, [ecx + esi*4 - 4]
lea ecx, [ebp - 0x2c]
push edx
call fcn.0048fcaa
mov eax, dword [ebp - 0x44]
lea eax, [eax + esi*4]
push eax
lea ecx, [eax - 4]
call fcn.0048fcaa
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [edx + esi*4]
call fcn.0048fcaa
mov ecx, dword [ebp - 0x58]
mov edi, esi
mov edx, dword [ecx + esi*4 - 4]
lea eax, [ecx + esi*4 - 4]
mov ecx, dword [ecx + esi*4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x58]
mov dword [eax + esi*4], edx
inc esi
jmp 0x41b198
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x34]
xor esi, esi
cmp esi, dword [ebp - 0x68]
jge 0x41b22e
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx + esi*4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41b22b
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp - 0x24]
push ebx
push edx
push ecx
push eax
mov ecx, edi
call fcn.0042cec0
inc esi
jmp 0x41b200
xor esi, esi
cmp esi, dword [ebp - 0x40]
jge 0x41b261
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41b25e
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + esi*4]
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp - 0x24]
push ebx
push edx
push ecx
push eax
mov ecx, edi
call fcn.0042d490
inc esi
jmp 0x41b230
mov eax, dword [0x4ddeb4]
test eax, eax
jne 0x41b277
mov edx, dword [ebp + 0x10]
push 2
push edx
mov ecx, edi
call fcn.00425f70
test ebx, ebx
je 0x41b34e
mov eax, dword [edi + 0xef0]
lea ecx, [edi + 0xef0]
lea edx, [ebp - 0x80]
push edx
push 0
call dword [eax + 0xe0]
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x7c]
sub eax, edx
mov dword [ebp - 0xf0], 0x50
cmp eax, 0x16
mov dword [ebp - 0xec], 0x320
mov dword [ebp - 0xbc], 0x8062
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0x16
jl 0x41b2dc
mov dword [ebp - 0xc8], eax
mov eax, dword [edi + 0xf0c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x418
push eax
call esi
test eax, eax
jle 0x41b317
mov edx, dword [edi + 0xf0c]
lea ecx, [ebp - 0x80]
dec eax
push ecx
push eax
push 0x41d
push edx
call esi
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xac], eax
jmp 0x41b321
mov dword [ebp - 0xac], 2
mov ecx, dword [edi + 0xa20]
push 0
push 0x8062
push 0x410
push ecx
call esi
lea edx, [ebp - 0xf0]
push edx
push eax
mov eax, dword [edi + 0xa20]
push 0x406
push eax
call esi
jmp 0x41b354
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x41b426
mov edx, dword [edi + 0x1088]
lea ecx, [edi + 0x1088]
lea eax, [ebp - 0x80]
push eax
push 0
call dword [edx + 0xe0]
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x7c]
sub eax, edx
mov dword [ebp - 0xf0], 0x50
cmp eax, 0x16
mov dword [ebp - 0xec], 0x320
mov dword [ebp - 0xbc], 0x80b9
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0x16
jl 0x41b3bc
mov dword [ebp - 0xc8], eax
mov ecx, dword [edi + 0x10a4]
push 0
push 0
push 0x418
push ecx
call esi
test eax, eax
jle 0x41b3f1
lea edx, [ebp - 0x80]
dec eax
push edx
push eax
mov eax, dword [edi + 0x10a4]
push 0x41d
push eax
call esi
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0xac], ecx
jmp 0x41b3fb
mov dword [ebp - 0xac], 2
mov edx, dword [edi + 0xa20]
push 0
push 0x80b9
push 0x410
push edx
call esi
mov edx, dword [edi + 0xa20]
lea ecx, [ebp - 0xf0]
push ecx
push eax
push 0x406
push edx
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.0048fb71
mov eax, dword [ebp - 0x90]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x41b45d
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x41b520
push ecx
push 0x20
push eax
call fcn.00479857
push esi
call fcn.004901b8
add esp, 4
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x41b470
push eax
call fcn.004901b8
add esp, 4
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.0048fb71
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.0048fb71
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.0048a1b5
mov dword [ebp - 0x5c], 0x4b3944
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 0x10
test eax, eax
je 0x41b4bc
push eax
call fcn.004901b8
add esp, 4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.0048a1b5
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0048fb71
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0048fb71
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.0048fb71
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0048fb71
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18