joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b3c3
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x4c37d0
push edi
mov ecx, esi
call fcn.004025f2
mov ecx, dword [0x4c3830]
mov eax, dword [ecx + eax*4]
mov ebx, dword [eax]
cmp dword [ebp + 0xc], edi
jne 0x48b41d
xor esi, esi
cmp dword [ebx + 0x1a0], esi
je 0x48b481
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push esi
push edi
push dword [ebp - 4]
push dword [ebp - 8]
push esi
push dword [ebx + 0x1a0]
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
jmp 0x48b49f
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004025bb
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x48b481
mov ecx, dword [0x4c3844]
mov ecx, dword [ecx + eax*4]
mov eax, dword [ecx]
mov cl, byte [eax + 0x90]
cmp cl, 0xe
je 0x48b481
cmp cl, 0xf
je 0x48b481
cmp cl, 0x13
je 0x48b481
cmp cl, 0x10
je 0x48b481
xor esi, esi
cmp dword [eax + 0xc], esi
je 0x48b481
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x4c3844]
mov ecx, dword [ebp + 8]
push esi
push dword [ebx]
push dword [ebp - 4]
mov eax, dword [eax + ecx*4]
push dword [ebp - 8]
push esi
mov eax, dword [eax]
push dword [eax + 0xc]
jmp 0x48b412
mov eax, dword [ebp + 0x14]
movzx ecx, ax
mov eax, dword [ebp + 0x10]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push dword [ebp + 0xc]
push 0x7b
push edi
call dword [sym.imp.USER32.dll_DefDlgProcW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40123f
Capabilities:
Create pipe
Get thread local storage value
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0040c2a0
mov eax, dword [0x245a25c]
mov ecx, dword [0x2459ce8]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x401333
mov edi, ecx
mov ebx, eax
cmp dword [0x245a25c], 0x959
jne 0x401323
push esi
lea eax, [ebp - 0xc00]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push str.muzijoyasux
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea eax, [ebp - 0x800]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.kifolicevoyicok
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call fcn.00401007
add edi, 8
dec ebx
jne 0x40126b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404609
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x441058]
jne 0x404613
repz ret
jmp fcn.004091aa

Function at 0x40ba0b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x441058]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00406d50
and dword [ebp - 0x14], 0
cmp dword [0x447b40], 0
mov dword [ebp - 0x18], eax
jne 0x40babe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40bb66
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40bb66
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x447b40], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x447b44], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x447b48], eax
call edi
push eax
call esi
mov dword [0x447b50], eax
test eax, eax
je 0x40babe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x447b4c], eax
mov eax, dword [0x447b4c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40bb17
cmp dword [0x447b50], ecx
je 0x40bb17
push eax
call esi
push dword [0x447b50]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40bb17
test ebx, ebx
je 0x40bb17
call edi
test eax, eax
je 0x40bb0e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40bb0e
test byte [ebp - 8], 1
jne 0x40bb17
or dword [ebp + 0x10], 0x200000
jmp 0x40bb4a
mov eax, dword [0x447b44]
cmp eax, dword [ebp - 0x18]
je 0x40bb4a
push eax
call esi
test eax, eax
je 0x40bb4a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40bb4a
mov eax, dword [0x447b48]
cmp eax, dword [ebp - 0x18]
je 0x40bb4a
push eax
call esi
test eax, eax
je 0x40bb4a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x447b40]
call esi
test eax, eax
je 0x40bb66
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40bb68
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404609
leave
ret
Function at 0x1ff5058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1ff51a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1ff507e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1ff506a
add dl, dl
jne 0x1ff5089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1ff50dc
xor eax, eax
add dl, dl
jne 0x1ff5096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1ff517d
add dl, dl
jne 0x1ff50a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1ff50b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1ff50bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1ff50c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1ff50d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1ff5075
mov eax, 1
add dl, dl
jne 0x1ff50ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1ff50f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1ff50e1
sub eax, ebx
mov ebx, 1
jne 0x1ff5128
mov ecx, 1
add dl, dl
jne 0x1ff510e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1ff5119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1ff5105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1ff5075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1ff513f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1ff514a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1ff5136
cmp eax, 0x7d00
jae 0x1ff516d
cmp eax, 0x500
jb 0x1ff5168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1ff5075
cmp eax, 0x7f
ja 0x1ff5170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1ff5075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1ff519e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1ff5075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10119309
Capabilities:
Packed with generic packer

Disassembly:
pushal
call 0x1011930f
pop ebp
add ebp, 0x3818d
push 4
push 0x1000
push 0x1000
push 0
call dword [ebp]
sub ebp, 4
mov edi, eax
mov byte [edi], 0xc3
push edi
push esp
push 0x120
push 0x1000
push edi
call dword [ebp]
pop ebx
call 0x10119345
pop eax
add eax, 0x2a
push eax
push dword fs:[0]
mov dword fs:[0], esp
call edi
pop dword fs:[0]
add esp, 4
nop
test eax, eax
je 0x10119387
jmp loc.101185e7
nop
nop
nop
nop
nop
popal
ret
add ebp, 8
push 0x4000
push 0x1000
push edi
call dword [ebp]
jmp 0x10119380

