joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4623e0
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 0x46258b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46256c
mov dl, 1
mov eax, dword [0x41b39c]
call fcn.00403418
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404298
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46255b
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.0044fdb4
test al, al
je 0x46254e
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, 0x46259c
lea eax, [ebp - 0x254]
call fcn.00409ca8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46254e
xor eax, eax
push ebp
push 0x462547
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 0x4625d4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x462530
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404508
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 0x462530
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404508
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46254e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x462451
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f75c
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 0x462592
lea eax, [ebp - 0x260]
call fcn.00404298
ret

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

Disassembly:
push ecx
mov eax, dword [0x4f6be0]
cmp byte [eax + 0xa5], 0
jne 0x462f31
cmp dword [0x4f6bf8], 0
jne 0x462ef2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x462e7c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4f6bf8], eax
cmp dword [0x4f6bf4], 0
jne 0x462f0d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4f6bf4], eax
cmp dword [0x4f6bfc], 0
jne 0x462f31
push esp
push 0
push 0
push 0x462e20
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4f6bfc], eax
pop edx
ret
Function at 0x463028
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46303f
add esp, 0xfffffff0
call fcn.0040376c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423684
mov eax, dword [0x4f5194]
cmp word [eax + 2], 0
jne 0x463067
mov eax, dword [0x4f5194]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00464718
mov eax, dword [0x4f52c0]
cmp word [eax + 2], 0
jne 0x463081
mov eax, dword [0x4f52c0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00464910
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41ad38]
call fcn.00403418
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41ad38]
call fcn.00403418
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x425bd8]
call fcn.0042d534
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x463208
mov eax, dword [0x4f5034]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042d904
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x464ec0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4f5034]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040da58
test eax, eax
je 0x463176
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409688
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040da80
test eax, eax
je 0x46318a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404508
mov eax, dword [0x4f4e4c]
cmp byte [eax], 0
jne 0x4631be
mov eax, ebx
call fcn.00463330
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0046509c
mov eax, ebx
call fcn.00465a60
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4631fe
call fcn.004037c4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4635b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4f6be0]
cmp dword [eax + 0x30], 0
je 0x46365a
cmp dword [ebx + 0x94], 0
jne 0x463654
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x463540
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x463654
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 0x46361a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x463654
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.0041d2e8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x463629
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4641bc
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 0x4641f1
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.00404388
jmp 0x4641fe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042ec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x465278
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4652b9
mov eax, esi
call fcn.0044b39c
test al, al
je 0x4652b9
mov eax, dword [ebx + 0x84]
call fcn.0044b098
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4652b9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044b098
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4821c8
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4821ed
cmp dword [esp + 4], 5
jb 0x4821ed
mov al, 1
jmp 0x4821ef
xor eax, eax
add esp, 0x94
ret
Function at 0x4961a0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4961ce
mov eax, ebx
call fcn.00496c54
cmp dword [ebx + 0x40], 0
je 0x4961c7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x49623f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x496231
cmp dword [ebx + 8], 0
je 0x4961f0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x496202
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x496231
cmp dword [ebx + 8], 0
je 0x4961e3
cmp eax, 3
je 0x496215
dec eax
jne 0x4961e3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4961e3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4961e3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x49625d
cmp dword [ebx + 0x14], 0xcc
je 0x49625d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00496268
pop ebx
ret
Function at 0x4ae5f8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4ae669
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4f4cd8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x4ae653
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004ae5e8
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4ae3f0]
call fcn.004ae690
mov dword [0x4f4d3c], eax
mov eax, dword [ebp - 4]
call fcn.004ae598
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae670
lea eax, [ebp - 8]
call fcn.0040616c
ret

