Function at 0x45dac0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f483f
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x541100]
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.004cd900
add esp, 0xc
push 0x508010
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x288]
push eax
call fcn.00422a76
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 0x45db8c
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.004777e0
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.004bdbe3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x45dbd9
push 0x80004005
call fcn.00420000
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 0x45dc1a
mov ecx, str.General
movzx edi, cx
push edi
call fcn.004c5d7f
test eax, eax
je 0x45dc34
push edi
push eax
mov ecx, esi
call fcn.00422eb3
jmp 0x45dc34
push str.General
call fcn.004ccd1a
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.00423404
mov byte [ebp - 4], bl
push 1
mov byte [ebp - 4], 1
call fcn.0047c9c0
add esp, 0xc
cmp dword [ebp - 0x27c], 0xffffffff
je 0x45dfd7
mov dword [ebp - 0x270], 1
mov bl, 9
mov edi, edi
test byte [ebp - 0x264], 0x10
jne 0x45dfb4
push ecx
mov esi, esp
mov dword [ebp - 0x294], esp
mov dword [ebp - 0x268], esi
call fcn.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45dbcf
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, 0x50057c
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x45dcc9
mov edx, ecx
movzx edi, dx
push edi
call fcn.004c5d7f
test eax, eax
je 0x45dce3
push edi
push eax
mov ecx, esi
call fcn.00422eb3
jmp 0x45dce3
push 0x50057c
call fcn.004ccd1a
add esp, 4
push eax
push 0x50057c
mov ecx, esi
call fcn.00423404
push ecx
mov byte [ebp - 4], 5
mov esi, esp
mov dword [ebp - 0x268], esp
mov dword [ebp - 0x26c], esi
call fcn.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45dbcf
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 0x45dd44
mov edx, ecx
movzx edi, dx
push edi
call fcn.004c5d7f
test eax, eax
je 0x45dd62
push edi
push eax
mov ecx, esi
call fcn.00422eb3
jmp 0x45dd62
lea eax, [ebp - 0x238]
push eax
call fcn.004ccd1a
add esp, 4
push eax
lea ecx, [ebp - 0x238]
push ecx
mov ecx, esi
call fcn.00423404
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.00423475
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea edi, [ebp - 0x274]
mov byte [ebp - 4], 1
call fcn.004770a0
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.00423475
add eax, 0x10
add esp, 4
lea edi, [ebp - 0x278]
mov dword [esi], eax
call fcn.00489780
add esp, 4
mov byte [ebp - 4], bl
mov edx, dword [ebp + 0x10]
push edx
push ecx
mov esi, esp
mov dword [ebp - 0x26c], esp
mov dword [ebp - 0x268], esi
call fcn.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45dbcf
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 0x45de29
mov edx, ecx
movzx edi, dx
push edi
call fcn.004c5d7f
test eax, eax
je 0x45de43
push edi
push eax
mov ecx, esi
call fcn.00422eb3
jmp 0x45de43
push str.FilesDiff_PostScan_RecurseDirs:_adding_new_dir:__s
call fcn.004ccd1a
add esp, 4
push eax
push str.FilesDiff_PostScan_RecurseDirs:_adding_new_dir:__s
mov ecx, esi
call fcn.00423404
push ecx
mov byte [ebp - 4], 0xb
mov esi, esp
mov dword [ebp - 0x268], esp
mov dword [ebp - 0x268], esi
call fcn.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45dbcf
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 0x45dea2
mov ecx, str.General
movzx edi, cx
push edi
call fcn.004c5d7f
test eax, eax
je 0x45debc
push edi
push eax
mov ecx, esi
call fcn.00422eb3
jmp 0x45debc
push str.General
call fcn.004ccd1a
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.00423404
mov byte [ebp - 4], 0xb
push 1
mov byte [ebp - 4], bl
call fcn.0047c9c0
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.00423475
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.00423475
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.00423475
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.0045d970
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 0x45df8e
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 0x45dfb4
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 0x45dc60
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 0x45dffa
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 0x45e020
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.004cc3b2
mov esp, ebp
pop ebp
ret