Function at 0x449e90
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x4995b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x80], eax
mov edi, edi
mov al, byte [esi]
test al, al
jne 0x44a00f
cmp dword [esi + 0x2a0], 0
je 0x44a1f7
test al, al
jne 0x44a00f
mov ecx, dword [esi + 0x2a0]
xor eax, eax
add ecx, dword [esi + 0x29c]
mov edx, dword [esi + 0x290]
test edx, edx
je 0x449eef
mov edx, dword [edx]
test edx, edx
je 0x449eef
mov eax, dword [edx]
lea edx, [ecx - 1]
test eax, eax
je 0x449f06
mov eax, dword [eax]
test eax, eax
je 0x449f06
mov eax, dword [eax]
test eax, eax
je 0x449f06
mov eax, dword [eax]
jmp 0x449f08
xor eax, eax
mov ecx, dword [eax + 8]
lea edi, [esi + 0x258]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
push dword [eax + ecx*4]
mov ecx, edi
call fcn.00408e90
mov eax, dword [esi + 0x2a0]
mov ecx, dword [esi + 0x29c]
dec eax
add ecx, eax
mov eax, dword [esi + 0x298]
dec eax
and ecx, eax
mov eax, dword [esi + 0x294]
mov ecx, dword [eax + ecx*4]
call fcn.00408f70
dec dword [esi + 0x2a0]
jne 0x449f59
mov dword [esi + 0x29c], 0
push edi
lea ecx, [ebp - 0x64]
call fcn.0040d410
cmp dword [esi + 0x288], 0
jne 0x449fc2
push 1
xor eax, eax
mov dword [ebp - 8], 7
push 0x483350
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
call fcn.0040c1f0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00448440
push eax
lea ecx, [ebp - 0x64]
call fcn.00408e90
lea ecx, [ebp - 0x7c]
call fcn.00408f70
cmp dword [ebp - 8], 8
jb 0x449fe6
push dword [ebp - 0x1c]
call fcn.00454c01
add esp, 4
jmp 0x449fe6
lea eax, [esi + 0x278]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x64]
call fcn.00448440
push eax
lea ecx, [ebp - 0x64]
call fcn.00408e90
lea ecx, [ebp - 0x7c]
call fcn.00408f70
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
lea ebx, [esi + 4]
cmovae eax, dword [ebp - 0x64]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x64]
mov dword [esi + 0x254], eax
mov byte [esi], 1
call fcn.00408f70
jmp 0x44a039
lea ebx, [esi + 4]
push ebx
push dword [esi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x44a039
push dword [esi + 0x254]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi + 0x254], 0xffffffff
xor eax, eax
cmp dword [esi + 0x254], 0xffffffff
jne 0x44a0ce
mov byte [esi], al
lea edi, [esi + 0x278]
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
cmp edi, eax
je 0x449eb0
cmp dword [edi + 0x14], 8
jb 0x44a079
push dword [edi]
call fcn.00454c01
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov ecx, dword [ebp - 0x38]
cmp ecx, 8
jae 0x44a0bb
mov eax, dword [ebp - 0x3c]
inc eax
je 0x44a0c0
add eax, eax
push eax
lea eax, [ebp - 0x4c]
push eax
push edi
call fcn.004570c0
mov ecx, dword [ebp - 0x38]
add esp, 0xc
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
jmp 0x449eb0
mov eax, dword [ebp - 0x4c]
mov dword [edi], eax
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
jmp 0x449eb0
lea edi, [esi + 0x30]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
cmp word [edi], ax
jne 0x44a0ec
xor ecx, ecx
jmp 0x44a100
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44a0f1
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x1c]
call fcn.0040c1f0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x34]
call fcn.004483f0
cmp dword [ebp - 8], 8
jb 0x44a127
push dword [ebp - 0x1c]
call fcn.00454c01
add esp, 4
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.0044e4e0
test al, al
je 0x44a143
lea ecx, [ebp - 0x34]
call fcn.00408f70
jmp 0x449eb0
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
cmp word [edi], ax
jne 0x44a160
xor ecx, ecx
jmp 0x44a174
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44a165
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x1c]
call fcn.0040c1f0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [esi + 0x258]
call fcn.00448440
push eax
lea ecx, [ebp - 0x34]
call fcn.00408e90
lea ecx, [ebp - 0x7c]
call fcn.00408f70
cmp dword [ebp - 8], 8
jb 0x44a1b3
push dword [ebp - 0x1c]
call fcn.00454c01
add esp, 4
mov eax, dword [ebx]
test al, 0x10
je 0x44a1e1
cmp byte [esi + 0x270], 0
je 0x44a1d8
test eax, 0x400
jne 0x44a1d8
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0x290]
call fcn.0044a430
test byte [esi + 0x274], 2
jmp 0x44a1e8
test byte [esi + 0x274], 1
jne 0x44a201
lea ecx, [ebp - 0x34]
call fcn.00408f70
jmp 0x449eb0
mov ecx, dword [ebp - 0x80]
call fcn.00409040
jmp 0x44a215
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x34]
push eax
call fcn.0040d410
lea ecx, [ebp - 0x34]
call fcn.00408f70
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x80]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00458fb5
mov esp, ebp
pop ebp
ret 4