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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e1ae9
mov eax, dword fs:[0]
push eax
sub esp, 0x67c
mov eax, dword [0x663000]
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 - 0x688], ecx
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x210]
push 0xff
push eax
push 0x633d7c
mov dword [ebp - 0x674], 0
call esi
push 0xff
lea eax, [ebp - 0x410]
push eax
push str._PROGRAMFILES_X86__
call esi
call fcn.0040cfd9
mov ecx, eax
test ecx, ecx
je 0x43a443
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x678], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x678]
call fcn.0040d850
test al, al
jne 0x439e86
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x678]
call fcn.0040d9f0
mov dword [ebp - 4], 1
mov ebx, str.dotnet_sharedMicrosoft.WindowsDesktop.App
mov edi, dword [ebp - 0x678]
sub ebx, edi
push 0x2d
push str.dotnet_sharedMicrosoft.WindowsDesktop.App
sar ebx, 1
mov esi, dword [edi - 0xc]
mov dword [ebp - 0x668], esi
call fcn.005b9721
mov ecx, SysReAllocString
mov dword [ebp - 0x664], eax
sub ecx, eax
add esp, 8
cmp ecx, esi
jl 0x43a439
add esi, eax
js 0x43a439
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x439ef4
push esi
lea ecx, [ebp - 0x678]
call fcn.0040208a
mov edi, dword [ebp - 0x678]
mov eax, dword [ebp - 0x668]
lea edx, [edi + ebx*2]
cmp ebx, eax
jbe 0x439f06
mov edx, str.dotnet_sharedMicrosoft.WindowsDesktop.App
mov ecx, dword [ebp - 0x664]
lea eax, [edi + eax*2]
add ecx, ecx
je 0x439f43
test eax, eax
je 0x439f33
push ecx
test edx, edx
je 0x439f28
push edx
push eax
call fcn.005b31a0
add esp, 0xc
jmp 0x439f43
push 0
push eax
call fcn.005b3720
add esp, 0xc
call fcn.005b68e9
mov dword [eax], 0x16
call fcn.005b680f
cmp esi, dword [edi - 8]
jg 0x43a439
xor eax, eax
mov dword [edi - 0xc], esi
mov word [edi + esi*2], ax
call fcn.0040cfd9
mov ecx, eax
test ecx, ecx
je 0x43a44d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x67c], eax
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x67c]
call fcn.0040d850
test al, al
jne 0x439f9e
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x67c]
call fcn.0040d9f0
mov byte [ebp - 4], 3
mov eax, str.dotnet_sharedMicrosoft.WindowsDesktop.App
mov esi, dword [ebp - 0x67c]
sub eax, esi
sar eax, 1
push 0x2d
push str.dotnet_sharedMicrosoft.WindowsDesktop.App
mov ebx, dword [esi - 0xc]
mov dword [ebp - 0x668], eax
mov dword [ebp - 0x664], ebx
call fcn.005b9721
mov ecx, SysReAllocString
mov dword [ebp - 0x66c], eax
sub ecx, eax
add esp, 8
cmp ecx, ebx
jl 0x43a439
add ebx, eax
js 0x43a439
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x43a00f
push ebx
lea ecx, [ebp - 0x67c]
call fcn.0040208a
mov esi, dword [ebp - 0x67c]
mov eax, dword [ebp - 0x668]
mov ecx, dword [ebp - 0x664]
lea edx, [esi + eax*2]
cmp eax, ecx
jbe 0x43a027
mov edx, str.dotnet_sharedMicrosoft.WindowsDesktop.App
lea eax, [esi + ecx*2]
mov ecx, dword [ebp - 0x66c]
add ecx, ecx
je 0x43a064
test eax, eax
je 0x43a054
push ecx
test edx, edx
je 0x43a049
push edx
push eax
call fcn.005b31a0
add esp, 0xc
jmp 0x43a064
push 0
push eax
call fcn.005b3720
add esp, 0xc
call fcn.005b68e9
mov dword [eax], 0x16
call fcn.005b680f
cmp ebx, dword [esi - 8]
jg 0x43a439
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
lea eax, [ebp - 0x660]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
or ebx, 0xffffffff
mov dword [ebp - 0x668], eax
cmp eax, ebx
je 0x43a238
nop word [eax + eax]
test byte [ebp - 0x660], 0x10
je 0x43a20f
lea eax, [ebp - 0x634]
push eax
lea ecx, [ebp - 0x684]
call fcn.0045a970
mov byte [ebp - 4], 4
call fcn.0040cfd9
test eax, eax
je 0x43a443
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 ebx, dword [ebp - 0x680]
push ebx
call fcn.0040d850
test al, al
jne 0x43a106
push ebx
lea ecx, [ebp - 0x664]
call fcn.0040d9f0
lea eax, [ebp - 0x664]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x670]
call fcn.0040d790
call fcn.0040cfd9
mov ecx, eax
test ecx, ecx
je 0x43a443
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x66c], eax
lea eax, [ebp - 0x670]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x66c]
call fcn.004106c0
push ecx
push 0x2c
lea ecx, [ebp - 0x66c]
call fcn.00438220
mov ebx, dword [ebp - 0x66c]
mov eax, dword [ebp - 0x688]
push ebx
push dword [ebp - 0x674]
mov ecx, dword [eax]
push 0x117a6
call fcn.0041a6c0
inc dword [ebp - 0x674]
lea edx, [ebx - 0x10]
or ebx, 0xffffffff
mov byte [ebp - 4], 6
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a1a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x670]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a1bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x664]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a1de
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 - 0x680]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a1ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x668]
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
je 0x43a22c
mov eax, dword [ebp - 0x668]
jmp 0x43a0a0
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x660]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x668], eax
cmp eax, 0xffffffff
je 0x43a3df
test byte [ebp - 0x660], 0x10
je 0x43a3c4
lea eax, [ebp - 0x634]
push eax
lea ecx, [ebp - 0x684]
call fcn.0045a970
mov byte [ebp - 4], 8
call fcn.0040cfd9
test eax, eax
je 0x43a443
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x664], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x664]
mov ebx, dword [ebp - 0x680]
push ebx
call fcn.0040d850
test al, al
jne 0x43a2bb
push ebx
lea ecx, [ebp - 0x664]
call fcn.0040d9f0
lea eax, [ebp - 0x664]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x670]
call fcn.0040d790
call fcn.0040cfd9
mov ecx, eax
test ecx, ecx
je 0x43a443
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x66c], eax
lea eax, [ebp - 0x670]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x66c]
call fcn.004106c0
push ecx
push 0x2c
lea ecx, [ebp - 0x66c]
call fcn.00438220
mov ebx, dword [ebp - 0x66c]
mov eax, dword [ebp - 0x688]
push ebx
push dword [ebp - 0x674]
mov ecx, dword [eax]
push 0x117a6
call fcn.0041a6c0
inc dword [ebp - 0x674]
lea edx, [ebx - 0x10]
or ebx, 0xffffffff
mov byte [ebp - 4], 0xa
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a355
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x670]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a372
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov eax, ebx
mov edx, dword [ebp - 0x664]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a393
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 - 0x680]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a3b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x668]
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 - 0x668]
jmp 0x43a24f
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 0x43a401
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 0x43a41d
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.005af765
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0040238e
push 0x80004005
call fcn.0040238e
push 0x80004005
call fcn.0040238e
int3