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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e32bb
mov eax, dword fs:[0]
push eax
sub esp, 0x694
mov eax, dword [0x660ff8]
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 dword [ebp - 0x690], ecx
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x210]
push 0xff
push eax
push 0x631edc
mov dword [ebp - 0x680], 0
mov dword [ebp - 0x69c], 0
mov dword [ebp - 0x668], 0
call esi
push 0xff
lea eax, [ebp - 0x410]
push eax
push str._PROGRAMFILES_X86__
call esi
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x4398f3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x688], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x688]
call fcn.0040d730
test al, al
jne 0x43925a
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x688]
call fcn.0040d8d0
push 0x2d
push str.dotnet_sharedMicrosoft.WindowsDesktop.App
lea ecx, [ebp - 0x688]
mov dword [ebp - 4], 1
call fcn.004047cb
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x4398fd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x68c], eax
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x68c]
call fcn.0040d730
test al, al
jne 0x4392bc
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x68c]
call fcn.0040d8d0
push 0x2d
push str.dotnet_sharedMicrosoft.WindowsDesktop.App
lea ecx, [ebp - 0x68c]
mov byte [ebp - 4], 3
call fcn.004047cb
mov edi, dword [ebp - 0x688]
lea eax, [ebp - 0x660]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
or ebx, 0xffffffff
mov dword [ebp - 0x66c], esi
cmp esi, ebx
je 0x4395b9
nop dword [eax]
test byte [ebp - 0x660], 0x10
je 0x43959c
lea eax, [ebp - 0x634]
push eax
lea ecx, [ebp - 0x698]
call fcn.0045b820
mov byte [ebp - 4], 4
call fcn.0040cf77
test eax, eax
je 0x4398f3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x664], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x664]
mov esi, dword [ebp - 0x694]
push esi
call fcn.0040d730
test al, al
jne 0x439366
push esi
lea ecx, [ebp - 0x664]
call fcn.0040d8d0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x664]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x684], eax
call fcn.0040238e
add esp, 4
add eax, 0x10
mov dword [ebp - 0x674], eax
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x4398f3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x670], eax
lea eax, [ebp - 0x674]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x670]
call fcn.00410070
push ecx
push 0x2c
lea ecx, [ebp - 0x670]
call fcn.004375e0
mov esi, dword [ebp - 0x670]
mov ecx, dword [ebp - 0x690]
push esi
push dword [ebp - 0x680]
mov ecx, dword [ecx]
push 0x117a6
call fcn.0041a290
inc dword [ebp - 0x680]
add esi, 0xfffffff0
mov byte [ebp - 4], 6
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43940c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x674]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439429
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x684]
mov eax, ebx
mov byte [ebp - 4], 4
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439447
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040cf77
test eax, eax
je 0x4398f3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x664], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x664]
mov esi, dword [ebp - 0x694]
push esi
call fcn.0040d730
test al, al
jne 0x43948a
push esi
lea ecx, [ebp - 0x664]
call fcn.0040d8d0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x664]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x684], eax
call fcn.0040238e
add esp, 4
add eax, 0x10
mov dword [ebp - 0x67c], eax
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x4398f3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x678], eax
lea eax, [ebp - 0x67c]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x678]
call fcn.00410070
push ecx
push 0x2c
lea ecx, [ebp - 0x678]
call fcn.004375e0
mov esi, dword [ebp - 0x678]
mov eax, dword [ebp - 0x690]
push esi
push dword [ebp - 0x668]
mov ecx, dword [eax]
push 0x117bf
call fcn.0041a290
inc dword [ebp - 0x668]
add esi, 0xfffffff0
mov byte [ebp - 4], 9
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x439530
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x67c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43954d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x684]
mov eax, ebx
mov byte [ebp - 4], 4
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43956b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x694]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43958c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x66c]
mov dword [ebp - method.srl::Value.virtual_0], vtable.srl::Value.0
lea eax, [ebp - 0x660]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x439300
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x68c]
lea eax, [ebp - 0x660]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x664], eax
cmp eax, 0xffffffff
je 0x439899
test byte [ebp - 0x660], 0x10
je 0x43987e
lea eax, [ebp - 0x634]
push eax
lea ecx, [ebp - 0x698]
call fcn.0045b820
mov byte [ebp - 4], 0xb
call fcn.0040cf77
test eax, eax
je 0x4398f3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x668], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x668]
mov ebx, dword [ebp - 0x694]
push ebx
call fcn.0040d730
test al, al
jne 0x439642
push ebx
lea ecx, [ebp - 0x668]
call fcn.0040d8d0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x668]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x66c], eax
call fcn.0040238e
add esp, 4
add eax, 0x10
mov dword [ebp - 0x67c], eax
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x4398f3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x678], eax
lea eax, [ebp - 0x67c]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x678]
call fcn.00410070
push ecx
push 0x2c
lea ecx, [ebp - 0x678]
call fcn.004375e0
mov ebx, dword [ebp - 0x678]
mov eax, dword [ebp - 0x690]
push ebx
push dword [ebp - 0x680]
mov ecx, dword [eax]
push 0x117a6
call fcn.0041a290
inc dword [ebp - 0x680]
lea edx, [ebx - 0x10]
or ebx, 0xffffffff
mov byte [ebp - 4], 0xd
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4396eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x67c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439708
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x66c]
mov eax, ebx
mov byte [ebp - 4], 0xb
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439726
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040cf77
test eax, eax
je 0x4398f3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x668], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x668]
mov ebx, dword [ebp - 0x694]
push ebx
call fcn.0040d730
test al, al
jne 0x439769
push ebx
lea ecx, [ebp - 0x668]
call fcn.0040d8d0
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x668]
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x66c], eax
call fcn.0040238e
add esp, 4
add eax, 0x10
mov dword [ebp - 0x674], eax
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x4398f3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x670], eax
lea eax, [ebp - 0x674]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x670]
call fcn.00410070
push ecx
push 0x2c
lea ecx, [ebp - 0x670]
call fcn.004375e0
mov ebx, dword [ebp - 0x670]
mov eax, dword [ebp - 0x690]
push ebx
push dword [ebp - 0x69c]
mov ecx, dword [eax]
push 0x117be
call fcn.0041a290
inc dword [ebp - 0x69c]
lea edx, [ebx - 0x10]
or ebx, 0xffffffff
mov byte [ebp - 4], 0x10
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439812
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x674]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43982f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x66c]
mov eax, ebx
mov byte [ebp - 4], 0xb
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43984d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x694]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43986e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x664]
mov dword [ebp - method.srl::Value.virtual_0], vtable.srl::Value.0
lea ecx, [ebp - 0x660]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov eax, dword [ebp - 0x664]
jmp 0x4395d6
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4398bb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4398d7
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 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.005b0d47
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402449
push 0x80004005
call fcn.00402449
int3