Function at 0x459fe0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1bc0
call fcn.00464c10
mov eax, dword [0x4efa64]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x1b9c], 0
mov dword [ebp - 0x1bb0], 1
mov dword [ebp - 0x1ba8], 0xffffffff
mov dword [ebp - 0x1ba4], 1
mov dword [ebp - 0x1bac], 0
cmp dword [ebp + 0xc], 0
je 0x45a03a
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x45a045
mov eax, dword [ebp - 0x1b9c]
jmp 0x45a65d
push 0x4e20
mov edx, dword [ebp + 8]
push edx
call fcn.004166d0
add esp, 8
mov dword [ebp - 0x1b90], eax
cmp dword [ebp - 0x1b90], 0
jne 0x45a070
mov eax, dword [ebp - 0x1b90]
jmp 0x45a65d
push 0x4ef9e8
mov eax, dword [ebp + 0xc]
push eax
call fcn.00478950
add esp, 8
test eax, eax
jne 0x45a08f
mov dword [ebp - 0x1bb0], 0
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 0x1b90]
mov byte [eax + edx], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x10c]
push edx
call fcn.004789e0
add esp, 8
lea eax, [ebp - 0x10c]
push eax
call fcn.004822f0
add esp, 4
movsx ecx, byte [ebp + eax - 0x10d]
cmp ecx, 0x5c
jne 0x45a10b
lea edx, [ebp - 0x10c]
push edx
call fcn.004822f0
add esp, 4
sub eax, 1
mov dword [ebp - 0x1bb4], eax
cmp dword [ebp - 0x1bb4], 0x105
jae 0x45a0f6
jmp 0x45a0fb
call fcn.00464b1b
mov eax, dword [ebp - 0x1bb4]
mov byte [ebp + eax - 0x10c], 0
jmp 0x45a0b4
lea ecx, [ebp - 0x10c]
push ecx
call fcn.004822f0
add esp, 4
movsx edx, byte [ebp + eax - 0x10d]
cmp edx, 0x2f
jne 0x45a162
lea eax, [ebp - 0x10c]
push eax
call fcn.004822f0
add esp, 4
sub eax, 1
mov dword [ebp - 0x1bb8], eax
cmp dword [ebp - 0x1bb8], 0x105
jae 0x45a14d
jmp 0x45a152
call fcn.00464b1b
mov ecx, dword [ebp - 0x1bb8]
mov byte [ebp + ecx - 0x10c], 0
jmp 0x45a10b
lea edx, [ebp - 0x10c]
push edx
call fcn.004822f0
add esp, 4
cmp eax, 2
jne 0x45a19f
mov eax, 1
shl eax, 0
movsx ecx, byte [ebp + eax - 0x10c]
cmp ecx, 0x3a
jne 0x45a19f
push 0x4ef9ec
lea edx, [ebp - 0x10c]
push edx
call fcn.004789f0
add esp, 8
push 0x1000
lea eax, [ebp - 0x190c]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.004147b0
add esp, 0xc
lea edx, [ebp - 0x193c]
push edx
lea eax, [ebp - 0x190c]
push eax
call fcn.00486970
add esp, 8
test eax, eax
je 0x45a2d8
cmp dword [ebp + 0x14], 0
je 0x45a1f2
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0045a6d0
add esp, 4
mov dword [ebp - 0x1bac], eax
jmp 0x45a1fc
mov dword [ebp - 0x1bac], 1
cmp dword [ebp - 0x1bac], 0
je 0x45a218
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1b90]
push eax
call fcn.004789e0
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x45a2d3
push 0x800
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xbac
push edx
call fcn.0041a010
add esp, 0xc
push 0x5c
mov eax, dword [ebp + 8]
add eax, 0xbac
push eax
call fcn.00466300
add esp, 8
mov dword [ebp - 0x1b94], eax
cmp dword [ebp - 0x1b94], 0
je 0x45a27b
mov ecx, dword [ebp + 8]
add ecx, 0xbac
cmp dword [ebp - 0x1b94], ecx
je 0x45a27b
mov edx, dword [ebp - 0x1b94]
mov byte [edx], 0
jmp 0x45a2d3
push 0x2f
mov eax, dword [ebp + 8]
add eax, 0xbac
push eax
call fcn.00466300
add esp, 8
mov dword [ebp - 0x1b94], eax
cmp dword [ebp - 0x1b94], 0
je 0x45a2a8
mov ecx, dword [ebp - 0x1b94]
mov byte [ecx], 0
jmp 0x45a2d3
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax + 0xbac]
cmp edx, 0x5c
je 0x45a2d3
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov byte [edx + ecx + 0xbac], 0
jmp 0x45a604
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004789e0
add esp, 8
movzx edx, word [ebp - 0x1936]
and edx, 0x8000
je 0x45a3a8
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1b90]
push ecx
call fcn.004789e0
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x45a3a3
push 0x800
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
add eax, 0xbac
push eax
call fcn.0041a010
add esp, 0xc
push 0x5c
mov ecx, dword [ebp + 8]
add ecx, 0xbac
push ecx
call fcn.00466300
add esp, 8
mov dword [ebp - 0x1b98], eax
cmp dword [ebp - 0x1b98], 0
je 0x45a363
mov edx, dword [ebp - 0x1b98]
mov byte [edx], 0
jmp 0x45a3a3
push 0x2f
mov eax, dword [ebp + 8]
add eax, 0xbac
push eax
call fcn.00466300
add esp, 8
mov dword [ebp - 0x1b98], eax
cmp dword [ebp - 0x1b98], 0
je 0x45a390
mov ecx, dword [ebp - 0x1b98]
mov byte [ecx], 0
jmp 0x45a3a3
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov byte [ecx + eax + 0xbac], 0
jmp 0x45a604
cmp dword [ebp + 0x10], 0
je 0x45a3c8
push 0x800
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
add eax, 0xbac
push eax
call fcn.0041a010
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x13b4], 0
je 0x45a3e0
mov dword [ebp - 0x1bbc], 0x4ef9f0
jmp 0x45a3ea
mov dword [ebp - 0x1bbc], 0x4ef9f8
mov edx, dword [ebp - 0x1bbc]
push edx
lea eax, [ebp - 0x10c]
push eax
call fcn.004789f0
add esp, 8
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x13b4], 0
je 0x45a418
mov dword [ebp - 0x1bc0], str..dat
jmp 0x45a422
mov dword [ebp - 0x1bc0], str..lic
mov edx, dword [ebp - 0x1bc0]
mov dword [ebp - 0x1ba0], edx
push 0x1000
lea eax, [ebp - 0x190c]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.004147b0
add esp, 0xc
lea edx, [ebp - 0x1b8c]
push edx
lea eax, [ebp - 0x190c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1ba8], eax
cmp dword [ebp - 0x1ba8], 0xffffffff
je 0x45a604
push 0x800
lea ecx, [ebp - 0x90c]
push ecx
lea edx, [ebp - 0x1b60]
push edx
call fcn.004147f0
add esp, 0xc
mov eax, dword [ebp - 0x1ba0]
push eax
lea ecx, [ebp - 0x90c]
push ecx
call fcn.004822f0
add esp, 4
mov esi, eax
mov edx, dword [ebp - 0x1ba0]
push edx
call fcn.004822f0
add esp, 4
sub esi, eax
lea eax, [ebp + esi - 0x90c]
push eax
call fcn.004916c0
add esp, 8
test eax, eax
jne 0x45a4fa
lea ecx, [ebp - 0x90c]
push ecx
mov edx, dword [ebp - 0x1ba4]
push edx
mov eax, dword [ebp - 0x1bb0]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x1b90]
push edx
call fcn.0045a670
add esp, 0x14
mov dword [ebp - 0x1ba4], 0
lea eax, [ebp - 0x1b8c]
push eax
mov ecx, dword [ebp - 0x1ba8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x45a5f7
push 0x800
lea edx, [ebp - 0x90c]
push edx
lea eax, [ebp - 0x1b60]
push eax
call fcn.004147f0
add esp, 0xc
mov ecx, dword [ebp - 0x1ba0]
push ecx
lea edx, [ebp - 0x90c]
push edx
call fcn.004822f0
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x1ba0]
push eax
call fcn.004822f0
add esp, 4
sub esi, eax
lea ecx, [ebp + esi - 0x90c]
push ecx
call fcn.004916c0
add esp, 8
test eax, eax
jne 0x45a5f2
lea edx, [ebp - 0x90c]
push edx
call fcn.004822f0
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x1b90]
push eax
call fcn.004822f0
add esp, 4
lea ecx, [esi + eax + 1]
cmp ecx, 0x4e20
jae 0x45a5d2
lea edx, [ebp - 0x90c]
push edx
mov eax, dword [ebp - 0x1ba4]
push eax
mov ecx, dword [ebp - 0x1bb0]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1b90]
push eax
call fcn.0045a670
add esp, 0x14
mov dword [ebp - 0x1ba4], 0
jmp 0x45a5f2
mov ecx, dword [ebp - 0x1b90]
push ecx
call fcn.004166b0
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x21c], 0xffffff9a
xor eax, eax
jmp 0x45a65d
jmp 0x45a4fa
mov eax, dword [ebp - 0x1ba8]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x1b90]
push ecx
call fcn.004822f0
add esp, 4
add eax, 1
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004166d0
add esp, 8
mov dword [ebp - 0x1b9c], eax
cmp dword [ebp - 0x1b9c], 0
je 0x45a648
mov eax, dword [ebp - 0x1b90]
push eax
mov ecx, dword [ebp - 0x1b9c]
push ecx
call fcn.004789e0
add esp, 8
mov edx, dword [ebp - 0x1b90]
push edx
call fcn.004166b0
add esp, 4
mov eax, dword [ebp - 0x1b9c]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464bf6
mov esp, ebp
pop ebp
ret