Function at 0x4b0414
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b04ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004049a4
mov eax, dword [0x4f54b4]
cmp dword [eax], 2
jne 0x4b0483
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404d14
mov eax, dword [ebx]
call fcn.00404b40
push eax
mov eax, dword [ebx]
call fcn.00404b30
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404b40
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404d14
jmp 0x4b04b5
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409838
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404b20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b04d5
lea eax, [ebp - 0x3f0]
call fcn.00404298
ret
Function at 0x4da554
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.00409340
test al, al
je 0x4da5db
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.00402df0
or esi, 0x100
test esi, esi
jns 0x4da58f
call fcn.00403388
push esi
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.00404758
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4da5db
mov dl, 1
mov eax, dword [0x425bd8]
call fcn.0042d534
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.0042d904
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x4da5db
mov eax, esp
call fcn.0040e870
mov eax, dword [esp]
add esp, 0x164
pop esi
pop ebx
ret
Function at 0x4de328
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [ebp + 8]
add ebx, 0xffffffc4
mov esi, dword [ebp + 8]
add esi, 0xffffffbc
xor eax, eax
push ebp
push 0x4de4db
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042bf68
mov eax, dword [eax + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x70]
mov edx, dword [edx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
call fcn.00456e48
call fcn.004b5634
mov edx, dword [ebp + 8]
mov dword [edx - 0x4c], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x4c], 0
je 0x4de3ac
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x68]
call fcn.00426d68
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042bf68
mov eax, dword [eax + 0xc]
pop edx
call fcn.00426d70
mov eax, dword [ebp + 8]
mov dword [eax - 0x50], ebx
lea edx, [ebp - 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00426c50
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x1c]
call fcn.004096e4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x50]
push eax
push 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042bf68
call fcn.00427ad8
push eax
call sub.gdi32.dll_GetObjectA
mov dword [ebx + 8], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00426cc4
mov dword [ebx], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00426d00
test al, 8
setne al
mov byte [ebx + 0x16], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00426d00
test al, 2
setne al
mov byte [ebx + 0x14], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00426d00
test al, 4
setne al
mov byte [ebx + 0x15], al
mov dword [ebx + 0x10], 0x190
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00426d68
mov byte [ebx + 0x17], al
xor eax, eax
mov dword [ebx + 4], eax
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x19], 0
mov eax, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x1b], 0
mov byte [ebx + 0x1a], 0
push ebx
call sub.gdi32.dll_CreateFontIndirectA
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042bf68
mov eax, dword [eax + 0xc]
pop edx
call fcn.00426bfc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042bf68
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
imul edx, dword [edx - 0x54], 0x13
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x8c]
mov edx, dword [ecx + edx*8 + 0x10]
call fcn.00426a40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de4e2
lea eax, [ebp - 4]
call fcn.00404298
ret
Function at 0x438c93
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop ecx
add edx, 0x35e6e459
inc edx
mov ebx, 0x604f08dc
call fcn.00438ccd
add ebx, 0x392121bb
mov ebx, 0x3d5f1d10
dec edx
xor dword [esi], ecx
dec ebx
inc esi
dec edx
add edx, 0xcbd3d85a
cmp esi, eax
jne fcn.00438c93
sub edx, edx
or edx, edx
mov ebx, edx
ret

