Function at 0x4e88b0
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x4580
call fcn.005cd640
push ebx
mov ebx, dword [esp + 0x4588]
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
xor ebp, ebp
push ebp
push ebp
push 0x184
push 0x67
push ebx
call edi
push 0x67
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push ebp
push ebp
push 0xb
push 0x67
push ebx
call edi
mov dword [0x63ac28], ebp
mov dword [0x63ac2c], ebp
mov dword [0x63ac20], ebp
mov dword [0x63ac24], ebp
mov dword [0x609c50], 0xffffffff
call dword [sym.imp.USER32.dll_GetFocus]
push ebp
push ebx
mov dword [esp + 0x28], eax
mov dword [0x63ac30], 1
call fcn.004e8090
lea eax, [esp + 0x1ac]
push eax
push ebx
call fcn.004e7d40
lea ecx, [esp + 0x1b4]
push ecx
push str._s.log
push 0x63dcd8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
lea edx, [esp + 0x64]
push edx
push 0x63dcd8
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
sete al
mov dword [esp + 0x10], ebp
cmp eax, ebp
jne 0x4e8a46
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test byte [esp + 0x64], 0x10
jne 0x4e8a30
xor eax, eax
mov cl, byte [esp + eax + 0x90]
mov byte [eax + 0x63dcd8], cl
inc eax
test cl, cl
jne 0x4e8991
cmp dword [0x63ab04], 6
jne 0x4e89df
push 0x63dcd8
lea ecx, [esp + 0x1a8]
push ecx
push 0x5e6a64
push 0x60ec68
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x50]
push edx
push 0x60ec68
call fcn.005d81c7
add esp, 0x18
test eax, eax
je 0x4e89e3
mov dword [esp + 0x5c], ebp
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x10]
push eax
push 0x63dcd8
push ecx
call fcn.004e2f90
add esp, 0xc
cmp eax, ebp
je 0x4e8a30
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x10], eax
mov edx, dword [eax + 0x44]
mov dword [edx + 0xc], ecx
mov edx, dword [eax + 0x44]
mov eax, dword [edx + 0xc]
mov ecx, dword [0x63ac20]
cdq
add ecx, eax
mov eax, dword [0x63ac24]
adc eax, edx
mov dword [0x63ac20], ecx
mov dword [0x63ac24], eax
lea eax, [esp + 0x64]
push eax
push esi
call edi
test eax, eax
jne 0x4e8984
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp esi, 0xffffffff
je 0x4e8a52
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x10]
push ebp
push 5
push ecx
call fcn.0054bc50
add esp, 0xc
push 0x63dcd8
push 0x3e7
push 0xd
push 0x66
push ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebp
call edi
mov al, byte [0x63dcd8]
test al, al
je 0x4e8aab
push 0x63dcd8
call fcn.005e3ca4
push 0x5e7e38
push 0x63dcd8
call fcn.005ce940
add esp, 0xc
neg eax
sbb eax, eax
add eax, 2
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
cmp eax, ebp
mov esi, eax
mov dword [esp + 0x1c], esi
je 0x4e8d68
jmp 0x4e8ac3
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
cmp eax, ebp
mov dword [esp + 0x14], ebp
je 0x4e8dff
cmp eax, 1
jne 0x4e8aec
mov edx, dword [esi]
push eax
push ebp
push edx
push 0x63dcd8
call fcn.00581d70
add esp, 0x10
jmp 0x4e8afc
mov eax, dword [esi]
push 0x63dcd8
push eax
call fcn.00422cf0
add esp, 8
test eax, eax
je 0x4e8b0d
mov dword [esp + 0x14], 1
jmp 0x4e8cfa
cmp dword [0x63ab08], ebp
jne 0x4e8cfa
mov ecx, dword [esi]
push ecx
lea edx, [esp + 0x1a8]
push edx
push 0x5e6a64
push 0x60ec68
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x40
push 0x5e7744
push 0x60ec68
call fcn.005ccd80
mov ebp, eax
add esp, 0x1c
test ebp, ebp
je 0x4e8cf2
push 0x4000
push 0
push 0
push ebp
call fcn.005cdfc5
push ebp
push 0x4000
mov edi, 1
lea eax, [esp + 0x5a4]
push edi
push eax
call fcn.005cdb83
mov esi, eax
add esp, 0x20
test esi, esi
jle 0x4e8ce5
jmp 0x4e8b90
lea ecx, [esp + 0x58c]
push ecx
mov byte [esp + esi + 0x590], 0
call fcn.005e3ca4
mov ecx, dword [0x63ac2c]
mov eax, esi
mov esi, dword [0x63ac28]
cdq
add esp, 4
add esi, eax
adc ecx, edx
mov dword [0x63ac28], esi
mov dword [0x63ac2c], ecx
test byte [ebp + 0xc], 0x20
jne 0x4e8ce5
cmp dword [esp + 0x18], edi
jne 0x4e8bf1
push edi
push 0
lea edx, [esp + 0x594]
push edx
push 0x63dcd8
call fcn.00581d70
add esp, 0x10
jmp 0x4e8c06
lea eax, [esp + 0x58c]
push 0x63dcd8
push eax
call fcn.005ccdf0
add esp, 8
test eax, eax
je 0x4e8c0e
mov dword [esp + 0x14], edi
push ebx
call fcn.004e7de0
mov al, byte [ebp + 0xc]
add esp, 4
test al, 0x10
jne 0x4e8ce5
push edi
push 0xffffffffffffffce
push ebp
call fcn.005cdc5e
add esp, 0xc
test eax, eax
jne 0x4e8ce5
push ebp
call fcn.005cf26b
add esp, 4
test eax, eax
jle 0x4e8ce5
mov esi, dword [0x63ac28]
mov edx, dword [0x63ac2c]
push edi
push 0
push 0
add esi, 0xffffffce
push 0
lea ecx, [esp + 0x34]
adc edx, 0xffffffff
push ecx
mov dword [0x63ac28], esi
mov dword [0x63ac2c], edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4e8cb6
jmp 0x4e8c80
cmp dword [esp + 0x28], 0x12
je 0x4e8cb6
sub esp, 0x1c
mov ecx, 7
lea esi, [esp + 0x40]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.004f8d20
add esp, 0x1c
push 1
push 0
push 0
push 0
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x4e8c80
cmp dword [0x63ac30], 2
je 0x4e8ce5
push ebp
push 0x4000
mov edi, 1
lea eax, [esp + 0x594]
push edi
push eax
call fcn.005cdb83
mov esi, eax
add esp, 0x10
test esi, esi
jg 0x4e8b90
push ebp
call fcn.005ccca9
mov esi, dword [esp + 0x20]
add esp, 4
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
xor ebp, ebp
cmp dword [0x63ac30], 2
je 0x4e8d68
cmp dword [esp + 0x14], ebp
je 0x4e8d59
fild dword [esi + 0xc]
push 1
push ebp
push ebp
push 1
push 1
push 0x60e880
sub esp, 8
fstp qword [esp]
call fcn.00516dc0
mov ecx, dword [esi]
push 0x60e880
push ecx
push 0x5ea47c
push 0x60ec68
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x30
push 0x60ec68
push ebp
push 0x180
push 0x67
push ebx
call edi
cmp eax, 0xffffffff
je 0x4e8d68
cmp eax, 0xfffffffe
je 0x4e8d68
mov eax, dword [esi + 0x40]
cmp eax, ebp
mov dword [esp + 0x1c], eax
jne 0x4e8abf
lea edx, [esp + 0x10]
push edx
call fcn.004e33a0
push 1
push 0x67
push ebx
call fcn.005841b0
add esp, 0x10
push ebp
push 1
push 0x185
push 0x67
push ebx
call edi
push ebp
push 1
push 0xb
push 0x67
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push ebp
push 0x67
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x67
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push ebp
push ebx
mov dword [0x63ac28], ebp
mov dword [0x63ac2c], ebp
mov dword [0x63ac20], ebp
mov dword [0x63ac24], ebp
mov dword [0x609c50], 0xffffffff
mov dword [0x63ac30], ebp
call fcn.004e8090
mov eax, dword [esp + 0x28]
add esp, 8
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4580
ret
cmp dword [0x63ac30], 2
je 0x4e8d68
jmp 0x4e8d09