Function at 0x48fa80
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c58f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x354
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [0x673f48]
dec eax
push eax
push ebx
lea ecx, [ebp - 0x78]
push ecx
mov ecx, 0x673f38
mov byte [ebp - 4], 2
call fcn.00405400
push eax
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 3
call fcn.00405580
push 0x610b70
push eax
lea eax, [ebp - 0x94]
push eax
mov byte [ebp - 4], 4
call fcn.0041bfc0
add esp, 0x14
mov edi, 0x10
cmp dword [ebp - 0x38], edi
jb 0x48fb18
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0052d217
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], 7
cmp dword [ebp - 0x64], edi
jb 0x48fb3b
mov edx, dword [ebp - 0x78]
push edx
call fcn.0052d217
add esp, 4
push 0x610b74
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x78], bl
call fcn.0041c900
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x48fb66
mov eax, dword [eax]
lea edx, [ebp - 0x2b8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x10c], edi
jb 0x48fb90
mov eax, dword [ebp - 0x120]
push eax
call fcn.0052d217
add esp, 4
mov dword [ebp - 0x10c], 0xf
mov dword [ebp - 0x110], ebx
mov byte [ebp - 0x120], bl
cmp esi, 0xffffffff
jne 0x48fc3c
cmp dword [ebp - 0x80], edi
jb 0x48fbc3
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.0052d217
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
cmp eax, ebx
je 0x48fbfb
mov edx, dword [ebp - 0x10]
push edx
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ecx
push edx
push eax
call fcn.0040e030
mov eax, dword [ebp - 0x20]
push eax
call fcn.0052d217
add esp, 0x14
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
cmp eax, ebx
je 0x48fc29
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x24]
push edx
push ecx
push eax
call fcn.0040e030
mov edx, dword [ebp - 0x30]
push edx
call fcn.0052d217
add esp, 0x14
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x610b78
lea eax, [ebp - 0xb0]
push 0x673f38
push eax
call fcn.0041c900
add esp, 0xc
mov byte [ebp - 4], 8
lea esp, [esp]
test byte [ebp - 0x2b8], 0x10
je 0x48ff2e
cmp byte [ebp - 0x28c], 0x2e
je 0x48ff2e
lea ecx, [ebp - 0x28c]
push ecx
lea edx, [ebp - 0x94]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.0041c900
push 0x610b98
push eax
lea ecx, [ebp - 0xe8]
push ecx
mov byte [ebp - 4], 9
call fcn.0041bfc0
push str.SaveConfig.dat
push eax
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 0xa
call fcn.0041bfc0
add esp, 0x24
cmp dword [ebp - 0xd4], edi
jb 0x48fcd7
mov eax, dword [ebp - 0xe8]
push eax
call fcn.0052d217
add esp, 4
mov esi, 0xf
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xd8], ebx
mov byte [ebp - 0xe8], bl
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0xf0], edi
jb 0x48fd09
mov ecx, dword [ebp - 0x104]
push ecx
call fcn.0052d217
add esp, 4
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0xf0], esi
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0xf4], ebx
mov byte [ebp - 0x104], bl
cmp eax, ecx
jae 0x48fd4b
cmp dword [ebp - 0x9c], 0x10
mov ecx, dword [ebp - 0xb0]
jae 0x48fd43
lea ecx, [ebp - 0xb0]
movsx eax, byte [ecx + eax]
neg eax
jmp 0x48fd71
jbe 0x48fd5d
mov eax, edi
cmp esi, 0x10
jae 0x48fd57
lea eax, [ebp - 0x4c]
movsx eax, byte [eax + ecx]
jmp 0x48fd71
push eax
lea edx, [ebp - 0xb0]
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.0046b900
add esp, 0xc
cmp eax, ebx
jne 0x48fd88
mov byte [ebp - 4], 8
cmp esi, 0x10
jb 0x48ff29
push edi
jmp 0x48ff21
lea ecx, [ebp - 0x178]
call fcn.005ac8c0
push ebx
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0xe
call fcn.005ac7d0
lea ecx, [ebp - 0x178]
test al, al
jne 0x48fdd1
mov byte [ebp - 4], 0xd
call fcn.005ac8b0
cmp dword [ebp - 0x38], 0x10
mov byte [ebp - 4], 8
jb 0x48ff29
mov edx, dword [ebp - 0x4c]
push edx
jmp 0x48ff21
call fcn.005acd10
add eax, 0xffffff92
cmp eax, 0xa
ja 0x48ff04
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00490c70
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0x178]
call fcn.005ad2d0
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xf
call fcn.00421c40
mov esi, 0x10
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0xb8], esi
jb 0x48fe2d
mov edx, dword [ebp - 0xcc]
push edx
call fcn.0052d217
add esp, 4
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x178]
call fcn.005ac3a0
push str._04d__02d__02d__02d:_02d:_02d
lea ecx, [ebp - 0x360]
call fcn.00412170
lea ecx, [ebp - 0x6c]
push ecx
push eax
mov byte [ebp - 4], 0x10
call fcn.00490bd0
lea edx, [ebp - 0x6a]
push edx
push eax
call fcn.00490bd0
lea ecx, [ebp - 0x66]
push ecx
push eax
call fcn.00490bd0
lea edx, [ebp - 0x64]
push edx
push eax
call fcn.00490bd0
lea ecx, [ebp - 0x62]
push ecx
push eax
call fcn.00490bd0
lea edx, [ebp - 0x60]
push edx
push eax
call fcn.00490bd0
add esp, 0x30
lea ecx, [ebp - 0xcc]
push ecx
mov ecx, eax
call fcn.00412270
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x11
call fcn.00421c40
cmp dword [ebp - 0xb8], esi
jb 0x48fec1
mov edx, dword [ebp - 0xcc]
push edx
call fcn.0052d217
add esp, 4
lea ecx, [ebp - 0x360]
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], ebx
mov byte [ebp - 0xcc], bl
mov byte [ebp - 4], 0xe
call fcn.00411660
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0xd
call fcn.005ac8b0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x38], esi
jb 0x48ff29
mov eax, dword [ebp - 0x4c]
push eax
jmp 0x48ff21
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0xd
call fcn.005ac8b0
cmp dword [ebp - 0x38], 0x10
mov byte [ebp - 4], 8
jb 0x48ff29
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0052d217
add esp, 4
mov edi, 0x10
mov esi, dword [ebp - 0x10]
lea edx, [ebp - 0x2b8]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x48fc60
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x58]
cmp dword [ebp - 0x5c], esi
jne 0x490043
cmp dword [ebp - 0x9c], edi
jb 0x48ff71
mov eax, dword [ebp - 0xb0]
push eax
call fcn.0052d217
add esp, 4
mov dword [ebp - 0x9c], 0xf
mov dword [ebp - 0xa0], ebx
mov byte [ebp - 0xb0], bl
cmp dword [ebp - 0x80], edi
jb 0x48ff9b
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.0052d217
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
cmp eax, ebx
je 0x48ffd3
mov edx, dword [ebp - 0x10]
push edx
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ecx
push edx
push eax
call fcn.0040e030
mov eax, dword [ebp - 0x20]
push eax
call fcn.0052d217
add esp, 0x14
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
cmp eax, ebx
je 0x490001
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x24]
push edx
push ecx
push eax
call fcn.0040e030
mov edx, dword [ebp - 0x30]
push edx
call fcn.0052d217
add esp, 0x14
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
cmp eax, ebx
je 0x48fc29
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x50]
push edx
push esi
push eax
call fcn.0040e030
mov eax, dword [ebp - 0x5c]
push eax
call fcn.0052d217
add esp, 0x14
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x68a4c4]
cmp dword [0x68a4d8], edi
jae 0x490055
mov eax, 0x68a4c4
push 4
push eax
push 0x610be8
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
jne 0x4900c0
cmp dword [ebp - 0x9c], edi
jb 0x490080
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.0052d217
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa0], ebx
mov byte [ebp - 0xb0], bl
cmp dword [ebp - 0x80], edi
jb 0x4900ab
mov edx, dword [ebp - 0x94]
push edx
call fcn.0052d217
add esp, 4
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
jmp 0x49023a
push 0xec
call fcn.0052d4ce
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x12
cmp eax, ebx
je 0x4900e3
mov ecx, eax
call fcn.00505fa0
mov esi, eax
jmp 0x4900e5
xor esi, esi
push esi
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 8
mov dword [ebp - 0x64], esi
call fcn.00490270
push esi
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.00422d30
add esp, 0xc
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x64]
lea edx, [ebp - 0x30]
push edx
mov byte [ebp - 4], 0x13
call fcn.00506110
mov ecx, dword [ebp - 0x64]
mov edx, dword [0x68a144]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc4]
push edx
push 0x72
call eax
mov esi, eax
cmp esi, ebx
jl 0x4901ea
mov edx, dword [ebp - 0x30]
lea ecx, [esi*8]
sub ecx, esi
lea eax, [edx + ecx*4]
push 0x610bbc
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0041c900
add esp, 0xc
mov ecx, dword [0x68a4c4]
cmp dword [0x68a4d8], edi
jae 0x49016b
mov ecx, 0x68a4c4
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], edi
jae 0x490176
lea eax, [ebp - 0x4c]
push 4
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
je 0x4901f8
cmp dword [ebp - 0x38], edi
jb 0x490197
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0052d217
add esp, 4
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], 8
cmp esi, ebx
je 0x4900c0
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4900c0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4900c0
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
jmp 0x4900c0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 8
call fcn.0044b460
jmp 0x490224
lea ecx, [ebp - 0x4c]
call fcn.004868c0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 8
call fcn.0044b460
mov ecx, dword [ebp - 0x5c]
lea eax, [esi*8]
sub eax, esi
lea edx, [ecx + eax*4]
push edx
call fcn.0048ea50
add esp, 4
lea ecx, [ebp - 0xb0]
call fcn.004868c0
lea ecx, [ebp - 0x94]
call fcn.004868c0
lea ecx, [ebp - 0x20]
call fcn.00407220
lea ecx, [ebp - 0x30]
call fcn.00407220
lea ecx, [ebp - 0x5c]
call fcn.00407220
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret