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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9059
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x669404]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, 1
mov dword [ebp - 4], edi
xor ebx, ebx
mov dword [ebp - 0x2f0], ebx
mov byte [ebp - 4], 2
lea eax, [edi + 0xf]
call fcn.00549c70
mov dword [ebp - 0x10], esp
mov esi, esp
push 0xdead0009
push 0x4c4beef
lea eax, [ebp - 0x30]
push eax
call fcn.00404610
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x4104a4
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00406010
mov eax, 8
call fcn.00549c70
mov dword [ebp - 0x10], esp
mov eax, esp
mov dword [ebp - 0x2f0], eax
cmp eax, ebx
je 0x4104e5
mov dword [eax], 0xabab04c4
mov dword [ebp - 4], edi
jmp 0x4104f9
mov eax, dword [ebp - 0x2f0]
cmp eax, ebx
je 0x410509
mov dword [eax], 0xcdcd04c4
mov dword [ebp - 0x2e8], 6
test byte [0x679728], 1
jne 0x41053d
or dword [0x679728], 1
mov byte [ebp - 4], 5
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2e8]
push ecx
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x410677
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x54], bl
mov byte [ebp - 4], 6
mov dword [ebp - 0x38], ebx
mov esi, 7
mov byte [ebp - 4], 7
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 8
lea edi, [ebp - 0x54]
call fcn.004193b0
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x410599
push 0xd
push str.EnterFunction
mov ecx, eax
call fcn.004044f0
jmp 0x4105a7
push str.EnterFunction
push ecx
call fcn.004046b0
add esp, 8
push 0x1ff
push ebx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.00403c90
mov edi, eax
mov byte [ebp - 4], 9
test byte [0x679728], 1
jne 0x4105e9
or dword [0x679728], 1
mov byte [ebp - 4], 0xa
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], 9
mov ecx, 0x6796dc
mov dword [ebp - 0x2e8], ecx
mov eax, dword [0x6796dc]
mov edx, dword [eax + 4]
call edx
mov byte [ebp - 4], 0xb
mov ecx, dword [0x679724]
cmp ecx, ebx
je 0x410631
cmp dword [edi + 0x14], 8
jb 0x410616
mov eax, dword [edi]
jmp 0x410618
mov eax, edi
mov edx, dword [ecx]
push 0x4c4
push str.FileHandler::CopyDirectoryImpl
push str.FileHandler.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 9
mov edx, dword [0x6796dc]
mov ecx, 0x6796dc
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1c], 8
jb 0x41065c
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
xor edx, edx
mov word [ebp - 0x30], dx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x54]
push eax
call fcn.00419280
jmp 0x41067c
mov esi, 7
mov eax, dword [ebp - 0x2f0]
cmp eax, ebx
je 0x41068c
mov dword [eax], 0xcdcd04c5
mov dword [ebp - 0x2e8], 6
test byte [0x679728], 1
jne 0x4106c0
or dword [0x679728], 1
mov byte [ebp - 4], 0xc
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2e8]
push ecx
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x4107f7
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x54], bl
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 0xf
lea edx, [ebp + 8]
push edx
push ecx
push str.EnterFunction_Path_
push ecx
lea edi, [ebp - 0x54]
call fcn.004193b0
add esp, 4
mov ecx, eax
call fcn.004162f0
add esp, 8
push eax
call fcn.004049a0
add esp, 8
push 0x1ff
push ebx
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
push ecx
call fcn.00419470
mov ecx, eax
call fcn.00403c90
mov edi, eax
mov byte [ebp - 4], 0x10
test byte [0x679728], 1
jne 0x41076a
or dword [0x679728], 1
mov byte [ebp - 4], 0x11
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], 0x10
mov ecx, 0x6796dc
mov dword [ebp - 0x2e8], ecx
mov edx, dword [0x6796dc]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x12
mov ecx, dword [0x679724]
cmp ecx, ebx
je 0x4107b3
cmp dword [edi + 0x14], 8
jb 0x410798
mov eax, dword [edi]
jmp 0x41079a
mov eax, edi
mov edx, dword [ecx]
push 0x4c5
push str.FileHandler::CopyDirectoryImpl
push str.FileHandler.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x10
mov edx, dword [0x6796dc]
mov ecx, 0x6796dc
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x1c], 8
jb 0x4107de
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
xor edx, edx
mov word [ebp - 0x30], dx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x54]
push eax
call fcn.00419280
mov edi, 8
mov byte [ebp - 0x2e1], 1
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], ebx
xor ecx, ecx
mov word [ebp - 0x8c], cx
push 0xffffffffffffffff
push ebx
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x8c]
call fcn.00406730
mov byte [ebp - 4], 0x13
push 2
push 0x613790
lea ecx, [ebp - 0x8c]
call fcn.004044f0
cmp dword [ebp - 0x78], edi
mov eax, dword [ebp - 0x8c]
jae 0x41084b
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x2e0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2e8], eax
cmp eax, 0xffffffff
jne 0x4108d3
mov byte [ebp - 4], 1
cmp dword [ebp - 0x78], edi
jb 0x41087d
mov edx, dword [ebp - 0x8c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], ebx
xor eax, eax
mov word [ebp - 0x8c], ax
mov byte [ebp - 4], bl
cmp dword [ebp + 0x1c], edi
jb 0x4108a1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], ebx
xor edx, edx
mov word [ebp + 8], dx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x38], edi
jb 0x4108c6
mov eax, dword [ebp + 0x24]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov word [ebp + 0x24], cx
xor al, al
jmp 0x410d36
mov edi, dword [ebp + 0x40]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], ebx
xor edx, edx
mov word [ebp - 0x70], dx
lea eax, [ebp - 0x2b4]
lea edx, [eax + 2]
jmp 0x4108f0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4108f0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x70]
call fcn.00406180
mov byte [ebp - 4], 0x14
push 1
push 0x6135f8
mov ecx, dword [ebp - 0x60]
push ecx
push ebx
lea ecx, [ebp - 0x70]
call fcn.00416c10
test eax, eax
je 0x410aec
push 2
push 0x613798
mov edx, dword [ebp - 0x60]
push edx
push ebx
lea ecx, [ebp - 0x70]
call fcn.00416c10
test eax, eax
je 0x410aec
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
xor eax, eax
mov word [ebp - 0x30], ax
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00406730
mov byte [ebp - 4], 0x15
push 1
push 0x6135f4
lea ecx, [ebp - 0x30]
call fcn.004044f0
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x30]
call fcn.00406070
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
xor eax, eax
mov word [ebp - 0x4c], ax
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0x24]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00406730
mov byte [ebp - 4], 0x16
push 1
push 0x6135f4
lea ecx, [ebp - 0x4c]
call fcn.004044f0
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x4c]
call fcn.00406070
test byte [ebp - 0x2e0], 0x10
je 0x410a64
cmp byte [ebp + 0x44], bl
je 0x410a87
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2e9]
call fcn.0040b2e0
add esp, 4
test al, al
je 0x410a05
cmp byte [ebp - 0x2e9], bl
jne 0x410a05
lea ecx, [ebp - 0x4c]
push ecx
call fcn.0040ac30
add esp, 4
mov edx, dword [ebp + 0x44]
push edx
push edi
sub esp, 0x1c
mov dword [ebp - 0x2f8], esp
mov ecx, esp
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
xor eax, eax
mov word [ecx], ax
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x4c]
push edx
call fcn.00406730
mov byte [ebp - 4], 0x17
sub esp, 0x1c
mov dword [ebp - 0x2f4], esp
mov ecx, esp
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
xor eax, eax
mov word [ecx], ax
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x30]
push edx
call fcn.00406730
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x16
call fcn.00410430
add esp, 0x40
jmp 0x410a79
cmp dword [ebp - 0x60], ebx
je 0x410a87
push edi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040c7b0
add esp, 8
cmp al, bl
mov byte [ebp - 0x2e1], al
je 0x410b2d
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x38], 8
jb 0x410a9e
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
xor edx, edx
mov word [ebp - 0x4c], dx
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x1c], 8
jb 0x410ac1
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
xor ecx, ecx
mov word [ebp - 0x30], cx
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x5c], 8
jb 0x410ae4
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov word [ebp - 0x70], ax
jmp 0x410b09
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x5c], 8
jb 0x410b03
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov word [ebp - 0x70], dx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], esi
lea eax, [ebp - 0x2e0]
push eax
mov ecx, dword [ebp - 0x2e8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4108d6
jmp 0x410b98
mov byte [ebp - 4], 0x15
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x410b48
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], ax
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x1c], edi
jb 0x410b6a
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x5c], edi
jb 0x410b8c
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
mov word [ebp - 0x70], cx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], esi
mov edx, dword [ebp - 0x2e8]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x2f0]
cmp eax, ebx
je 0x410bb5
mov dword [eax], 0xcdcd04fe
mov dword [ebp - 0x2e8], 6
test byte [0x679728], 1
jne 0x410be9
or dword [0x679728], 1
mov byte [ebp - 4], 0x19
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x2e8]
push eax
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x410cc3
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x54], bl
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 0x1c
lea ecx, [ebp + 8]
push ecx
push ecx
push str.ExitFunction_Path_
push ecx
lea edi, [ebp - 0x54]
call fcn.004193b0
add esp, 4
mov ecx, eax
call fcn.004162f0
add esp, 8
push eax
call fcn.004049a0
add esp, 8
push 0x1ff
push ebx
lea edx, [ebp - 0x30]
push edx
mov eax, edi
push eax
call fcn.00419470
mov ecx, eax
call fcn.00403c90
mov ebx, eax
mov byte [ebp - 4], 0x1d
push 0x4fe
push str.FileHandler::CopyDirectoryImpl
push str.FileHandler.cpp
push 6
call fcn.00418640
mov ecx, eax
call fcn.00418c40
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x1c], 8
jb 0x410c9d
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
xor edx, edx
mov word [ebp - 0x30], dx
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x54]
push eax
call fcn.00419280
xor ebx, ebx
lea esi, [ebx + 7]
mov edi, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x78], edi
jb 0x410ce1
mov ecx, dword [ebp - 0x8c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], ebx
xor edx, edx
mov word [ebp - 0x8c], dx
mov byte [ebp - 4], bl
cmp dword [ebp + 0x1c], edi
jb 0x410d05
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], ebx
xor ecx, ecx
mov word [ebp + 8], cx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x38], edi
jb 0x410d2a
mov edx, dword [ebp + 0x24]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov word [ebp + 0x24], ax
mov al, byte [ebp - 0x2e1]
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x38], esi
lea esp, [ebp - 0x308]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00546bdc
mov esp, ebp
pop ebp
ret