Function at 0x427280
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45bce2
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x2e0]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], bx
mov dword [esp + 0x2e8], ebx
cmp dword [0x474ef8], ebx
je 0x427323
lea ecx, [esp + 0x10]
call fcn.0041e9d0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x70]
mov byte [esp + 0x2f0], 1
call fcn.00406d10
mov edi, 8
mov byte [esp + 0x2e8], bl
cmp dword [esp + 0x28], edi
jb 0x427371
mov eax, dword [esp + 0x14]
push eax
call fcn.004415cb
add esp, 4
jmp 0x427371
push 0x475120
mov ebx, str.Users_
lea esi, [esp + 0x14]
call fcn.00408960
add esp, 4
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x70]
mov byte [esp + 0x2f0], 2
call fcn.00406d10
mov byte [esp + 0x2e8], 0
cmp dword [esp + 0x28], 8
jb 0x42736a
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004415cb
add esp, 4
mov edi, 8
xor ebx, ebx
cmp dword [esp + 0x80], edi
mov eax, dword [esp + 0x6c]
jae 0x427382
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4275fd
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x70]
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
call fcn.00406d10
lea edx, [esp + 0x68]
push edx
mov ebx, 0x46571c
lea esi, [esp + 0x34]
mov byte [esp + 0x2ec], 3
call fcn.00408960
xor ebx, ebx
push 0x24c
lea eax, [esp + 0x90]
push ebx
mov byte [esp + 0x2f4], 4
push eax
mov dword [esp + 0x94], ebx
call fcn.00446fa0
mov eax, dword [esp + 0x44]
add esp, 0x10
cmp dword [esp + 0x48], edi
jae 0x427402
lea eax, [esp + 0x34]
lea ecx, [esp + 0x84]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x2c], esi
jne 0x427478
cmp dword [esp + 0x48], edi
jb 0x42742f
mov edx, dword [esp + 0x34]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x64], edi
mov esi, 7
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
jb 0x427454
mov eax, dword [esp + 0x50]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x80], edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], bx
jb 0x427613
mov ecx, dword [esp + 0x6c]
push ecx
jmp 0x42760b
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x54]
lea ecx, [esp + 0x38]
call fcn.00406d10
lea eax, [esp + 0xb0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x427492
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xb4]
push edx
lea ecx, [esp + 0x38]
call fcn.00406eb0
test byte [esp + 0x84], 0x10
je 0x4275af
mov ecx, 0x463e84
lea eax, [esp + 0xb0]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4274f6
cmp dx, bx
je 0x4274f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4274f6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4274d0
xor eax, eax
jmp 0x4274fb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4275af
mov ecx, 0x465724
lea eax, [esp + 0xb0]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x427536
cmp dx, bx
je 0x427532
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x427536
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x427510
xor eax, eax
jmp 0x42753b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4275af
lea eax, [esp + 0xb0]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], bx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x427560
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xb4]
push eax
lea esi, [esp + 0x18]
call fcn.00406f80
mov edi, esi
call fcn.004285d0
cmp dword [esp + 0x28], 8
mov esi, eax
jb 0x42759e
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004415cb
add esp, 4
cmp esi, ebx
jne 0x427639
mov esi, dword [esp + 0x2c]
mov edi, 8
lea edx, [esp + 0x84]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x427478
cmp dword [esp + 0x48], edi
jb 0x4275d9
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x64], edi
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
jb 0x4275fd
mov edx, dword [esp + 0x50]
push edx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x80], edi
jb 0x427613
mov eax, dword [esp + 0x6c]
push eax
call fcn.004415cb
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x2e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.004414cc
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0xb0]
lea eax, [esp + 0x10]
call fcn.00406ad0
mov ecx, eax
mov byte [esp + 0x2e8], 5
call fcn.00428620
mov esi, 8
cmp dword [esp + 0x28], esi
mov ebx, eax
jb 0x427672
mov eax, dword [esp + 0x14]
push eax
call fcn.004415cb
add esp, 4
xor eax, eax
cmp dword [esp + 0x48], esi
mov edi, 7
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], eax
mov word [esp + 0x14], ax
jb 0x42769b
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004415cb
add esp, 4
xor eax, eax
cmp dword [esp + 0x64], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
jb 0x4276bd
mov edx, dword [esp + 0x50]
push edx
call fcn.004415cb
add esp, 4
xor eax, eax
cmp dword [esp + 0x80], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], eax
mov word [esp + 0x50], ax
jb 0x4276e0
mov eax, dword [esp + 0x6c]
push eax
call fcn.004415cb
add esp, 4
mov eax, ebx
jmp 0x427615