Function at 0x453d30
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dec4f
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x522f10]
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.004b9350
add esp, 0xc
push 0x4fca38
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0x288]
push eax
call fcn.00424a42
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 0x453dfc
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.0046aaf0
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.004aa2e3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x453e49
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 0x453e8a
mov ecx, str.General
movzx edi, cx
push edi
call fcn.004b2260
test eax, eax
je 0x453ea4
push edi
push eax
mov ecx, esi
call fcn.00424e90
jmp 0x453ea4
push str.General
call fcn.004b8a1a
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.00425413
mov byte [ebp - 4], bl
push 1
mov byte [ebp - 4], 1
call fcn.0046f830
add esp, 0xc
cmp dword [ebp - 0x27c], 0xffffffff
je 0x454248
mov dword [ebp - 0x270], 1
mov bl, 9
mov edi, edi
test byte [ebp - 0x264], 0x10
jne 0x454225
push ecx
mov esi, esp
mov dword [ebp - 0x294], esp
mov dword [ebp - 0x268], esi
call fcn.004aa2e3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x453e3f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, 0x4e8fa8
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x453f39
mov edx, ecx
movzx edi, dx
push edi
call fcn.004b2260
test eax, eax
je 0x453f53
push edi
push eax
mov ecx, esi
call fcn.00424e90
jmp 0x453f53
push 0x4e8fa8
call fcn.004b8a1a
add esp, 4
push eax
push 0x4e8fa8
mov ecx, esi
call fcn.00425413
push ecx
mov byte [ebp - 4], 5
mov esi, esp
mov dword [ebp - 0x268], esp
mov dword [ebp - 0x26c], esi
call fcn.004aa2e3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x453e3f
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 0x453fb4
mov edx, ecx
movzx edi, dx
push edi
call fcn.004b2260
test eax, eax
je 0x453fd2
push edi
push eax
mov ecx, esi
call fcn.00424e90
jmp 0x453fd2
lea eax, [ebp - 0x238]
push eax
call fcn.004b8a1a
add esp, 4
push eax
lea ecx, [ebp - 0x238]
push ecx
mov ecx, esi
call fcn.00425413
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.00425484
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea edi, [ebp - 0x274]
mov byte [ebp - 4], 1
call fcn.0046a3b0
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.00425484
lea edx, [ebp - 0x278]
add esp, 4
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.0047b360
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.004aa2e3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x453e3f
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 0x45409a
mov edx, ecx
movzx edi, dx
push edi
call fcn.004b2260
test eax, eax
je 0x4540b4
push edi
push eax
mov ecx, esi
call fcn.00424e90
jmp 0x4540b4
push str.FilesDiff_PostScan_RecurseDirs:_adding_new_dir:__s
call fcn.004b8a1a
add esp, 4
push eax
push str.FilesDiff_PostScan_RecurseDirs:_adding_new_dir:__s
mov ecx, esi
call fcn.00425413
push ecx
mov byte [ebp - 4], 0xb
mov esi, esp
mov dword [ebp - 0x268], esp
mov dword [ebp - 0x268], esi
call fcn.004aa2e3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x453e3f
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 0x454113
mov ecx, str.General
movzx edi, cx
push edi
call fcn.004b2260
test eax, eax
je 0x45412d
push edi
push eax
mov ecx, esi
call fcn.00424e90
jmp 0x45412d
push str.General
call fcn.004b8a1a
add esp, 4
push eax
push str.General
mov ecx, esi
call fcn.00425413
mov byte [ebp - 4], 0xb
push 1
mov byte [ebp - 4], bl
call fcn.0046f830
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.00425484
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.00425484
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.00425484
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.00453be0
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 0x4541ff
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 0x454225
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 0x453ed0
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 0x45426b
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 0x454291
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.004b80af
mov esp, ebp
pop ebp
ret