Function at 0x4045ee
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0xe80
lea ebp, [esp - 4]
mov eax, dword [0x59d680]
xor eax, ebp
mov dword [ebp + 0xe80], eax
push 0x40
mov eax, 0x536508
call fcn.0044fa84
xor ebx, ebx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov esi, 0x206
push esi
lea eax, [ebp + 0xa72]
push ebx
push eax
mov dword [ebp - 4], ebx
mov word [ebp + 0xa70], bx
call fcn.0044fd00
push esi
lea eax, [ebp + 0x45a]
push ebx
push eax
mov word [ebp + 0x458], bx
call fcn.0044fd00
add esp, 0x18
push str.Dict
call fcn.00402f04
mov ecx, eax
call fcn.0040b5f3
push eax
lea eax, [ebp + 0xa70]
push 0x53de44
push eax
call fcn.0045025e
push esi
lea eax, [ebp + 0xc7a]
push ebx
push eax
mov word [ebp + 0xc78], bx
call fcn.0044fd00
push esi
lea eax, [ebp + 0x252]
push ebx
push eax
mov word [ebp + 0x250], bx
call fcn.0044fd00
push esi
lea eax, [ebp + 0x86a]
push ebx
push eax
mov word [ebp + 0x868], bx
call fcn.0044fd00
lea eax, [ebp + 0xa70]
push eax
lea eax, [ebp + 0x868]
push str._s.
push eax
call fcn.0045025e
add esp, 0x40
lea eax, [ebp]
push eax
lea eax, [ebp + 0x868]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x4047e8
mov edi, str..zncel
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, ebx
je 0x4047e8
cmp word [ebp + 0x2c], 0x2e
je 0x4046f4
cmp word [ebp + 0x2e], bx
je 0x4046f4
cmp word [ebp + 0x2e], 0x2e
jne 0x404723
cmp word [ebp + 0x30], bx
je 0x4046f4
test byte [ebp], 0x10
jne 0x4046f4
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0xc78]
push 0x53dedc
push eax
call fcn.0045025e
lea eax, [ebp + 0xc78]
push eax
call fcn.00450655
lea eax, [ebp + 0xc78]
push edi
push eax
call fcn.0044fd7a
add esp, 0x18
test eax, eax
je 0x4046f4
push esi
lea eax, [ebp + 0x662]
push ebx
push eax
mov word [ebp + 0x660], bx
call fcn.0044fd00
lea eax, [ebp + 0x660]
push eax
lea eax, [ebp + 0xc78]
push eax
call fcn.0040d307
lea eax, [ebp + 0x660]
push edi
push eax
call fcn.0044fb8e
add esp, 0x1c
test eax, eax
jne 0x4046f4
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x250]
push 0x53dedc
push eax
call fcn.0045025e
add esp, 0xc
lea eax, [ebp + 0x250]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401a45
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00404599
push ebx
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.00401376
jmp 0x4046f4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
call fcn.00403537
jmp 0x40484b
lea ecx, [ebp - 0x14]
call fcn.00402e2a
cmp dword [eax + 0x18], 8
jb 0x404815
mov eax, dword [eax + 4]
jmp 0x404818
add eax, 4
push eax
lea eax, [ebp + 0xa70]
push eax
lea eax, [ebp + 0x458]
push 0x53ded0
push eax
call fcn.0045025e
mov ecx, dword [ebp - 0x28]
add esp, 0x10
lea eax, [ebp + 0x458]
push eax
call fcn.00403fc0
lea ecx, [ebp - 0x14]
call fcn.00402e4b
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
call fcn.00403537
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041fe07
test al, al
je 0x404802
lea ecx, [ebp - 0x24]
call fcn.00403f2d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xe80]
xor ecx, ebp
call fcn.0044fa75
add ebp, 0xe84
leave
ret