Function at 0x426ad0
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x483f67
push eax
mov eax, 0x10e4
mov dword fs:[0], esp
call fcn.004660e0
push ebx
push ebp
push esi
push edi
call fcn.00441cf0
test eax, eax
je 0x426b96
xor ebp, ebp
lea eax, [esp + 0x300]
push ebp
push str.CINIFile::GetOSInstallPath_n
push eax
call fcn.00465850
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c0]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x300]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00441d20
lea eax, [esp + 0x1c0]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
jmp 0x426b98
xor ebp, ebp
lea ecx, [esp + 0xbc]
push ebp
push ecx
mov dword [esp + 0x3c], ebp
call fcn.004605c0
add esp, 8
lea edx, [esp + 0xbc]
lea ecx, [esp + 0x20]
push edx
call fcn.00475f16
push 0x5c
lea ecx, [esp + 0x24]
mov dword [esp + 0x1100], ebp
call fcn.00474e5e
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
call fcn.00474de6
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1100], 1
call fcn.00475f95
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10fc], 0
call fcn.00475ea8
mov eax, dword [0x4a6844]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x10fc], 3
call fcn.004603e0
add eax, 0xfffffffe
cmp eax, 0xa
ja case.default.0x426c28
jmp dword [eax*4 + 0x4276f4]
push 0x49efd8
lea ecx, [esp + 0x90]
call fcn.00475f16
mov esi, eax
push 0x49f69c
lea ecx, [esp + 0x18]
mov byte [esp + 0x1100], 4
call fcn.00475f16
push esi
lea ecx, [esp + 0x20]
mov bl, 5
push eax
push ecx
mov byte [esp + 0x1108], bl
call fcn.0047608b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 6
call fcn.00475f95
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10fc], bl
call fcn.00475ea8
lea ecx, [esp + 0x14]
mov byte [esp + 0x10fc], 4
call fcn.00475ea8
lea ecx, [esp + 0x8c]
mov byte [esp + 0x10fc], 3
call fcn.00475ea8
jmp 0x42718f
push 0x49efd4
lea ecx, [esp + 0x68]
call fcn.00475f16
mov esi, eax
push 0x49f69c
lea ecx, [esp + 0x60]
mov byte [esp + 0x1100], 7
call fcn.00475f16
push esi
lea edx, [esp + 0x58]
mov bl, 8
push eax
push edx
mov byte [esp + 0x1108], bl
call fcn.0047608b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 9
call fcn.00475f95
lea ecx, [esp + 0x54]
mov byte [esp + 0x10fc], bl
call fcn.00475ea8
lea ecx, [esp + 0x5c]
mov byte [esp + 0x10fc], 7
call fcn.00475ea8
lea ecx, [esp + 0x64]
mov byte [esp + 0x10fc], 3
call fcn.00475ea8
jmp 0x42718f
push 0x49efd0
lea ecx, [esp + 0x80]
call fcn.00475f16
mov esi, eax
push 0x49f69c
lea ecx, [esp + 0x78]
mov byte [esp + 0x1100], 0xa
call fcn.00475f16
push esi
push eax
lea eax, [esp + 0x74]
mov bl, 0xb
push eax
mov byte [esp + 0x1108], bl
call fcn.0047608b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 0xc
call fcn.00475f95
lea ecx, [esp + 0x6c]
mov byte [esp + 0x10fc], bl
call fcn.00475ea8
lea ecx, [esp + 0x74]
mov byte [esp + 0x10fc], 0xa
call fcn.00475ea8
lea ecx, [esp + 0x7c]
mov byte [esp + 0x10fc], 3
call fcn.00475ea8
jmp 0x42718f
push 0x49efcc
lea ecx, [esp + 0x9c]
call fcn.00475f16
mov esi, eax
push 0x49f69c
lea ecx, [esp + 0x54]
mov byte [esp + 0x1100], 0xd
call fcn.00475f16
push esi
lea ecx, [esp + 0x84]
mov bl, 0xe
push eax
push ecx
mov byte [esp + 0x1108], bl
call fcn.0047608b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 0xf
call fcn.00475f95
lea ecx, [esp + 0x80]
mov byte [esp + 0x10fc], bl
call fcn.00475ea8
lea ecx, [esp + 0x50]
mov byte [esp + 0x10fc], 0xd
call fcn.00475ea8
lea ecx, [esp + 0x98]
mov byte [esp + 0x10fc], 3
call fcn.00475ea8
jmp 0x42718f
push 0x49efc8
lea ecx, [esp + 0x64]
call fcn.00475f16
mov esi, eax
push 0x49f69c
lea ecx, [esp + 0x98]
mov byte [esp + 0x1100], 0x10
call fcn.00475f16
push esi
lea edx, [esp + 0x5c]
mov bl, 0x11
push eax
push edx
mov byte [esp + 0x1108], bl
call fcn.0047608b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 0x12
call fcn.00475f95
lea ecx, [esp + 0x58]
mov byte [esp + 0x10fc], bl
call fcn.00475ea8
lea ecx, [esp + 0x94]
mov byte [esp + 0x10fc], 0x10
call fcn.00475ea8
lea ecx, [esp + 0x60]
mov byte [esp + 0x10fc], 3
call fcn.00475ea8
jmp 0x42718f
push str.XP64
lea ecx, [esp + 0x88]
call fcn.00475f16
mov esi, eax
push 0x49f69c
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1100], 0x13
call fcn.00475f16
push esi
push eax
lea eax, [esp + 0x4c]
mov bl, 0x14
push eax
mov byte [esp + 0x1108], bl
call fcn.0047608b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 0x15
call fcn.00475f95
lea ecx, [esp + 0x44]
mov byte [esp + 0x10fc], bl
call fcn.00475ea8
lea ecx, [esp + 0x68]
mov byte [esp + 0x10fc], 0x13
call fcn.00475ea8
lea ecx, [esp + 0x84]
mov byte [esp + 0x10fc], 3
call fcn.00475ea8
jmp 0x42718f
push str.2003SERVER
lea ecx, [esp + 0x7c]
call fcn.00475f16
mov esi, eax
push 0x49f69c
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1100], 0x16
call fcn.00475f16
push esi
lea ecx, [esp + 0x74]
mov bl, 0x17
push eax
push ecx
mov byte [esp + 0x1108], bl
call fcn.0047608b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 0x18
call fcn.00475f95
lea ecx, [esp + 0x70]
mov byte [esp + 0x10fc], bl
call fcn.00475ea8
lea ecx, [esp + 0x88]
mov byte [esp + 0x10fc], 0x16
call fcn.00475ea8
lea ecx, [esp + 0x78]
mov byte [esp + 0x10fc], 3
call fcn.00475ea8
jmp 0x42718f
push str.2003SERVER64
lea ecx, [esp + 0x50]
call fcn.00475f16
mov esi, eax
push 0x49f69c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1100], 0x19
call fcn.00475f16
push esi
lea edx, [esp + 0x94]
mov bl, 0x1a
push eax
push edx
mov byte [esp + 0x1108], bl
call fcn.0047608b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 0x1b
call fcn.00475f95
lea ecx, [esp + 0x90]
mov byte [esp + 0x10fc], bl
call fcn.00475ea8
lea ecx, [esp + 0x48]
mov byte [esp + 0x10fc], 0x19
call fcn.00475ea8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x10fc], 3
call fcn.00475ea8
jmp 0x42718f
push str.VISTA
lea ecx, [esp + 0x34]
call fcn.00475f16
mov esi, eax
push 0x49f69c
lea ecx, [esp + 0x40]
mov byte [esp + 0x1100], 0x1c
call fcn.00475f16
push esi
push eax
lea eax, [esp + 0x40]
mov bl, 0x1d
push eax
mov byte [esp + 0x1108], bl
call fcn.0047608b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 0x1e
call fcn.00475f95
lea ecx, [esp + 0x38]
mov byte [esp + 0x10fc], bl
call fcn.00475ea8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x10fc], 0x1c
call fcn.00475ea8
lea ecx, [esp + 0x30]
mov byte [esp + 0x10fc], 3
call fcn.00475ea8
jmp 0x42718f
push str.VISTA64
lea ecx, [esp + 0x2c]
call fcn.00475f16
mov esi, eax
push 0x49f69c
lea ecx, [esp + 0x30]
mov byte [esp + 0x1100], 0x1f
call fcn.00475f16
push esi
lea ecx, [esp + 0x28]
mov bl, 0x20
push eax
push ecx
mov byte [esp + 0x1108], bl
call fcn.0047608b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 0x21
call fcn.00475f95
lea ecx, [esp + 0x24]
mov byte [esp + 0x10fc], bl
call fcn.00475ea8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10fc], 0x1f
call fcn.00475ea8
lea ecx, [esp + 0x28]
mov byte [esp + 0x10fc], 3
call fcn.00475ea8
jmp 0x42718f
push str.NONE
lea ecx, [esp + 0x14]
call fcn.00475fe5
push str..INI
lea ecx, [esp + 0x30]
call fcn.00475f16
push eax
lea edx, [esp + 0x24]
lea eax, [esp + 0x2c]
mov bl, 0x22
push edx
push eax
mov byte [esp + 0x1108], bl
call fcn.0047608b
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1100], 0x23
call fcn.00475f95
lea ecx, [esp + 0x28]
mov byte [esp + 0x10fc], bl
call fcn.00475ea8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10fc], 3
call fcn.00475ea8
push 0xa
lea ecx, [esp + 0xa0]
call fcn.00475669
mov ecx, dword [0x4a6844]
mov dword [esp + 0x1c], ecx
mov bl, 0x25
push 0x5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1100], bl
call fcn.00474e5e
inc eax
lea edx, [esp + 0x28]
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.00474de6
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1100], 0x26
call fcn.00475f95
lea ecx, [esp + 0x28]
mov byte [esp + 0x10fc], bl
call fcn.00475ea8
mov eax, dword [0x4a6844]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c0]
push ecx
push edx
mov byte [esp + 0x1104], 0x27
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x427327
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 0x1ec]
lea ecx, [esp + 0x14]
push eax
call fcn.00475fe5
mov ecx, dword [esp + 0x14]
push 0x49b150
push ecx
call fcn.00465d10
add esp, 8
test eax, eax
je 0x42730d
mov edx, dword [esp + 0x14]
push 0x49b14c
push edx
call fcn.00465d10
add esp, 8
test eax, eax
je 0x42730d
lea eax, [esp + 0x1ec]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.004760f1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1100], 0x28
call fcn.00475f95
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10fc], 0x27
call fcn.00475ea8
lea ecx, [esp + 0x14]
call fcn.0047635e
lea eax, [esp + 0x14]
lea ecx, [esp + 0x9c]
push eax
call fcn.004757e9
lea ecx, [esp + 0x1c0]
push ecx
push esi
call edi
test eax, eax
jne 0x42727c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x10fc], bl
call fcn.00475ea8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10fc], 0x24
call fcn.00475ea8
mov eax, dword [esp + 0xa0]
mov byte [esp + 0x10fc], 0x29
cmp eax, ebp
mov dword [esp + 0xb8], eax
mov dword [esp + 0x40], eax
je 0x4275e7
mov bl, 0x2e
lea edx, [esp + 0x40]
lea eax, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0xa4]
call fcn.004014e0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1100], 0x2a
call fcn.00475f95
lea ecx, [esp + 0x24]
mov byte [esp + 0x10fc], 0x29
call fcn.00475ea8
mov dword [esp + 0x600], ebp
mov dword [esp + 0x608], ebp
mov dword [esp + 0x60c], ebp
mov dword [esp + 0x614], ebp
mov ecx, 0x7d
mov eax, 0x4b4b4b4b
lea edi, [esp + 0x728]
mov dword [esp + 0x724], ebp
rep stosd dword es:[edi], eax
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x91c]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x10fc], 0x2d
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x18]
push eax
call fcn.0047628c
push eax
lea ecx, [esp + 0x604]
call fcn.0041add0
lea edx, [esp + 0xbc]
push 1
push edx
push str.DEVTYPE_UIU_INI_FILE
push 0x49e628
lea ecx, [esp + 0x610]
mov byte [esp + 0x110c], bl
call fcn.0041be60
test eax, eax
je 0x427460
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xbc]
push 1
push eax
push ecx
push str.INSTALL_PATH
lea ecx, [esp + 0x610]
call fcn.0041be60
test eax, eax
jne 0x427483
lea ecx, [esp + 0x600]
mov byte [esp + 0x10fc], 0x29
call fcn.0041a660
cmp dword [esp + 0x40], ebp
jne 0x42736c
jmp 0x4275e7
mov al, byte [esp + 0xbc]
lea edx, [esp + 0xbc]
cmp al, 0x5c
push edx
jne 0x4274ef
lea ecx, [esp + 0x34]
call fcn.00475f16
push eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x1108], 0x2f
call fcn.0047608b
mov esi, dword [esp + 0x1104]
push eax
mov ecx, esi
mov byte [esp + 0x1100], 0x30
call fcn.00475f95
lea ecx, [esp + 0x24]
mov byte [esp + 0x10fc], 0x2f
call fcn.00475ea8
mov byte [esp + 0x10fc], bl
lea ecx, [esp + 0x30]
jmp 0x427591
lea ecx, [esp + 0x3c]
call fcn.00475f16
mov esi, eax
push 0x49b19c
lea ecx, [esp + 0x40]
mov byte [esp + 0x1100], 0x31
call fcn.00475f16
push eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x1108], 0x32
call fcn.0047608b
push esi
lea edx, [esp + 0x28]
push eax
push edx
mov byte [esp + 0x1108], 0x33
call fcn.0047608b
mov esi, dword [esp + 0x1104]
push eax
mov ecx, esi
mov byte [esp + 0x1100], 0x34
call fcn.00475f95
lea ecx, [esp + 0x24]
mov byte [esp + 0x10fc], 0x33
call fcn.00475ea8
lea ecx, [esp + 0x30]
mov byte [esp + 0x10fc], 0x32
call fcn.00475ea8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x10fc], 0x31
call fcn.00475ea8
mov byte [esp + 0x10fc], bl
lea ecx, [esp + 0x38]
call fcn.00475ea8
call fcn.00441cf0
test eax, eax
je 0x4275cb
mov eax, dword [esi]
lea ecx, [esp + 0x300]
push eax
push 0x49f608
push ecx
call fcn.00465850
add esp, 0xc
lea edx, [esp + 0x300]
push edx
call fcn.00441c80
mov ecx, eax
call fcn.00442090
lea ecx, [esp + 0x600]
mov dword [esp + 0x34], 1
mov byte [esp + 0x10fc], 0x29
call fcn.0041a660
call fcn.00441cf0
test eax, eax
je 0x42768a
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x500]
push eax
push str.CINIFile::GetOSInstallPath_:_bRetVal___d_n
push ecx
call fcn.00465850
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x400]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x400]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x500]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x400]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441c80
mov ecx, eax
call fcn.00441d30
lea ecx, [esp + 0x9c]
mov byte [esp + 0x10fc], 3
call fcn.004756dd
lea ecx, [esp + 0x18]
mov byte [esp + 0x10fc], 2
call fcn.00475ea8
lea ecx, [esp + 0x10]
mov byte [esp + 0x10fc], 0
call fcn.00475ea8
lea ecx, [esp + 0x20]
mov dword [esp + 0x10fc], 0xffffffff
call fcn.00475ea8
mov ecx, dword [esp + 0x10f4]
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10f0
ret 4