Function at 0x4421c0
Capabilities:
Enumerate files on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b7fb
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x600f80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00540250
add esp, 0xc
call fcn.00425ba2
cmp eax, 4
jne 0x442217
push str.C:Documents_and_settings_
jmp 0x44226b
push 0xfe
lea eax, [ebp - 0x217]
mov byte [ebp - 0x218], 0
push 0
push eax
call fcn.00540250
add esp, 0xc
lea eax, [ebp - 0x218]
push 0xff
push eax
push str._SystemDrive_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.00556ade
add esp, 0xc
push str.Users_
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.00556ade
add esp, 0xc
mov dword [ebp - 0x324], 0xf
cmp byte [ebp - 0x118], 0
mov dword [ebp - 0x328], 0
mov byte [ebp - 0x338], 0
jne 0x4422a7
xor ecx, ecx
jmp 0x4422b9
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4422b0
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x338]
call fcn.004085a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x338]
cmp dword [ebp - 0x324], 0x10
cmovae eax, dword [ebp - 0x338]
push eax
lea eax, [ebp - 0x320]
push str._s.
push eax
call fcn.00433f00
add esp, 0xc
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44245c
jmp 0x442320
test byte [ebp - 0x478], 0x10
je 0x44243f
mov ecx, 0x5dc12c
lea eax, [ebp - 0x44c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x442358
test dl, dl
je 0x442354
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x442358
add eax, 2
add ecx, 2
test dl, dl
jne 0x442338
xor eax, eax
jmp 0x44235d
sbb eax, eax
or eax, 1
test eax, eax
je 0x44243f
mov ecx, 0x5e24b8
lea eax, [ebp - 0x44c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x442390
test dl, dl
je 0x44238c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x442390
add eax, 2
add ecx, 2
test dl, dl
jne 0x442370
xor eax, eax
jmp 0x442395
sbb eax, eax
or eax, 1
test eax, eax
je 0x44243f
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x44c], 0
jne 0x4423c0
xor ecx, ecx
jmp 0x4423d9
lea ecx, [ebp - 0x44c]
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4423d0
sub ecx, esi
push ecx
lea eax, [ebp - 0x44c]
mov ecx, edx
push eax
call fcn.004085a0
mov ecx, edi
call fcn.00442490
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x44c], 0
jne 0x442412
xor ecx, ecx
jmp 0x442429
lea ecx, [ebp - 0x44c]
lea esi, [ecx + 1]
jmp 0x442420
mov al, byte [ecx]
inc ecx
test al, al
jne 0x442420
sub ecx, esi
push ecx
lea eax, [ebp - 0x44c]
mov ecx, edx
push eax
call fcn.004085a0
mov ecx, edi
call fcn.00442b80
lea eax, [ebp - 0x478]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x442320
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x324], 0x10
jb 0x442473
push dword [ebp - 0x338]
call fcn.0053e195
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053cd12
mov esp, ebp
pop ebp
ret