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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526a05
mov eax, dword fs:[0]
push eax
sub esp, 0x4fc
mov eax, dword [0x588eb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x4fc], eax
mov eax, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0x504], eax
lea eax, [ebp - 0x218]
push edi
push eax
mov dword [ebp - 0x4e4], edi
call fcn.004ffc00
push 8
mov dword [ebp - 0x4f8], edi
mov dword [ebp - 0x4f4], edi
mov dword [ebp - 0x4f0], edi
mov dword [ebp - 0x4ec], edi
mov dword [ebp - 0x4e8], edi
call fcn.004fbcb4
mov dword [ebp - 0x4f8], eax
lea ecx, [ebp - 0x4f8]
add esp, 0x10
mov dword [eax], edi
mov dword [eax + 4], edi
mov eax, dword [ebp - 0x4f8]
mov dword [eax], ecx
xor eax, eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x218]
push 0x104
push eax
push str._PUBLIC_
mov byte [ebp - 4], 2
call esi
test eax, eax
je 0x4e13f8
cmp word [ebp - 0x218], 0x25
jne 0x4e1421
push 0x104
lea eax, [ebp - 0x218]
push eax
push str._ALLUSERSPROFILE_
call esi
test eax, eax
je 0x4e1c5f
cmp word [ebp - 0x218], 0x25
je 0x4e1c5f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e1430
sub ecx, edx
sar ecx, 1
cmp ecx, 4
jb 0x4e1c5f
mov ax, word [ebp - 0x212]
lea ecx, [ebp - 0x212]
test ax, ax
je 0x4e1481
movzx edx, ax
nop dword [eax]
cmp dx, 0x5c
je 0x4e147c
cmp dx, 0x2f
je 0x4e147c
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x4e1460
jmp 0x4e1481
xor eax, eax
mov word [ecx], ax
xor eax, eax
mov dword [ebp - 0x250], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e14a7
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.004c3110
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x4f8]
call fcn.004e2bb0
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4e1523
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e1519
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e1cde
push edx
push ecx
call fcn.004fbca6
add esp, 8
lea eax, [ebp - 0x4f8]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004e0700
add esp, 8
cmp dword [ebp - 0x4e8], 0
je 0x4e1c5f
mov eax, dword [ebp - 0x4f8]
test eax, eax
je 0x4e1552
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x4ec]
dec ecx
mov eax, dword [eax + 4]
and ecx, edx
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x230]
cmp ecx, eax
je 0x4e158d
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4e1578
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x230]
call fcn.004c3110
mov edx, dword [ebp - 0x4ec]
mov ecx, dword [ebp - 0x4f0]
mov eax, dword [ebp - 0x4f4]
dec ecx
and ecx, edx
push dword [eax + ecx*4]
lea eax, [ebp - 0x4f8]
push eax
call fcn.004e0210
add esp, 8
sub dword [ebp - 0x4e8], 1
jne 0x4e15c3
mov dword [ebp - 0x4ec], 0
jmp 0x4e15c9
inc dword [ebp - 0x4ec]
xor eax, eax
mov byte [ebp - 4], 4
mov word [ebp - 0x278], ax
lea ecx, [ebp - 0x278]
mov eax, dword [ebp - 0x220]
or edi, 1
add eax, 2
mov dword [ebp - 0x268], 0
push eax
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x4e4], edi
call fcn.004dc1a0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x278]
push eax
call fcn.004cce85
push 2
push 0x52c124
lea ecx, [ebp - 0x278]
call fcn.004cce85
cmp dword [ebp - 0x264], 8
lea ecx, [ebp - 0x4e0]
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x264]
mov esi, eax
and edi, 0xfffffffe
mov dword [ebp - 0x500], esi
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4e16b1
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e16a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e1cde
push edx
push ecx
call fcn.004fbca6
add esp, 8
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
cmp esi, 0xffffffff
je 0x4e1c52
nop word [eax + eax]
lea eax, [ebp - 0x4b4]
mov dword [ebp - 0x508], edi
push str.cert8.db
push eax
mov esi, edi
call fcn.0050f1b0
add esp, 8
test eax, eax
jne 0x4e17f3
push 8
push dword [ebp - 0x4fc]
lea eax, [ebp - 0x230]
push eax
call fcn.004e0a60
add esp, 0xc
xor eax, eax
mov byte [ebp - 4], 5
mov word [ebp - 0x248], ax
lea ecx, [ebp - 0x248]
mov eax, dword [ebp - 0x220]
or edi, 2
add eax, 9
mov dword [ebp - 0x238], 0
push eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x4e4], edi
call fcn.004dc1a0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x248]
push eax
call fcn.004cce85
push 9
push str.prefs.js
lea ecx, [ebp - 0x248]
call fcn.004cce85
lea eax, [ebp - 0x248]
push eax
call fcn.004e2dd0
mov edx, dword [ebp - 0x234]
mov edi, esi
add esp, 4
mov byte [ebp - 4], 2
and edi, 0xfffffffd
cmp edx, 8
jb 0x4e1913
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e17e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e1cde
push edx
push ecx
call fcn.004fbca6
add esp, 8
jmp 0x4e1913
lea eax, [ebp - 0x4b4]
push str.cert9.db
push eax
call fcn.0050f1b0
add esp, 8
test eax, eax
jne 0x4e18f7
push 9
push dword [ebp - 0x4fc]
lea eax, [ebp - 0x230]
push eax
call fcn.004e0a60
add esp, 0xc
xor eax, eax
mov byte [ebp - 4], 6
mov word [ebp - 0x248], ax
lea ecx, [ebp - 0x248]
mov eax, dword [ebp - 0x220]
or edi, 4
add eax, 9
mov dword [ebp - 0x238], 0
push eax
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x4e4], edi
call fcn.004dc1a0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x248]
push eax
call fcn.004cce85
push 9
push str.prefs.js
lea ecx, [ebp - 0x248]
call fcn.004cce85
lea eax, [ebp - 0x248]
push eax
call fcn.004e2dd0
mov edx, dword [ebp - 0x234]
mov edi, esi
add esp, 4
mov byte [ebp - 4], 2
and edi, 0xfffffffb
cmp edx, 8
jb 0x4e1913
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e18eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e1cde
push edx
push ecx
call fcn.004fbca6
add esp, 8
jmp 0x4e1913
lea eax, [ebp - 0x4b4]
push str.opcacrt6.dat
push eax
call fcn.0050f1b0
add esp, 8
test eax, eax
je 0x4e1a86
mov eax, dword [ebp - 0x4e0]
and eax, 0x410
cmp eax, 0x10
jne 0x4e1a66
mov ecx, 0x52bcbc
lea eax, [ebp - 0x4b4]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4e1958
test dx, dx
je 0x4e1954
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4e1958
add eax, 4
add ecx, 4
test dx, dx
jne 0x4e1932
xor eax, eax
jmp 0x4e195d
sbb eax, eax
or eax, 1
test eax, eax
je 0x4e1a66
mov eax, 0x52bcc0
lea ecx, [ebp - 0x4b4]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4e1996
test dx, dx
je 0x4e1992
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4e1996
add ecx, 4
add eax, 4
test dx, dx
jne 0x4e1970
xor eax, eax
jmp 0x4e199b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4e1a66
lea eax, [ebp - 0x4b4]
push str.temp
push eax
call fcn.0050f1b0
add esp, 8
test eax, eax
je 0x4e1a66
lea eax, [ebp - 0x4b4]
push str.microsoft
push eax
call fcn.0050f1b0
add esp, 8
test eax, eax
je 0x4e1a66
lea eax, [ebp - 0x4b4]
push str.packages
push eax
call fcn.0050f1b0
add esp, 8
test eax, eax
je 0x4e1a66
push 0x52bb3c
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004d45f0
lea ecx, [ebp - 0x4b4]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004d4580
add esp, 0x18
push eax
lea ecx, [ebp - 0x4f8]
mov byte [ebp - 4], 0xa
call fcn.004e2bb0
lea ecx, [ebp - 0x260]
call fcn.004c33b0
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call fcn.004c33b0
push 0
push dword [ebp - 0x504]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4e1c34
lea eax, [ebp - 0x4e0]
push eax
push dword [ebp - 0x500]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4e16e0
jmp 0x4e1c34
xor eax, eax
mov byte [ebp - 4], 7
mov word [ebp - 0x260], ax
lea ecx, [ebp - 0x260]
mov eax, dword [ebp - 0x220]
or edi, 8
inc eax
mov dword [ebp - 0x250], 0
push eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x4e4], edi
call fcn.004dc1a0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x260]
push eax
call fcn.004cce85
push 1
push 0x52bb3c
lea ecx, [ebp - 0x260]
call fcn.004cce85
lea ecx, [ebp - 0x4b4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e1b04
sub ecx, edx
lea eax, [ebp - 0x4b4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.004cce85
mov edi, dword [ebp - 0x508]
xor ecx, ecx
mov dword [ebp - 0x238], 0
or edi, 0x18
mov dword [ebp - 0x234], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x4e4], edi
movups xmmword [ebp - 0x248], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x238], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push dword [ebp - 0x4fc]
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 8
push eax
call fcn.004e31d0
mov edx, dword [ebp - 0x234]
add esp, 8
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x4e1bd0
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e1bc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e1cde
push edx
push ecx
call fcn.004fbca6
add esp, 8
mov edx, dword [ebp - 0x24c]
xor eax, eax
and edi, 0xfffffff7
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4e1c34
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e1c2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e1cde
push edx
push ecx
call fcn.004fbca6
add esp, 8
push dword [ebp - 0x500]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push dword [ebp - 0x504]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4e1c5f
cmp dword [ebp - 0x4e8], 0
jne 0x4e1546
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4e1c9b
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e1c91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e1ce3
push edx
push ecx
call fcn.004fbca6
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.004e02f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fbc95
mov esp, ebp
pop ebp
ret
call fcn.00501cb1
call fcn.00501cb1
int3