Function at 0x459c10
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0491
mov eax, dword fs:[0]
push eax
sub esp, 0x7c4
mov eax, dword [0x4c40e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x714], ecx
mov dword [ebp - 0x70c], 0
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x714]
call fcn.00458f50
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x10]
call fcn.0040f5d0
movzx ecx, al
test ecx, ecx
jne 0x459cbe
mov edx, dword [ebp + 0x10]
push edx
push 0x4a6b74
lea eax, [ebp - 0x130]
push eax
call fcn.0044d560
add esp, 0xc
mov dword [ebp - 0x7bc], eax
mov ecx, dword [ebp - 0x7bc]
mov dword [ebp - 0x768], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x768]
push edx
lea ecx, [ebp - 0x40]
call fcn.0044e4a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x130]
call fcn.0040f860
push 0x4a6b78
lea ecx, [ebp - 0x40]
call fcn.0044e4c0
lea eax, [ebp - 0x708]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040f880
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x71c], eax
cmp dword [ebp - 0x71c], 0xffffffff
jne 0x459d9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4a6b80
lea ecx, [ebp - 0x40]
push ecx
push 0x4a6b84
lea edx, [ebp - 0x88]
push edx
call fcn.0044d560
add esp, 0xc
mov dword [ebp - 0x7ac], eax
mov eax, dword [ebp - 0x7ac]
mov dword [ebp - 0x774], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x774]
push ecx
lea edx, [ebp - 0x208]
push edx
call fcn.0044d460
add esp, 0xc
mov dword [ebp - 0x79c], eax
mov eax, dword [ebp - 0x79c]
mov dword [ebp - 0x77c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x77c]
push ecx
lea ecx, [ebp - 0x7d0]
call fcn.00454460
push 0x4bb008
lea edx, [ebp - 0x7d0]
push edx
call sub.MSVCR120.dll__CxxThrowException
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x208]
call fcn.0040f860
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.0040f860
mov ecx, dword [ebp - 0x714]
add ecx, 0x298
call fcn.0040f5d0
movzx eax, al
test eax, eax
jne 0x459f1f
lea ecx, [ebp - 0xe8]
push ecx
mov ecx, dword [ebp - 0x714]
call fcn.00458f50
mov dword [ebp - 0x734], eax
mov edx, dword [ebp - 0x734]
mov dword [ebp - 0x73c], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x70c]
or eax, 1
mov dword [ebp - 0x70c], eax
mov ecx, dword [ebp - 0x73c]
push ecx
lea edx, [ebp - 0xd0]
push edx
call fcn.00458080
add esp, 8
mov dword [ebp - 0x744], eax
mov eax, dword [ebp - 0x744]
mov dword [ebp - 0x74c], eax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x70c]
or ecx, 2
mov dword [ebp - 0x70c], ecx
mov ecx, dword [ebp - 0x74c]
call fcn.0040f5d0
movzx edx, al
test edx, edx
jne 0x459f1f
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x714]
call fcn.00458f10
mov dword [ebp - 0x754], eax
mov ecx, dword [ebp - 0x754]
mov dword [ebp - 0x75c], ecx
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x70c]
or edx, 4
mov dword [ebp - 0x70c], edx
mov eax, dword [ebp - 0x75c]
push eax
push 0
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0x714]
call fcn.00458f80
mov dword [ebp - 0x764], eax
mov edx, dword [ebp - 0x764]
mov dword [ebp - 0x770], edx
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x70c]
or eax, 8
mov dword [ebp - 0x70c], eax
mov ecx, dword [ebp - 0x770]
push ecx
lea edx, [ebp - 0x178]
push edx
call fcn.00458190
add esp, 0xc
mov dword [ebp - 0x778], eax
mov eax, dword [ebp - 0x778]
mov dword [ebp - 0x780], eax
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x70c]
or ecx, 0x10
mov dword [ebp - 0x70c], ecx
mov edx, dword [ebp - 0x780]
push edx
call fcn.0045a750
add esp, 8
movzx eax, al
test eax, eax
jne 0x459f1f
mov dword [ebp - 0x728], 0
jmp 0x459f29
mov dword [ebp - 0x728], 1
mov cl, byte [ebp - 0x728]
mov byte [ebp - 0x715], cl
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x70c]
and edx, 0x10
je 0x459f59
and dword [ebp - 0x70c], 0xffffffef
lea ecx, [ebp - 0x178]
call fcn.0040f860
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x70c]
and eax, 8
je 0x459f7d
and dword [ebp - 0x70c], 0xfffffff7
lea ecx, [ebp - 0xa0]
call fcn.0040f860
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x70c]
and ecx, 4
je 0x459fa1
and dword [ebp - 0x70c], 0xfffffffb
lea ecx, [ebp - 0xb8]
call fcn.0040f860
mov dword [ebp - 4], 4
mov edx, dword [ebp - 0x70c]
and edx, 2
je 0x459fc5
and dword [ebp - 0x70c], 0xfffffffd
lea ecx, [ebp - 0xd0]
call fcn.0040f860
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x70c]
and eax, 1
je 0x459fe9
and dword [ebp - 0x70c], 0xfffffffe
lea ecx, [ebp - 0xe8]
call fcn.0040f860
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x714]
call fcn.00458f50
mov byte [ebp - 4], 9
movzx edx, byte [ebp - 0x715]
test edx, edx
je 0x45a04c
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x714]
call fcn.00458f80
mov dword [ebp - 0x788], eax
mov ecx, dword [ebp - 0x788]
mov dword [ebp - 0x790], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x70c]
or edx, 0x20
mov dword [ebp - 0x70c], edx
mov eax, dword [ebp - 0x790]
mov dword [ebp - 0x720], eax
jmp 0x45a07d
push 0x4a6ba4
lea ecx, [ebp - 0x100]
call fcn.0040f820
mov dword [ebp - 0x798], eax
mov ecx, dword [ebp - 0x70c]
or ecx, 0x40
mov dword [ebp - 0x70c], ecx
mov edx, dword [ebp - 0x798]
mov dword [ebp - 0x720], edx
mov eax, dword [ebp - 0x720]
mov dword [ebp - 0x7a0], eax
mov ecx, dword [ebp - 0x7a0]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0044e190
mov dword [ebp - 4], 0xb
mov edx, dword [ebp - 0x70c]
and edx, 0x40
je 0x45a0bc
and dword [ebp - 0x70c], 0xffffffbf
lea ecx, [ebp - 0x100]
call fcn.0040f860
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x70c]
and eax, 0x20
je 0x45a0dd
and dword [ebp - 0x70c], 0xffffffdf
lea ecx, [ebp - 0x118]
call fcn.0040f860
mov ecx, dword [ebp + 0x10]
call fcn.0040f5d0
movzx ecx, al
test ecx, ecx
jne 0x45a24c
mov edx, dword [ebp + 0x10]
push edx
push 0x4a6ba8
lea eax, [ebp - 0x160]
push eax
call fcn.0044d560
add esp, 0xc
mov dword [ebp - 0x7a8], eax
mov ecx, dword [ebp - 0x7a8]
mov dword [ebp - 0x7b0], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x7b0]
push edx
lea ecx, [ebp - 0x58]
call fcn.0044e4a0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x160]
call fcn.0040f860
lea ecx, [ebp - 0x28]
call fcn.0040f5d0
movzx eax, al
test eax, eax
je 0x45a18f
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x1c0]
call fcn.0044e1e0
mov dword [ebp - 0x7b8], eax
mov edx, dword [ebp - 0x7b8]
mov dword [ebp - 0x7c0], edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x70c]
or eax, 0x80
mov dword [ebp - 0x70c], eax
mov ecx, dword [ebp - 0x7c0]
mov dword [ebp - 0x724], ecx
jmp 0x45a1de
mov edx, dword [ebp + 0x10]
push edx
push 0x4a6bac
lea eax, [ebp - 0x190]
push eax
call fcn.0044d560
add esp, 0xc
mov dword [ebp - 0x76c], eax
mov ecx, dword [ebp - 0x76c]
mov dword [ebp - 0x738], ecx
mov dword [ebp - 4], 0xf
mov edx, dword [ebp - 0x70c]
or edx, 0x100
mov dword [ebp - 0x70c], edx
mov eax, dword [ebp - 0x738]
mov dword [ebp - 0x724], eax
mov ecx, dword [ebp - 0x724]
mov dword [ebp - 0x730], ecx
mov edx, dword [ebp - 0x730]
push edx
lea ecx, [ebp - 0x28]
call fcn.0044e4a0
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x70c]
and eax, 0x100
je 0x45a222
and dword [ebp - 0x70c], 0xfffffeff
lea ecx, [ebp - 0x190]
call fcn.0040f860
mov dword [ebp - 4], 0xc
mov ecx, dword [ebp - 0x70c]
and ecx, 0x80
je 0x45a24c
and dword [ebp - 0x70c], 0xffffff7f
lea ecx, [ebp - 0x1c0]
call fcn.0040f860
lea edx, [ebp - 0x28]
push edx
sub esp, 0x250
mov ecx, 0x94
lea esi, [ebp - 0x708]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x4b8]
call fcn.00458ba0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x4b8]
call fcn.00458d00
movzx ecx, al
test ecx, ecx
je 0x45a2b6
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4b8]
call fcn.004506f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.0040f860
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0040f860
jmp 0x45a570
lea edx, [ebp - 0x1f0]
push edx
lea ecx, [ebp - 0x4b8]
call fcn.00458f10
mov dword [ebp - 0x740], eax
mov eax, dword [ebp - 0x740]
mov dword [ebp - 0x784], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x784]
push ecx
mov edx, dword [ebp - 0x714]
add edx, 0x298
push edx
call fcn.00458350
add esp, 8
mov byte [ebp - 0x70d], al
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1f0]
call fcn.0040f860
movzx eax, byte [ebp - 0x70d]
test eax, eax
je 0x45a329
lea ecx, [ebp - 0x4b8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00450b90
lea ecx, [ebp - 0x4b8]
call fcn.00458e20
movzx edx, al
test edx, edx
je 0x45a549
movzx eax, byte [ebp + 0xc]
test eax, eax
jne 0x45a356
movzx ecx, byte [ebp - 0x70d]
test ecx, ecx
je 0x45a549
mov ecx, dword [ebp + 0x10]
call fcn.0040f5d0
movzx edx, al
test edx, edx
je 0x45a3b0
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x4b8]
call fcn.00458f10
mov dword [ebp - 0x748], eax
mov ecx, dword [ebp - 0x748]
mov dword [ebp - 0x7a4], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x70c]
or edx, 0x200
mov dword [ebp - 0x70c], edx
mov eax, dword [ebp - 0x7a4]
mov dword [ebp - 0x72c], eax
jmp 0x45a470
lea ecx, [ebp - 0x148]
push ecx
lea ecx, [ebp - 0x4b8]
call fcn.00458f10
mov dword [ebp - 0x750], eax
mov edx, dword [ebp - 0x750]
mov dword [ebp - 0x78c], edx
mov dword [ebp - 4], 0x13
mov eax, dword [ebp - 0x70c]
or eax, 0x400
mov dword [ebp - 0x70c], eax
mov ecx, dword [ebp - 0x78c]
push ecx
push 0x4a6b30
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x1d8]
push eax
call fcn.0044d4a0
add esp, 0xc
mov dword [ebp - 0x758], eax
mov ecx, dword [ebp - 0x758]
mov dword [ebp - 0x7b4], ecx
mov dword [ebp - 4], 0x14
mov edx, dword [ebp - 0x70c]
or edx, 0x800
mov dword [ebp - 0x70c], edx
mov eax, dword [ebp - 0x7b4]
push eax
lea ecx, [ebp - 0x220]
push ecx
call fcn.00453160
add esp, 0xc
mov dword [ebp - 0x760], eax
mov edx, dword [ebp - 0x70c]
or edx, 0x1000
mov dword [ebp - 0x70c], edx
mov eax, dword [ebp - 0x760]
mov dword [ebp - 0x72c], eax
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x794], ecx
mov edx, dword [ebp - 0x794]
push edx
lea ecx, [ebp - 0x70]
call fcn.0044e190
mov dword [ebp - 4], 0x15
mov eax, dword [ebp - 0x70c]
and eax, 0x1000
je 0x45a4b4
and dword [ebp - 0x70c], 0xffffefff
lea ecx, [ebp - 0x220]
call fcn.0040f860
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x70c]
and ecx, 0x800
je 0x45a4db
and dword [ebp - 0x70c], 0xfffff7ff
lea ecx, [ebp - 0x1d8]
call fcn.0040f860
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x70c]
and edx, 0x400
je 0x45a502
and dword [ebp - 0x70c], 0xfffffbff
lea ecx, [ebp - 0x148]
call fcn.0040f860
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x70c]
and eax, 0x200
je 0x45a528
and dword [ebp - 0x70c], 0xfffffdff
lea ecx, [ebp - 0x1a8]
call fcn.0040f860
lea ecx, [ebp - 0x70]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x714]
call fcn.00459c10
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x70]
call fcn.0040f860
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4b8]
call fcn.004506f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.0040f860
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0040f860
lea eax, [ebp - 0x708]
push eax
mov ecx, dword [ebp - 0x71c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x459fe9
mov edx, dword [ebp - 0x71c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040f860
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00499716
mov esp, ebp
pop ebp
ret 0xc