Function at 0x10119785
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.10119804
jae 0x10119791
xor ecx, ecx
call fcn.10119804
jae 0x101197bb
xor eax, eax
call fcn.10119804
jae 0x101197cc
mov al, 0x10
call fcn.10119804
adc al, al
jae 0x101197ad
jne 0x101197f9
stosb byte es:[edi], al
jmp 0x10119792
call fcn.10119810
dec ecx
loop 0x101197d8
mov eax, ebp
call fcn.1011980e
jmp 0x101197fa
lodsb al, byte [esi]
shr eax, 1
je 0x10119820
adc ecx, 2
mov ebp, eax
jmp 0x101197fa
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.1011980e
cmp eax, 0x7d00
jae 0x101197f8
cmp eax, 0x500
jae 0x101197f9
cmp eax, 0x7f
ja 0x101197fa
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10119792
pop ebp
ret 8
Function at 0x4052da
Capabilities:
Create pipe
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0040e180
mov eax, dword [0x245713c]
mov ecx, dword [0x2456bc8]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x4053b3
mov edi, ecx
mov ebx, eax
cmp dword [0x245713c], 0x959
jne 0x4053a3
push esi
lea eax, [ebp - 0x800]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0x404eb8
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call fcn.004050a7
add edi, 8
dec ebx
jne 0x405306
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b2d5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e5b0]
jne 0x40b2df
repz ret
jmp fcn.0040e1ab

