Function at 0x411780
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd6a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1cc
mov eax, dword [0x52251c]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.004c000c
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.004c000c
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.004c000c
mov dword [ebp - 0x4c], 0x4edc4c
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
mov edi, dword [ebp + 0xc]
mov ecx, esi
push edi
mov byte [ebp - 4], 7
call fcn.004bec13
cmp eax, ebx
je 0x411f5d
mov eax, dword [esi + 0x1c]
push edi
push 4
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
cmp edi, ebx
je 0x4118ab
lea ecx, [ebp + 0xc]
push edi
push ecx
mov ecx, esi
call fcn.004beb06
mov edx, dword [ebp - 0x5c]
push eax
push edx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 8
call fcn.004c0259
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
call fcn.004c5787
push edi
mov ecx, esi
call fcn.004bebe5
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x44]
mov ebx, eax
push 0xffffffffffffffff
jne 0x41187c
inc eax
lea ecx, [ebp - 0x4c]
push eax
call fcn.0040d4c0
mov eax, dword [ebp - 0x48]
mov dword [eax + ebx*4], 1
jmp 0x411890
inc eax
lea ecx, [ebp - 0x4c]
push eax
call fcn.0040d4c0
mov ecx, dword [ebp - 0x48]
mov dword [ecx + ebx*4], 2
mov edx, dword [esi + 0x1c]
push edi
push 1
push 0x110a
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
xor ebx, ebx
jmp 0x411821
mov eax, dword [ebp - 0x5c]
mov ecx, dword [0x52251c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov esi, eax
mov byte [ebp - 4], 0xb
shl eax, 5
add eax, 4
push eax
call fcn.004c5dbe
add esp, 4
mov dword [ebp + 0xc], eax
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x4118fa
push 0x40e850
push 0x411f90
lea edi, [eax + 4]
push esi
push 0x20
push edi
mov dword [eax], esi
call fcn.004ade19
jmp 0x4118fc
xor edi, edi
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], 0xa
test eax, eax
jne 0x411965
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x411921
push eax
call fcn.004c5de7
add esp, 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.004c5787
mov dword [ebp - 0x4c], 0x4edc4c
mov edx, dword [ebp - 0x48]
mov byte [ebp - 4], 0xf
test edx, edx
je 0x411e8e
mov ecx, dword [ebp - 0x44]
mov eax, edx
mov esi, ecx
dec ecx
test esi, esi
je 0x411f84
add eax, 4
jmp 0x411948
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x28], edx
call fcn.004c58c0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 8]
mov al, byte [ecx + eax - 1]
cmp al, 0x5c
je 0x41198f
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.004c5b8a
push 0x51c590
lea ecx, [ebp - 0x18]
call fcn.004c5b63
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x1d8]
xor edi, edi
push ecx
push edx
mov dword [ebp + 0xc], edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x50], eax
je 0x411ef2
mov al, byte [ebp - 0x1d8]
test al, 0x16
jne 0x411bde
lea eax, [ebp - 0x1ac]
lea ecx, [ebp - 0x14]
push eax
call fcn.004c5910
lea ecx, [ebp - 0x14]
call fcn.004c5cbb
lea ecx, [ebp - 0x68]
push 4
push ecx
lea ecx, [ebp - 0x14]
call fcn.004bd68d
mov edx, dword [eax]
push str..url
push edx
mov byte [ebp - 4], 0x10
call fcn.004ad810
add esp, 8
test eax, eax
je 0x411a38
lea eax, [ebp - 0x6c]
push 4
push eax
lea ecx, [ebp - 0x14]
call fcn.004bd68d
mov ecx, dword [eax]
push str..lnk
push ecx
call fcn.004ad810
add esp, 8
lea ecx, [ebp - 0x6c]
test eax, eax
sete bl
call fcn.004c5787
test bl, bl
je 0x411a3a
mov bl, 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0xa
call fcn.004c5787
test bl, bl
je 0x411daa
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov eax, dword [edx - 8]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004bd709
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
call fcn.004c58c0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xa
call fcn.004c5787
xor ebx, ebx
xor esi, esi
cmp esi, dword [ebp - 0x5c]
jge 0x411ac5
test ebx, ebx
jne 0x411acd
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + esi*4], 2
jne 0x411ac2
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + esi*4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004ad810
add esp, 8
test eax, eax
jne 0x411ac2
mov eax, dword [ebp - 0x34]
mov ebx, 1
cmp edi, eax
jge 0x411ac2
mov edx, dword [ebp - 0x24]
mov ecx, edi
shl ecx, 5
mov dword [ecx + edx + 4], esi
inc esi
jmp 0x411a81
test ebx, ebx
je 0x411daa
cmp edi, dword [ebp - 0x34]
jge 0x411daa
mov eax, dword [ebp - 0x24]
mov esi, edi
shl esi, 5
mov word [esi + eax + 0xa], 0x32
mov eax, dword [ebp - 0x24]
lea ecx, [esi + eax + 0x12]
lea edx, [esi + eax + 0x10]
push ecx
lea eax, [ebp - 0x1c4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1b8]
lea edi, [ebp - 0x1ac]
mov byte [ebp - 4], 0x12
mov dword [esi + ecx + 0xc], edx
mov eax, dword [ebp - 0x24]
or ecx, 0xffffffff
mov word [esi + eax + 0x14], 0x20
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 2
push ecx
call fcn.004c5dbe
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [esi + ecx + 0x18], eax
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
shl ebx, 5
mov dword [ebp - 4], 0xa
mov edx, dword [ebx + ecx + 0x18]
test edx, edx
je 0x411b78
lea edi, [ebp - 0x1ac]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0xe
mov byte [ebp - 4], 0x14
call fcn.004c5dbe
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [ebx + ecx + 0x1c], eax
jmp 0x411bbd
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x24]
shl ecx, 5
mov dword [ebp - 4], 0xa
mov edx, dword [ecx + edx + 0x1c]
test edx, edx
je 0x411da1
jmp 0x411d7e
test al, 0x10
je 0x411daa
lea ecx, [ebp - 0x1ac]
push 0x51c58c
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x411daa
lea edx, [ebp - 0x1ac]
push 0x51c588
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x411daa
lea eax, [ebp - 0x1ac]
lea ecx, [ebp - 0x14]
push eax
call fcn.004c5910
xor ebx, ebx
xor esi, esi
cmp esi, dword [ebp - 0x5c]
jge 0x411c71
test ebx, ebx
jne 0x411c79
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + esi*4], 1
jne 0x411c6e
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + esi*4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004ad810
add esp, 8
test eax, eax
jne 0x411c6e
mov eax, dword [ebp - 0x34]
mov ebx, 1
cmp edi, eax
jge 0x411c6e
mov edx, dword [ebp - 0x24]
mov ecx, edi
shl ecx, 5
mov dword [ecx + edx + 4], esi
inc esi
jmp 0x411c2d
test ebx, ebx
je 0x411daa
cmp edi, dword [ebp - 0x34]
jge 0x411daa
mov eax, dword [ebp - 0x24]
mov esi, edi
shl esi, 5
mov word [esi + eax + 0xa], 0x31
mov eax, dword [ebp - 0x24]
lea ecx, [esi + eax + 0x12]
lea edx, [esi + eax + 0x10]
push ecx
lea eax, [ebp - 0x1c4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1b8]
lea edi, [ebp - 0x1ac]
mov byte [ebp - 4], 0x16
mov dword [esi + ecx + 0xc], edx
mov eax, dword [ebp - 0x24]
or ecx, 0xffffffff
mov word [esi + eax + 0x14], 0x10
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call fcn.004c5dbe
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [esi + ecx + 0x18], eax
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x24]
shl ebx, 5
mov dword [ebp - 4], 0xa
mov edx, dword [ebx + ecx + 0x18]
test edx, edx
je 0x411d21
lea edi, [ebp - 0x1ac]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0xe
mov byte [ebp - 4], 0x18
call fcn.004c5dbe
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [ebx + ecx + 0x1c], eax
jmp 0x411d66
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x24]
shl ecx, 5
mov dword [ebp - 4], 0xa
mov edx, dword [ecx + edx + 0x1c]
test edx, edx
je 0x411da1
lea edi, [ebp - 0xa8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov edi, eax
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x1d8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4119be
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], edi
push ecx
mov ecx, dword [0x52790c]
call fcn.00451230
test eax, eax
je 0x411e28
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push edx
call fcn.004c58c0
mov eax, dword [ebp - 0x14]
lea ecx, [ebp + 8]
mov eax, dword [eax - 8]
inc eax
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.004bd5d4
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1c
call fcn.004c58c0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.004c5787
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
push edx
call fcn.00483b20
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x411e50
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x40e850
push ecx
push 0x20
push eax
call fcn.004add25
push esi
call fcn.004c5de7
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x411e60
push eax
call fcn.004c5de7
add esp, 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.004c5787
mov dword [ebp - 4], 6
mov dword [ebp - 0x4c], 0x4edc4c
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x411e8e
push eax
call fcn.004c5de7
add esp, 4
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.004c003f
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.004c003f
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.004c003f
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004c5787
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004c5787
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.004c5787
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x411f1a
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push 0x40e850
push edx
push 0x20
push eax
call fcn.004add25
push esi
call fcn.004c5de7
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x411f2a
push eax
call fcn.004c5de7
add esp, 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.004c5787
mov dword [ebp - 0x4c], 0x4edc4c
mov edx, dword [ebp - 0x48]
mov byte [ebp - 4], 0x1b
test edx, edx
je 0x411e8e
mov ecx, dword [ebp - 0x44]
mov eax, edx
mov esi, ecx
dec ecx
test esi, esi
je 0x411f84
add eax, 4
jmp 0x411f51
mov dword [ebp - 0x4c], method.CCommandLineInfo.virtual_0
mov edx, dword [ebp - 0x48]
mov byte [ebp - 4], 9
cmp edx, ebx
je 0x411e8e
mov ecx, dword [ebp - 0x44]
mov eax, edx
mov esi, ecx
dec ecx
test esi, esi
je 0x411f84
add eax, 4
jmp 0x411f78
push edx
jmp 0x411e86