Function at 0x45ca00
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb8ff
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x5470b0]
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 eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x298], ecx
mov dword [ebp - 0x290], edx
mov dword [ebp - 0x284], eax
xor edi, edi
push 0x24c
lea ecx, [ebp - 0x260]
push edi
mov dword [ebp - 4], 1
push ecx
mov dword [ebp - 0x270], edi
mov dword [ebp - 0x264], edi
call fcn.004d2a50
add esp, 0xc
push 0x51bd18
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x288]
push eax
call fcn.00424a44
mov eax, dword [eax]
add esp, 0xc
push edi
push edi
push edi
lea ecx, [ebp - 0x264]
push ecx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
mov eax, dword [ebp - 0x288]
add eax, 0xfffffff0
mov dword [ebp - 0x27c], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45cacc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, esp
mov dword [ebp - 0x274], esp
push esi
push edx
push eax
push str.FilesDiff_PostScan_AddNewDir:_PhysDir_s__DispDir_s__hFind_x
push ecx
call fcn.00475230
add esp, 0x10
mov bl, 2
mov esi, esp
mov byte [ebp - 4], bl
mov dword [ebp - 0x280], esp
mov dword [ebp - 0x278], esi
call fcn.004c31da
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x45cb19
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov eax, str.General
shr eax, 0x10
mov byte [ebp - 4], 3
mov dword [ebp - 0x280], eax
cmp eax, edi
jne 0x45cb5a
mov ecx, str.General
movzx edi, cx
push edi
call fcn.004cb124
test eax, eax
je 0x45cb74
push edi
push eax
mov ecx, esi
call fcn.00424e92
jmp 0x45cb74
push str.General
call fcn.004d1e6a
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.00425415
mov byte [ebp - 4], bl
push 1
mov byte [ebp - 4], 1
call fcn.00479f70
add esp, 0xc
cmp dword [ebp - 0x27c], 0xffffffff
je 0x45cf18
mov dword [ebp - 0x270], 1
mov bl, 9
mov edi, edi
test byte [ebp - 0x264], 0x10
jne 0x45cef5
push ecx
mov esi, esp
mov dword [ebp - 0x294], esp
mov dword [ebp - 0x268], esi
call fcn.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45cb0f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, 0x5060a8
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x45cc09
mov edx, ecx
movzx edi, dx
push edi
call fcn.004cb124
test eax, eax
je 0x45cc23
push edi
push eax
mov ecx, esi
call fcn.00424e92
jmp 0x45cc23
push 0x5060a8
call fcn.004d1e6a
add esp, 4
push eax
push 0x5060a8
mov ecx, esi
call fcn.00425415
push ecx
mov byte [ebp - 4], 5
mov esi, esp
mov dword [ebp - 0x268], esp
mov dword [ebp - 0x26c], esi
call fcn.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45cb0f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 6
test ecx, 0xffff0000
jne 0x45cc84
mov edx, ecx
movzx edi, dx
push edi
call fcn.004cb124
test eax, eax
je 0x45cca2
push edi
push eax
mov ecx, esi
call fcn.00424e92
jmp 0x45cca2
lea eax, [ebp - 0x238]
push eax
call fcn.004d1e6a
add esp, 4
push eax
lea ecx, [ebp - 0x238]
push ecx
mov ecx, esi
call fcn.00425415
mov byte [ebp - 4], 7
mov eax, dword [ebp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x26c], esp
mov esi, esp
push eax
call fcn.00425486
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea edi, [ebp - 0x274]
mov byte [ebp - 4], 1
call fcn.00474af0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x274]
add esp, 8
add eax, 0xfffffff0
mov dword [ebp - 0x26c], esp
mov esi, esp
push eax
call fcn.00425486
lea edx, [ebp - 0x278]
add esp, 4
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.00485ce0
add esp, 8
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0x10]
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x26c], esp
mov dword [ebp - 0x268], esi
call fcn.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45cb0f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, str.FilesDiff_PostScan_RecurseDirs:_adding_new_dir:__s
mov byte [ebp - 4], 0xa
test ecx, 0xffff0000
jne 0x45cd6a
mov edx, ecx
movzx edi, dx
push edi
call fcn.004cb124
test eax, eax
je 0x45cd84
push edi
push eax
mov ecx, esi
call fcn.00424e92
jmp 0x45cd84
push str.FilesDiff_PostScan_RecurseDirs:_adding_new_dir:__s
call fcn.004d1e6a
add esp, 4
push eax
push str.FilesDiff_PostScan_RecurseDirs:_adding_new_dir:__s
mov ecx, esi
call fcn.00425415
push ecx
mov byte [ebp - 4], 0xb
mov esi, esp
mov dword [ebp - 0x268], esp
mov dword [ebp - 0x268], esi
call fcn.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45cb0f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
cmp dword [ebp - 0x280], 0
mov byte [ebp - 4], 0xc
jne 0x45cde3
mov ecx, str.General
movzx edi, cx
push edi
call fcn.004cb124
test eax, eax
je 0x45cdfd
push edi
push eax
mov ecx, esi
call fcn.00424e92
jmp 0x45cdfd
push str.General
call fcn.004d1e6a
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.00425415
mov byte [ebp - 4], 0xb
push 1
mov byte [ebp - 4], bl
call fcn.00479f70
mov edx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x290]
mov ecx, dword [ebp - 0x298]
add esp, 0x10
push edx
mov edx, dword [ebp - 0x28c]
push eax
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
mov eax, dword [ebp - 0x278]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x26c], esp
mov esi, esp
push eax
call fcn.00425486
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
mov dword [ebp - 0x268], esp
mov edi, esp
push eax
lea esi, [ebp - 0x264]
call fcn.00425486
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 0x294], esp
mov edi, esp
push eax
call fcn.00425486
mov edx, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [edi], eax
push edx
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.0045c8b0
and dword [ebp - 0x270], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
add esp, 0x28
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cecf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cef5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x27c]
lea ecx, [ebp - 0x264]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45cba0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45cf3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45cf61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x270]
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.004d14fc
mov esp, ebp
pop ebp
ret