Function at 0x457210
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x48000]
push edi
jmp 0x45722a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x457231
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457220
mov eax, 1
add ebx, ebx
jne 0x457243
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x457254
jne 0x457273
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457273
dec eax
add ebx, ebx
jne 0x457260
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x457238
add ebx, ebx
jne 0x45726f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4572c5
xor ecx, ecx
sub eax, 3
jb 0x45728b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4572fa
sar eax, 1
mov ebp, eax
jmp 0x457296
add ebx, ebx
jne 0x457296
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457264
inc ecx
add ebx, ebx
jne 0x4572a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x457264
add ebx, ebx
jne 0x4572b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4572a6
jne 0x4572c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4572a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4572e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4572d6
jmp 0x457226
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4572e4
add edi, ecx
jmp 0x457226
pop esi
mov edi, esi
mov ecx, 0x1a6b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x457302
cmp byte [edi], 4
jne 0x457302
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 0x457307
lea edi, [esi + 0x54000]
mov eax, dword [edi]
or eax, eax
je 0x45737f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x57000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x57118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x457334
mov ecx, edi
jns 0x457363
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5711c]
or eax, eax
je 0x457379
mov dword [ebx], eax
add ebx, 4
jmp 0x457351
call dword [esi + 0x5712c]
mov ebp, dword [esi + 0x57120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x4573b3
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x100013a0
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10001338
push 0x10002050
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0x20]
sub eax, esi
je 0x1000143e
dec eax
je 0x1000145f
dec eax
je 0x10001412
dec eax
jne 0x100014b9
lea eax, [ebp - 0x24]
push eax
push 0x2001f
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100014b9
push dword [ebp + 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x100014ae
lea eax, [ebp - 0x24]
push eax
push 0x2001f
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100014b9
push dword [ebp + 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x100014ae
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100014b9
lea eax, [ebp - 0x24]
push eax
push 0x2001f
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100014b9
mov edi, dword [ebp + 0x14]
cmp edi, esi
jbe 0x100014b9
cmp edi, 2
jbe 0x10001492
cmp edi, 4
jne 0x100014b9
push edi
lea eax, [ebp + 0x1c]
push eax
push edi
jmp 0x100014a1
push dword [ebp + 0x18]
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push dword [ebp + 0x18]
push edi
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x100014b9
mov dword [ebp - 0x1c], 1
or dword [ebp - 4], 0xffffffff
call fcn.100014d4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100015ce
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp - 0x38]
push edi
push eax
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
mov byte [ebp - 0x18], 0x6b
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x6e
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0x12], 0x33
mov byte [ebp - 0x11], 0x32
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0xf], 0x64
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0xc], bl
mov byte [ebp - 0x38], 0x50
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x6f
mov byte [ebp - 0x35], 0x63
mov byte [ebp - 0x34], 0x65
mov byte [ebp - 0x33], 0x73
mov byte [ebp - 0x32], 0x73
mov byte [ebp - 0x31], 0x33
mov byte [ebp - 0x30], 0x32
mov byte [ebp - 0x2f], 0x46
mov byte [ebp - 0x2e], 0x69
mov byte [ebp - 0x2d], 0x72
mov byte [ebp - 0x2c], 0x73
mov byte [ebp - 0x2b], 0x74
mov byte [ebp - 0x2a], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 0x28], 0x50
mov byte [ebp - 0x27], 0x72
mov byte [ebp - 0x26], 0x6f
mov byte [ebp - 0x25], 0x63
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x73
mov byte [ebp - 0x22], 0x73
mov byte [ebp - 0x21], 0x33
mov byte [ebp - 0x20], 0x32
mov byte [ebp - 0x1f], 0x4e
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x78
mov byte [ebp - 0x1c], 0x74
mov byte [ebp - 0x1b], bl
call esi
push eax
call edi
push ebx
push 2
mov dword [ebp - 4], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, 0x128
mov ebx, eax
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov edi, eax
push edi
push ebx
mov dword [edi], esi
call dword [ebp - 8]
test eax, eax
je 0x100016f9
push dword [ebp + 8]
lea esi, [edi + 0x24]
push esi
call sub.MSVCRT.dll__strcmpi
pop ecx
pop ecx
jmp 0x100016f0
push edi
push ebx
call dword [ebp - 4]
test eax, eax
je 0x100016f9
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x100016dd
mov eax, dword [edi + 8]
jmp 0x10001702
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001d5d
Capabilities:
Start service

Disassembly:
push ebx
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
je 0x10001da1
push esi
push edi
push 0x10010
push dword [esp + 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x10001d9c
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push esi
call edi
push ebx
call edi
pop edi
pop esi
pop ebx
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x76e5506f
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x3d762770
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219