Function at 0x419d40
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a598e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
mov eax, dword [0x4d8094]
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.00489c34
mov dword [ebp - 0x5c], 0x4b25dc
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.00489c34
mov al, byte [0x4de544]
mov dword [ebp - 0x34], edi
test al, 1
jne 0x419dd8
mov dl, al
mov eax, dword [0x4d8094]
or dl, 1
push 0x41a7c0
mov byte [0x4de544], dl
mov dword [0x4de540], eax
call fcn.004784d5
add esp, 4
mov al, byte [0x4de544]
test al, 2
jne 0x419e05
mov ecx, dword [0x4d8094]
mov dl, al
or dl, 2
push 0x41a7b0
mov byte [0x4de544], dl
mov dword [0x4de53c], ecx
call fcn.004784d5
add esp, 4
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 7
call fcn.0048f7ca
mov eax, dword [ebp + 0x1c]
push 0x2fe
mov dword [eax], edi
mov eax, dword [0x4decb0]
cmp eax, edi
je 0x419e37
push 0x4de540
call fcn.004108c0
add esp, 8
jmp 0x419e41
mov ecx, 0x4de540
call fcn.004906bd
mov eax, dword [0x4decb0]
push 0x313
cmp eax, edi
je 0x419e5e
push 0x4de53c
call fcn.004108c0
add esp, 8
jmp 0x419e68
mov ecx, 0x4de53c
call fcn.004906bd
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x419e80
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.0048fa44
add esi, 0x254
lea ecx, [ebp + 8]
push esi
call fcn.0048f3b6
lea ecx, [ebp - 0x18]
push 2
push ecx
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.00487a7f
mov eax, dword [eax]
mov esi, 0x4d447c
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x419ed0
test cl, cl
je 0x419ecc
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x419ed0
add eax, 2
add esi, 2
test cl, cl
jne 0x419ea8
xor eax, eax
jmp 0x419ed5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
lea ecx, [ebp - 0x18]
sete bl
call fcn.0048f641
test bl, bl
je 0x419f38
lea eax, [ebp - 0x18]
push 2
push eax
lea ecx, [ebp + 8]
call fcn.0048794a
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
call fcn.0048f77a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.0048f641
lea ecx, [ebp + 8]
lea edx, [ebp - 0x18]
push ecx
push 0x4decc0
push edx
call fcn.0048f870
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.0048f77a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.0048f641
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 0x419f66
test cl, cl
je 0x419f62
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x419f66
add eax, 2
add esi, 2
test cl, cl
jne 0x419f3e
xor eax, eax
jmp 0x419f6b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x419f76
mov dword [ebp - 0x34], 1
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x24]
push eax
call fcn.0048f77a
push 0x4d4568
lea ecx, [ebp - 0x14]
call fcn.0048fa1d
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 0x41a149
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x230]
test edi, eax
jne 0x41a0d2
lea eax, [ebp - 0x204]
lea ecx, [ebp - 0x20]
push eax
call fcn.0048f7ca
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0048f77a
lea edx, [ebp + 0xc]
push 4
push edx
lea ecx, [ebp - 0x20]
call fcn.00487a03
mov eax, dword [eax]
push str..url
push eax
call fcn.00477a90
add esp, 8
lea ecx, [ebp + 0xc]
test eax, eax
sete bl
call fcn.0048f641
test bl, bl
je 0x41a05c
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
push ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.00489e81
mov eax, dword [ebp - 0x54]
push esi
push eax
lea ecx, [ebp - 0x5c]
call fcn.00445270
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 0x41a126
lea ecx, [ebp - 0x84]
push 4
push ecx
lea ecx, [ebp - 0x20]
call fcn.00487a03
mov eax, dword [eax]
mov esi, str..lnk
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x41a09c
test cl, cl
je 0x41a098
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x41a09c
add eax, 2
add esi, 2
test cl, cl
jne 0x41a074
xor eax, eax
jmp 0x41a0a1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [ebp - 0x84]
sete bl
call fcn.0048f641
test bl, bl
je 0x41a126
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
push eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.00489e81
mov edx, dword [ebp - 0x54]
push esi
push edx
jmp 0x41a040
test al, 0x10
je 0x41a126
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x318], 1
je 0x41a0e6
test al, 2
jne 0x41a126
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea edx, [ebp - 0x204]
push 0x4d4564
push edx
call esi
test eax, eax
je 0x41a126
lea eax, [ebp - 0x204]
push 0x4d4560
push eax
call esi
test eax, eax
je 0x41a126
mov edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x204]
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.00489e55
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 0x419fd0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [0x4d8094]
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.00427120
cmp eax, esi
je 0x41a2f1
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.0048794a
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.0048f77a
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0xb
call fcn.0048f641
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x9c]
push edx
call fcn.00446810
cmp eax, esi
je 0x41a2f1
xor eax, eax
mov dword [ebp + 0x1c], eax
cmp eax, dword [ebp - 0x94]
jge 0x41a2f1
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.0048f7ca
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x34]
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 0x41a27f
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x41a27f
cmp ax, 0x20
je 0x41a22e
test ax, ax
jne 0x41a27f
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x20]
push eax
mov edx, dword [ecx + esi*4]
push edx
call fcn.00477a90
add esp, 8
test eax, eax
jne 0x41a279
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.0042c720
mov edx, dword [ebp - 0x44]
lea ecx, [edx + esi*4]
call fcn.0048f5cc
mov eax, dword [ebp - 0x18]
inc esi
jmp 0x41a217
xor esi, esi
cmp esi, dword [ebp - 0x68]
jge 0x41a2e5
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x41a2e5
cmp ax, 0x10
je 0x41a29e
cmp ax, 0x14
je 0x41a29e
test ax, ax
jne 0x41a2e5
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x20]
push eax
mov edx, dword [ecx + esi*4]
push edx
call fcn.00477a90
add esp, 8
test eax, eax
jne 0x41a2df
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.0042c150
mov eax, dword [ebp - 0x6c]
lea ecx, [eax + esi*4]
call fcn.0048f5cc
mov eax, dword [ebp - 0x18]
inc esi
jmp 0x41a281
mov eax, dword [ebp + 0x1c]
inc eax
mov dword [ebp + 0x1c], eax
jmp 0x41a1c4
mov ecx, dword [0x4d8094]
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 0x41a360
dec edi
mov esi, 1
mov dword [ebp + 0x1c], edi
xor edi, edi
cmp esi, dword [ebp + 0x1c]
jg 0x41a307
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 0x41a35d
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
lea eax, [edx + esi*4 - 4]
push eax
call fcn.0048f77a
mov ecx, dword [ebp - 0x6c]
lea eax, [ecx + esi*4]
push eax
lea ecx, [eax - 4]
call fcn.0048f77a
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x2c]
push edx
lea ecx, [eax + esi*4]
call fcn.0048f77a
mov edi, esi
inc esi
jmp 0x41a316
mov edi, dword [ebp - 0x40]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test edi, edi
jle 0x41a3d8
dec edi
mov esi, 1
mov dword [ebp + 0x1c], edi
xor edi, edi
cmp esi, dword [ebp + 0x1c]
jg 0x41a369
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 0x41a3d5
mov ecx, dword [ebp - 0x44]
lea edx, [ecx + esi*4 - 4]
lea ecx, [ebp - 0x2c]
push edx
call fcn.0048f77a
mov eax, dword [ebp - 0x44]
lea eax, [eax + esi*4]
push eax
lea ecx, [eax - 4]
call fcn.0048f77a
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [edx + esi*4]
call fcn.0048f77a
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 0x41a378
mov ebx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x28]
xor esi, esi
cmp esi, dword [ebp - 0x68]
jge 0x41a40e
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx + esi*4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41a40b
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.0042c150
inc esi
jmp 0x41a3e0
xor esi, esi
cmp esi, dword [ebp - 0x40]
jge 0x41a441
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + esi*4]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41a43e
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.0042c720
inc esi
jmp 0x41a410
mov eax, dword [0x4debb4]
test eax, eax
jne 0x41a457
mov edx, dword [ebp + 0x10]
push 2
push edx
mov ecx, edi
call fcn.00425180
test ebx, ebx
je 0x41a52e
mov eax, dword [edi + 0xee0]
lea ecx, [edi + 0xee0]
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 0x41a4bc
mov dword [ebp - 0xc8], eax
mov eax, dword [edi + 0xefc]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x418
push eax
call esi
test eax, eax
jle 0x41a4f7
mov edx, dword [edi + 0xefc]
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 0x41a501
mov dword [ebp - 0xac], 2
mov ecx, dword [edi + 0xa10]
push 0
push 0x8062
push 0x410
push ecx
call esi
lea edx, [ebp - 0xf0]
push edx
push eax
mov eax, dword [edi + 0xa10]
push 0x406
push eax
call esi
jmp 0x41a534
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x41a606
mov edx, dword [edi + 0x1078]
lea ecx, [edi + 0x1078]
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 0x41a59c
mov dword [ebp - 0xc8], eax
mov ecx, dword [edi + 0x1094]
push 0
push 0
push 0x418
push ecx
call esi
test eax, eax
jle 0x41a5d1
lea edx, [ebp - 0x80]
dec eax
push edx
push eax
mov eax, dword [edi + 0x1094]
push 0x41d
push eax
call esi
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0xac], ecx
jmp 0x41a5db
mov dword [ebp - 0xac], 2
mov edx, dword [edi + 0xa10]
push 0
push 0x80b9
push 0x410
push edx
call esi
mov edx, dword [edi + 0xa10]
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.0048f641
mov eax, dword [ebp - 0x90]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x41a63d
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x41a700
push ecx
push 0x20
push eax
call fcn.00478598
push esi
call fcn.0048fc88
add esp, 4
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x41a650
push eax
call fcn.0048fc88
add esp, 4
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.0048f641
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.0048f641
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.00489c67
mov dword [ebp - 0x5c], 0x4b25dc
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 0x10
test eax, eax
je 0x41a69c
push eax
call fcn.0048fc88
add esp, 4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00489c67
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0048f641
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0048f641
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.0048f641
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0048f641
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