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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4908e7
push eax
mov eax, 0x10e4
mov dword fs:[0], esp
call fcn.004724a0
push ebx
push ebp
push esi
push edi
call fcn.0044bde0
test eax, eax
je 0x42e4e6
xor ebp, ebp
lea eax, [esp + 0x300]
push ebp
push str.CINIFile::GetOSInstallPath_n
push eax
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x1c0]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
jmp 0x42e4e8
xor ebp, ebp
lea ecx, [esp + 0xbc]
push ebp
push ecx
mov dword [esp + 0x3c], ebp
call fcn.0046c7d0
add esp, 8
lea edx, [esp + 0xbc]
lea ecx, [esp + 0x20]
push edx
call fcn.004822f6
push 0x5c
lea ecx, [esp + 0x24]
mov dword [esp + 0x1100], ebp
call fcn.0048123e
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
call fcn.004811c6
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1100], 1
call fcn.00482375
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10fc], 0
call fcn.00482288
mov eax, dword [0x4b538c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x10fc], 3
call fcn.0046c5f0
add eax, 0xfffffffe
cmp eax, 0xa
ja case.default.0x42e578
jmp dword [eax*4 + 0x42f044]
push 0x4ad7d4
lea ecx, [esp + 0x90]
call fcn.004822f6
mov esi, eax
push 0x4ade8c
lea ecx, [esp + 0x18]
mov byte [esp + 0x1100], 4
call fcn.004822f6
push esi
lea ecx, [esp + 0x20]
mov bl, 5
push eax
push ecx
mov byte [esp + 0x1108], bl
call fcn.0048246b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 6
call fcn.00482375
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10fc], bl
call fcn.00482288
lea ecx, [esp + 0x14]
mov byte [esp + 0x10fc], 4
call fcn.00482288
lea ecx, [esp + 0x8c]
mov byte [esp + 0x10fc], 3
call fcn.00482288
jmp 0x42eadf
push 0x4ad7d0
lea ecx, [esp + 0x68]
call fcn.004822f6
mov esi, eax
push 0x4ade8c
lea ecx, [esp + 0x60]
mov byte [esp + 0x1100], 7
call fcn.004822f6
push esi
lea edx, [esp + 0x58]
mov bl, 8
push eax
push edx
mov byte [esp + 0x1108], bl
call fcn.0048246b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 9
call fcn.00482375
lea ecx, [esp + 0x54]
mov byte [esp + 0x10fc], bl
call fcn.00482288
lea ecx, [esp + 0x5c]
mov byte [esp + 0x10fc], 7
call fcn.00482288
lea ecx, [esp + 0x64]
mov byte [esp + 0x10fc], 3
call fcn.00482288
jmp 0x42eadf
push 0x4ad7cc
lea ecx, [esp + 0x80]
call fcn.004822f6
mov esi, eax
push 0x4ade8c
lea ecx, [esp + 0x78]
mov byte [esp + 0x1100], 0xa
call fcn.004822f6
push esi
push eax
lea eax, [esp + 0x74]
mov bl, 0xb
push eax
mov byte [esp + 0x1108], bl
call fcn.0048246b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 0xc
call fcn.00482375
lea ecx, [esp + 0x6c]
mov byte [esp + 0x10fc], bl
call fcn.00482288
lea ecx, [esp + 0x74]
mov byte [esp + 0x10fc], 0xa
call fcn.00482288
lea ecx, [esp + 0x7c]
mov byte [esp + 0x10fc], 3
call fcn.00482288
jmp 0x42eadf
push 0x4ad7c8
lea ecx, [esp + 0x9c]
call fcn.004822f6
mov esi, eax
push 0x4ade8c
lea ecx, [esp + 0x54]
mov byte [esp + 0x1100], 0xd
call fcn.004822f6
push esi
lea ecx, [esp + 0x84]
mov bl, 0xe
push eax
push ecx
mov byte [esp + 0x1108], bl
call fcn.0048246b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 0xf
call fcn.00482375
lea ecx, [esp + 0x80]
mov byte [esp + 0x10fc], bl
call fcn.00482288
lea ecx, [esp + 0x50]
mov byte [esp + 0x10fc], 0xd
call fcn.00482288
lea ecx, [esp + 0x98]
mov byte [esp + 0x10fc], 3
call fcn.00482288
jmp 0x42eadf
push 0x4ad7c4
lea ecx, [esp + 0x64]
call fcn.004822f6
mov esi, eax
push 0x4ade8c
lea ecx, [esp + 0x98]
mov byte [esp + 0x1100], 0x10
call fcn.004822f6
push esi
lea edx, [esp + 0x5c]
mov bl, 0x11
push eax
push edx
mov byte [esp + 0x1108], bl
call fcn.0048246b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 0x12
call fcn.00482375
lea ecx, [esp + 0x58]
mov byte [esp + 0x10fc], bl
call fcn.00482288
lea ecx, [esp + 0x94]
mov byte [esp + 0x10fc], 0x10
call fcn.00482288
lea ecx, [esp + 0x60]
mov byte [esp + 0x10fc], 3
call fcn.00482288
jmp 0x42eadf
push str.XP64
lea ecx, [esp + 0x88]
call fcn.004822f6
mov esi, eax
push 0x4ade8c
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1100], 0x13
call fcn.004822f6
push esi
push eax
lea eax, [esp + 0x4c]
mov bl, 0x14
push eax
mov byte [esp + 0x1108], bl
call fcn.0048246b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 0x15
call fcn.00482375
lea ecx, [esp + 0x44]
mov byte [esp + 0x10fc], bl
call fcn.00482288
lea ecx, [esp + 0x68]
mov byte [esp + 0x10fc], 0x13
call fcn.00482288
lea ecx, [esp + 0x84]
mov byte [esp + 0x10fc], 3
call fcn.00482288
jmp 0x42eadf
push str.2003SERVER
lea ecx, [esp + 0x7c]
call fcn.004822f6
mov esi, eax
push 0x4ade8c
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1100], 0x16
call fcn.004822f6
push esi
lea ecx, [esp + 0x74]
mov bl, 0x17
push eax
push ecx
mov byte [esp + 0x1108], bl
call fcn.0048246b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 0x18
call fcn.00482375
lea ecx, [esp + 0x70]
mov byte [esp + 0x10fc], bl
call fcn.00482288
lea ecx, [esp + 0x88]
mov byte [esp + 0x10fc], 0x16
call fcn.00482288
lea ecx, [esp + 0x78]
mov byte [esp + 0x10fc], 3
call fcn.00482288
jmp 0x42eadf
push str.2003SERVER64
lea ecx, [esp + 0x50]
call fcn.004822f6
mov esi, eax
push 0x4ade8c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1100], 0x19
call fcn.004822f6
push esi
lea edx, [esp + 0x94]
mov bl, 0x1a
push eax
push edx
mov byte [esp + 0x1108], bl
call fcn.0048246b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 0x1b
call fcn.00482375
lea ecx, [esp + 0x90]
mov byte [esp + 0x10fc], bl
call fcn.00482288
lea ecx, [esp + 0x48]
mov byte [esp + 0x10fc], 0x19
call fcn.00482288
lea ecx, [esp + 0x4c]
mov byte [esp + 0x10fc], 3
call fcn.00482288
jmp 0x42eadf
push str.VISTA
lea ecx, [esp + 0x34]
call fcn.004822f6
mov esi, eax
push 0x4ade8c
lea ecx, [esp + 0x40]
mov byte [esp + 0x1100], 0x1c
call fcn.004822f6
push esi
push eax
lea eax, [esp + 0x40]
mov bl, 0x1d
push eax
mov byte [esp + 0x1108], bl
call fcn.0048246b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 0x1e
call fcn.00482375
lea ecx, [esp + 0x38]
mov byte [esp + 0x10fc], bl
call fcn.00482288
lea ecx, [esp + 0x3c]
mov byte [esp + 0x10fc], 0x1c
call fcn.00482288
lea ecx, [esp + 0x30]
mov byte [esp + 0x10fc], 3
call fcn.00482288
jmp 0x42eadf
push str.VISTA64
lea ecx, [esp + 0x2c]
call fcn.004822f6
mov esi, eax
push 0x4ade8c
lea ecx, [esp + 0x30]
mov byte [esp + 0x1100], 0x1f
call fcn.004822f6
push esi
lea ecx, [esp + 0x28]
mov bl, 0x20
push eax
push ecx
mov byte [esp + 0x1108], bl
call fcn.0048246b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1100], 0x21
call fcn.00482375
lea ecx, [esp + 0x24]
mov byte [esp + 0x10fc], bl
call fcn.00482288
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10fc], 0x1f
call fcn.00482288
lea ecx, [esp + 0x28]
mov byte [esp + 0x10fc], 3
call fcn.00482288
jmp 0x42eadf
push str.NONE
lea ecx, [esp + 0x14]
call fcn.004823c5
push 0x4aa404
lea ecx, [esp + 0x30]
call fcn.004822f6
push eax
lea edx, [esp + 0x24]
lea eax, [esp + 0x2c]
mov bl, 0x22
push edx
push eax
mov byte [esp + 0x1108], bl
call fcn.0048246b
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1100], 0x23
call fcn.00482375
lea ecx, [esp + 0x28]
mov byte [esp + 0x10fc], bl
call fcn.00482288
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10fc], 3
call fcn.00482288
push 0xa
lea ecx, [esp + 0xa0]
call fcn.00481a49
mov ecx, dword [0x4b538c]
mov dword [esp + 0x1c], ecx
mov bl, 0x25
push 0x5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1100], bl
call fcn.0048123e
inc eax
lea edx, [esp + 0x28]
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.004811c6
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x1100], 0x26
call fcn.00482375
lea ecx, [esp + 0x28]
mov byte [esp + 0x10fc], bl
call fcn.00482288
mov eax, dword [0x4b538c]
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 0x42ec77
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 0x1ec]
lea ecx, [esp + 0x14]
push eax
call fcn.004823c5
mov ecx, dword [esp + 0x14]
push 0x4a9150
push ecx
call fcn.004720f0
add esp, 8
test eax, eax
je 0x42ec5d
mov edx, dword [esp + 0x14]
push 0x4a914c
push edx
call fcn.004720f0
add esp, 8
test eax, eax
je 0x42ec5d
lea eax, [esp + 0x1ec]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.004824d1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1100], 0x28
call fcn.00482375
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10fc], 0x27
call fcn.00482288
lea ecx, [esp + 0x14]
call fcn.0048273e
lea eax, [esp + 0x14]
lea ecx, [esp + 0x9c]
push eax
call fcn.00481bc9
lea ecx, [esp + 0x1c0]
push ecx
push esi
call edi
test eax, eax
jne 0x42ebcc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x10fc], bl
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10fc], 0x24
call fcn.00482288
mov eax, dword [esp + 0xa0]
mov byte [esp + 0x10fc], 0x29
cmp eax, ebp
mov dword [esp + 0xb8], eax
mov dword [esp + 0x40], eax
je 0x42ef37
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.00482375
lea ecx, [esp + 0x24]
mov byte [esp + 0x10fc], 0x29
call fcn.00482288
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.0048266c
push eax
lea ecx, [esp + 0x604]
call fcn.0041d6a0
lea edx, [esp + 0xbc]
push 1
push edx
push str.DEVTYPE_UIU_INI_FILE
push 0x4ac97c
lea ecx, [esp + 0x610]
mov byte [esp + 0x110c], bl
call fcn.0041e750
test eax, eax
je 0x42edb0
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.0041e750
test eax, eax
jne 0x42edd3
lea ecx, [esp + 0x600]
mov byte [esp + 0x10fc], 0x29
call fcn.0041cf30
cmp dword [esp + 0x40], ebp
jne 0x42ecbc
jmp 0x42ef37
mov al, byte [esp + 0xbc]
lea edx, [esp + 0xbc]
cmp al, 0x5c
push edx
jne 0x42ee3f
lea ecx, [esp + 0x34]
call fcn.004822f6
push eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x1108], 0x2f
call fcn.0048246b
mov esi, dword [esp + 0x1104]
push eax
mov ecx, esi
mov byte [esp + 0x1100], 0x30
call fcn.00482375
lea ecx, [esp + 0x24]
mov byte [esp + 0x10fc], 0x2f
call fcn.00482288
mov byte [esp + 0x10fc], bl
lea ecx, [esp + 0x30]
jmp 0x42eee1
lea ecx, [esp + 0x3c]
call fcn.004822f6
mov esi, eax
push 0x4a919c
lea ecx, [esp + 0x40]
mov byte [esp + 0x1100], 0x31
call fcn.004822f6
push eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x1108], 0x32
call fcn.0048246b
push esi
lea edx, [esp + 0x28]
push eax
push edx
mov byte [esp + 0x1108], 0x33
call fcn.0048246b
mov esi, dword [esp + 0x1104]
push eax
mov ecx, esi
mov byte [esp + 0x1100], 0x34
call fcn.00482375
lea ecx, [esp + 0x24]
mov byte [esp + 0x10fc], 0x33
call fcn.00482288
lea ecx, [esp + 0x30]
mov byte [esp + 0x10fc], 0x32
call fcn.00482288
lea ecx, [esp + 0x3c]
mov byte [esp + 0x10fc], 0x31
call fcn.00482288
mov byte [esp + 0x10fc], bl
lea ecx, [esp + 0x38]
call fcn.00482288
call fcn.0044bde0
test eax, eax
je 0x42ef1b
mov eax, dword [esi]
lea ecx, [esp + 0x300]
push eax
push 0x4ade00
push ecx
call fcn.00471c30
add esp, 0xc
lea edx, [esp + 0x300]
push edx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
lea ecx, [esp + 0x600]
mov dword [esp + 0x34], 1
mov byte [esp + 0x10fc], 0x29
call fcn.0041cf30
call fcn.0044bde0
test eax, eax
je 0x42efda
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x500]
push eax
push str.CINIFile::GetOSInstallPath_:_bRetVal___d_n
push ecx
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bd70
mov ecx, eax
call fcn.0044be20
lea ecx, [esp + 0x9c]
mov byte [esp + 0x10fc], 3
call fcn.00481abd
lea ecx, [esp + 0x18]
mov byte [esp + 0x10fc], 2
call fcn.00482288
lea ecx, [esp + 0x10]
mov byte [esp + 0x10fc], 0
call fcn.00482288
lea ecx, [esp + 0x20]
mov dword [esp + 0x10fc], 0xffffffff
call fcn.00482288
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