Function at 0x414dd0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505849
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1cc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push 0x5705d0
lea ecx, [ebp - 0x18]
call fcn.004e1e9b
xor ebx, ebx
push 0x5705d0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.004e1e9b
push 0x5705d0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004e1e9b
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.004db3a1
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.004db3a1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.004db3a1
mov dword [ebp - 0x50], 0x51af4c
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, dword [ebp + 0xc]
mov ecx, esi
push edi
mov byte [ebp - 4], 7
call fcn.004d9c0a
cmp eax, ebx
je 0x415663
mov eax, dword [esi + 0x1c]
push edi
push 4
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, ebx
je 0x414f2e
lea ecx, [ebp + 0xc]
push edi
push ecx
mov ecx, esi
call fcn.004d9ac5
mov edx, dword [ebp - 0x60]
push eax
push edx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 8
call fcn.004db676
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 7
call fcn.004e1e27
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x38]
push eax
push ecx
push edi
mov ecx, esi
call fcn.004d9b65
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x414ef8
cmp eax, 2
je 0x414ef8
mov eax, dword [ebp - 0x48]
push 0xffffffffffffffff
mov ebx, eax
inc eax
push eax
lea ecx, [ebp - 0x50]
call fcn.00411ba0
mov edx, dword [ebp - 0x4c]
mov dword [edx + ebx*4], 2
jmp 0x414f13
mov eax, dword [ebp - 0x48]
push 0xffffffffffffffff
mov ebx, eax
inc eax
push eax
lea ecx, [ebp - 0x50]
call fcn.00411ba0
mov eax, dword [ebp - 0x4c]
mov dword [eax + ebx*4], 1
mov ecx, dword [esi + 0x1c]
push edi
push 1
push 0x110a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
xor ebx, ebx
jmp 0x414e8e
mov eax, dword [ebp - 0x60]
mov edx, dword [0x56b44c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], edx
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.004e24f0
add esp, 4
mov dword [ebp + 0xc], eax
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x414f7d
push 0x4118f0
push 0x4156a0
lea edi, [eax + 4]
push esi
push 0x20
push edi
mov dword [eax], esi
call fcn.004be359
jmp 0x414f7f
xor edi, edi
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], 0xa
test eax, eax
jne 0x414fe8
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0xe
test eax, eax
je 0x414fa4
push eax
call fcn.004e2519
add esp, 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.004e1e27
mov dword [ebp - 0x50], 0x51af4c
mov edx, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xf
test edx, edx
je 0x41558e
mov ecx, dword [ebp - 0x48]
mov eax, edx
mov esi, ecx
dec ecx
test esi, esi
je 0x41568a
add eax, 4
jmp 0x414fcb
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x28], eax
call fcn.004e1f6e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 8]
mov ax, word [eax + ecx*2 - 2]
cmp ax, 0x5c
je 0x415015
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.004e223f
push 0x55c784
lea ecx, [ebp - 0x18]
call fcn.004e2218
mov eax, dword [ebp - 0x18]
xor edi, edi
test eax, eax
mov dword [ebp + 0xc], edi
mov ebx, eax
je 0x415051
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.004bdb50
mov eax, esp
push esi
push ebx
push eax
call fcn.004e24a6
lea edx, [ebp - 0x1d8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x38], eax
je 0x4155f8
mov al, byte [ebp - 0x1d8]
test al, 0x12
jne 0x41528b
lea eax, [ebp - 0x1ac]
lea ecx, [ebp - 0x14]
push eax
call fcn.004e1fe5
lea ecx, [ebp - 0x14]
call fcn.004e23d3
lea ecx, [ebp - 0x6c]
push 4
push ecx
lea ecx, [ebp - 0x14]
call fcn.004d6e91
mov edx, dword [eax]
push 0x55c7ec
push edx
mov byte [ebp - 4], 0x10
call fcn.004bda36
add esp, 8
test eax, eax
je 0x4150e5
lea eax, [ebp - 0x70]
push 4
push eax
lea ecx, [ebp - 0x14]
call fcn.004d6e91
mov ecx, dword [eax]
push 0x55c7b4
push ecx
call fcn.004bdb15
add esp, 8
lea ecx, [ebp - 0x70]
test eax, eax
sete bl
call fcn.004e1e27
test bl, bl
je 0x4150e7
mov bl, 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xa
call fcn.004e1e27
test bl, bl
je 0x4154a3
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov eax, dword [edx - 8]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004d6f0d
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
call fcn.004e1f6e
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0xa
call fcn.004e1e27
xor ebx, ebx
xor esi, esi
cmp esi, dword [ebp - 0x60]
jge 0x415172
test ebx, ebx
jne 0x41517a
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + esi*4], 2
jne 0x41516f
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + esi*4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004bda36
add esp, 8
test eax, eax
jne 0x41516f
mov eax, dword [ebp - 0x34]
mov ebx, 1
cmp edi, eax
jge 0x41516f
mov edx, dword [ebp - 0x24]
mov ecx, edi
shl ecx, 5
mov dword [ecx + edx + 4], esi
inc esi
jmp 0x41512e
test ebx, ebx
je 0x4154a3
cmp edi, dword [ebp - 0x34]
jge 0x4154a3
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.004e24f0
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 0x415225
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.004e24f0
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [ebx + ecx + 0x1c], eax
jmp 0x41526a
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 0x41549a
jmp 0x415477
test al, 0x10
je 0x4154a3
mov esi, 0x55c878
lea eax, [ebp - 0x1ac]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4152c6
test cl, cl
je 0x4152c2
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4152c6
add eax, 2
add esi, 2
test cl, cl
jne 0x41529e
xor eax, eax
jmp 0x4152cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4154a3
mov esi, 0x55c874
lea eax, [ebp - 0x1ac]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x415306
test cl, cl
je 0x415302
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x415306
add eax, 2
add esi, 2
test cl, cl
jne 0x4152de
xor eax, eax
jmp 0x41530b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4154a3
lea eax, [ebp - 0x1ac]
lea ecx, [ebp - 0x14]
push eax
call fcn.004e1fe5
xor ebx, ebx
xor esi, esi
cmp esi, dword [ebp - 0x60]
jge 0x41536a
test ebx, ebx
jne 0x415372
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + esi*4], 1
jne 0x415367
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + esi*4]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004bda36
add esp, 8
test eax, eax
jne 0x415367
mov eax, dword [ebp - 0x34]
mov ebx, 1
cmp edi, eax
jge 0x415367
mov edx, dword [ebp - 0x24]
mov ecx, edi
shl ecx, 5
mov dword [ecx + edx + 4], esi
inc esi
jmp 0x415326
test ebx, ebx
je 0x4154a3
cmp edi, dword [ebp - 0x34]
jge 0x4154a3
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.004e24f0
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 0x41541a
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.004e24f0
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [ebx + ecx + 0x1c], eax
jmp 0x41545f
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 0x41549a
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 - 0x38]
lea ecx, [ebp - 0x1d8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x41506b
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], edi
push ecx
mov ecx, dword [0x57614c]
call fcn.004487e0
test eax, eax
je 0x415528
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push edx
call fcn.004e1f6e
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.004d6dd8
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1c
call fcn.004e1f6e
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.004e1e27
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
push edx
call fcn.004728a0
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x415550
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x4118f0
push ecx
push 0x20
push eax
call fcn.004be265
push esi
call fcn.004e2519
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x415560
push eax
call fcn.004e2519
add esp, 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.004e1e27
mov dword [ebp - 4], 6
mov dword [ebp - 0x50], 0x51af4c
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 0x1f
test eax, eax
je 0x41558e
push eax
call fcn.004e2519
add esp, 4
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.004db3d4
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.004db3d4
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.004db3d4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004e1e27
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004e1e27
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.004e1e27
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x1e4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x415620
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push 0x4118f0
push edx
push 0x20
push eax
call fcn.004be265
push esi
call fcn.004e2519
add esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x415630
push eax
call fcn.004e2519
add esp, 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.004e1e27
mov dword [ebp - 0x50], 0x51af4c
mov edx, dword [ebp - 0x4c]
mov byte [ebp - 4], 0x1b
test edx, edx
je 0x41558e
mov ecx, dword [ebp - 0x48]
mov eax, edx
mov esi, ecx
dec ecx
test esi, esi
je 0x41568a
add eax, 4
jmp 0x415657
mov dword [ebp - 0x50], 0x51af4c
mov edx, dword [ebp - 0x4c]
mov byte [ebp - 4], 9
cmp edx, ebx
je 0x41558e
mov ecx, dword [ebp - 0x48]
mov eax, edx
mov esi, ecx
dec ecx
test esi, esi
je 0x41568a
add eax, 4
jmp 0x41567e
push edx
jmp 0x415586