Function at 0x40b55b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43e5b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00408e10
and dword [ebp - 0x14], 0
cmp dword [0x4446d8], 0
mov dword [ebp - 0x18], eax
jne 0x40b60e
push 0x402924
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b6b6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402918
push ebx
call edi
test eax, eax
je 0x40b6b6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402908
push ebx
mov dword [0x4446d8], eax
call edi
push eax
call esi
push 0x4028f4
push ebx
mov dword [0x4446dc], eax
call edi
push eax
call esi
push 0x4028d8
push ebx
mov dword [0x4446e0], eax
call edi
push eax
call esi
mov dword [0x4446e8], eax
test eax, eax
je 0x40b60e
push 0x4028c0
push ebx
call edi
push eax
call esi
mov dword [0x4446e4], eax
mov eax, dword [0x4446e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b667
cmp dword [0x4446e8], ecx
je 0x40b667
push eax
call esi
push dword [0x4446e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b667
test ebx, ebx
je 0x40b667
call edi
test eax, eax
je 0x40b65e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b65e
test byte [ebp - 8], 1
jne 0x40b667
or dword [ebp + 0x10], 0x200000
jmp 0x40b69a
mov eax, dword [0x4446dc]
cmp eax, dword [ebp - 0x18]
je 0x40b69a
push eax
call esi
test eax, eax
je 0x40b69a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b69a
mov eax, dword [0x4446e0]
cmp eax, dword [ebp - 0x18]
je 0x40b69a
push eax
call esi
test eax, eax
je 0x40b69a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4446d8]
call esi
test eax, eax
je 0x40b6b6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b6b8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b2d5
leave
ret
Function at 0x1001531
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x1003220]
push ebx
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x418]
push eax
xor ebx, ebx
push 0x1001178
push 0x80000001
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x418], ebx
xor esi, esi
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x420], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1001615
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x428]
push eax
push ebx
push 0x1001150
push dword [ebp - 0x418]
mov dword [ebp - 0x424], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001615
cmp dword [ebp - 0x420], ebx
je 0x1001615
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x414]
push eax
push 0x3ee
push dword [ebp - 0x41c]
call esi
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x3ef
push dword [ebp - 0x41c]
call esi
push 0x10
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
xor esi, esi
inc esi
pop edi
cmp dword [ebp - 0x418], ebx
je 0x1001629
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
call fcn.01001dbe
leave
ret
Function at 0x10016f7
Capabilities:
Shutdown system

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x1003220]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push 0x10012b4
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x818], edi
call dword [sym.imp.msvcrt.dll_setlocale]
pop ecx
pop ecx
push 0x1001250
push 1
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [ebp - 0x814], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
jne 0x1001758
call fcn.01001669
jmp 0x1001856
inc ecx
call fcn.01001669
test eax, eax
jne 0x1001856
call fcn.01001afd
test eax, eax
je 0x1001774
call fcn.01001a29
mov ecx, esi
call fcn.01001429
test eax, eax
je 0x1001856
mov ecx, esi
call fcn.01001531
test eax, eax
jne 0x1001856
push 0x105
lea eax, [ebp - 0x610]
push ebx
push eax
call dword [sym.imp.msvcrt.dll_mbstowcs]
add esp, 0xc
lea eax, [ebp - 0x818]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x610]
push eax
call sub.INETCFG.dll__LaunchSignupWizard_12
cmp dword [ebp - 0x818], 1
jne 0x1001856
mov esi, 0x100
push esi
lea edx, [ebp - 0x404]
mov ecx, 0x3ea
call fcn.0100163c
push esi
lea edx, [ebp - 0x204]
mov ecx, 0x3e8
call fcn.0100163c
mov esi, dword [sym.imp.USER32.dll_MessageBoxW]
push 0x124
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x404]
push eax
push edi
call esi
cmp eax, 6
jne 0x1001856
call fcn.01001bb2
call fcn.01001cb7
test eax, eax
je 0x100182e
push edi
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x1001856
push 0x200
lea edx, [ebp - 0x810]
mov ecx, 0x3eb
call fcn.0100163c
push 0x10
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x810]
push eax
push edi
call esi
cmp dword [ebp - 0x814], edi
pop edi
pop esi
pop ebx
je 0x100186d
push dword [ebp - 0x814]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
call fcn.01001dbe
leave
ret 0x10
Function at 0x1001880
Capabilities:
Get common file path
Get startup folder
Write file on windows
Write file to startup folder

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1003220]
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x220]
push eax
xor ebx, ebx
push 0x18
push ebx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x1001a13
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x220]
call sub.SHELL32.dll_SHGetPathFromIDListW
test eax, eax
je 0x1001a13
lea eax, [ebp - 0x21c]
push eax
call sub.SHELL32.dll_SHGetMalloc
test eax, eax
jl 0x100190d
mov eax, dword [ebp - 0x21c]
push dword [ebp - 0x220]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
lea eax, [ebp - 0x210]
push eax
call esi
cmp word [ebp + eax*2 - 0x212], 0x5c
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x100193d
push 0x1001304
lea eax, [ebp - 0x210]
push eax
call edi
push 0x10012b8
lea eax, [ebp - 0x210]
push eax
call edi
push ebx
push 0x80000080
push 2
push ebx
push ebx
push 0x40000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x214], eax
je 0x1001a11
push ebx
lea eax, [ebp - 0x218]
push eax
mov edi, 0x10012d4
push edi
call esi
push eax
push edi
push dword [ebp - 0x214]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
call edi
test eax, eax
je 0x1001a05
push ebx
lea eax, [ebp - 0x218]
push eax
mov ebx, 0x10012e4
push ebx
call esi
push eax
push ebx
push dword [ebp - 0x214]
call edi
test eax, eax
je 0x1001a05
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x224]
call esi
push eax
push dword [ebp - 0x224]
push dword [ebp - 0x214]
call edi
test eax, eax
je 0x1001a05
push 0
lea eax, [ebp - 0x218]
push eax
mov ebx, 0x10012f4
push ebx
call esi
push eax
push ebx
push dword [ebp - 0x214]
call edi
test eax, eax
je 0x1001a05
mov dword [ebp - 0x228], 1
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x228]
pop ebx
call fcn.01001dbe
leave
ret
Function at 0x1001a29
Capabilities:
Delete file
Get common file path
Get startup folder

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1003220]
lea ecx, [ebp - 0x218]
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push 0x18
push eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x1001aee
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x218]
call sub.SHELL32.dll_SHGetPathFromIDListW
test eax, eax
je 0x1001aee
lea eax, [ebp - 0x214]
push eax
call sub.SHELL32.dll_SHGetMalloc
test eax, eax
jl 0x1001aa5
mov eax, dword [ebp - 0x214]
push dword [ebp - 0x218]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebp + eax*2 - 0x212], 0x5c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x1001ad2
push 0x1001304
lea eax, [ebp - 0x210]
push eax
call esi
push 0x10012b8
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
mov ecx, dword [ebp - 4]
call fcn.01001dbe
leave
ret

Function at 0x1001b51
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1003220]
push edi
push 0x45
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x118]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
pop edi
jne 0x1001ba1
cmp dword [ebp - 0x114], 5
jb 0x1001ba1
xor eax, eax
inc eax
jmp 0x1001ba3
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.01001dbe
leave
ret
Function at 0x1001bb2
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x73c
mov eax, dword [0x1003220]
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x210]
push eax
push 0
mov esi, 0x3f4
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1001ca5
and word [ebp - 8], 0
push edi
push 0x209
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
and word [ebp - 0x214], 0
push 0x45
pop ecx
xor eax, eax
lea edi, [ebp - 0x738]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x738]
push eax
mov dword [ebp - 0x738], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1001c41
push 0x45
pop ecx
lea edi, [ebp - 0x738]
rep stosd dword es:[edi], eax
cmp dword [ebp - 0x728], 2
pop edi
jne 0x1001c5a
lea ecx, [ebp - 0x624]
call fcn.01001880
mov esi, eax
jmp 0x1001ca5
lea eax, [ebp - 0x73c]
push eax
push 0x1001308
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, eax
test esi, esi
jne 0x1001ca5
push 0x412
lea eax, [ebp - 0x624]
push eax
push 1
push esi
push str.inetwiz
push dword [ebp - 0x73c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x73c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.01001dbe
leave
ret