joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001296f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10039280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.10012228
mov dword [ebp - 0x14], eax
cmp dword [0x1003b874], edi
jne 0x10012a60
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x100129ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10012b40
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10012b40
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10012b40
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x1003b874], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x1003b878], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x1003b87c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1003b884], eax
test eax, eax
je 0x10012a5d
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1003b880], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10012a85
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10012a78
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x10012a9a
push 4
pop eax
jmp 0x10012b42
cmp dword [ebp - 0x14], edi
je 0x10012a9a
push dword [0x1003b874]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10012a7f
mov eax, dword [0x1003b880]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x10012af8
cmp dword [0x1003b884], esi
je 0x10012af8
push eax
call ebx
push dword [0x1003b884]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10012af8
test eax, eax
je 0x10012af8
call ecx
test eax, eax
je 0x10012aed
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10012aed
test byte [ebp - 8], 1
jne 0x10012af8
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x10012b28
mov eax, dword [0x1003b878]
cmp eax, esi
je 0x10012b25
push eax
call ebx
test eax, eax
je 0x10012b25
call eax
mov edi, eax
test edi, edi
je 0x10012b25
mov eax, dword [0x1003b87c]
cmp eax, esi
je 0x10012b25
push eax
call ebx
test eax, eax
je 0x10012b25
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x1003b874]
call ebx
test eax, eax
je 0x10012b40
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x10012b42
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b72d
leave
ret
Function at 0x1002d170
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1000f246
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1002d1a8
xor eax, eax
jmp 0x1002d1d4
cmp esi, dword [ebp - 4]
je 0x1002d1d1
cmp dword [ebp + 0xc], 0
je 0x1002d1d1
push dword [edi + 0x9c]
call fcn.1002cd7e
push dword [edi + 0x9c]
mov esi, eax
call fcn.10012909
pop ecx
pop ecx
cmp esi, eax
je 0x1002d1a4
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x402602
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff7c0
mov ebx, eax
mov eax, ebx
mov byte [esp], dl
lea esi, [esp + 4]
call fcn.00406fa8
cmp eax, 0x3f6
jae 0x402835
mov eax, esi
mov ecx, 0x3c
xor edx, edx
call fcn.00406f4c
mov dword [esi], 0x3c
xor eax, eax
mov dword [esi + 4], 0x5c0
mov al, byte [ebx]
cmp eax, 0x22
jne 0x40264f
lea edx, [ebx + 1]
jmp 0x402651
mov edx, ebx
mov dword [esi + 0x10], edx
xor eax, eax
jmp 0x4026a2
xor ecx, ecx
mov cl, dl
cmp ecx, 0x22
jne 0x40267a
jmp 0x402673
xor edx, edx
mov dl, byte [ebx + eax]
cmp edx, 0x22
jne 0x402673
mov byte [ebx + eax], 0x20
jmp 0x40267a
inc eax
cmp byte [ebx + eax], 0
jne 0x402663
xor edx, edx
mov dl, byte [ebx + eax]
cmp edx, 0x20
je 0x40268f
xor ecx, ecx
mov cl, byte [ebx + eax + 1]
cmp ecx, 0x2f
jne 0x4026a1
cmp edx, 0x20
jne 0x402698
mov byte [ebx + eax], 0
lea eax, [eax + ebx + 1]
mov dword [esi + 0x14], eax
jmp 0x4026a9
inc eax
mov dl, byte [ebx + eax]
test dl, dl
jne 0x402658
cmp byte [0x40d0da], 0
je 0x4026b9
mov dword [esi + 0x14], 0x40d0da
mov dword [esi + 0x1c], 1
mov eax, dword [esi + 0x10]
call fcn.00405bc0
mov edi, eax
test edi, edi
je 0x4026e5
mov edx, str..inf
mov eax, edi
call fcn.004070b0
test eax, eax
jne 0x4026e5
mov dword [esi + 0xc], 0x40c221
xor edx, edx
mov eax, dword [esi + 0x10]
call fcn.004060f0
mov byte [esp + 1], al
cmp byte [esp + 1], 0
je 0x40270d
lea edx, [esp + 0x40]
mov eax, dword [esi + 0x10]
call fcn.00406184
lea ecx, [esp + 0x40]
mov dword [esi + 0x10], ecx
cmp byte [esp], 0
je 0x402750
cmp byte [esp + 1], 0
jne 0x402750
lea eax, [esp + 0x440]
mov edx, dword [esi + 0x10]
call fcn.00407028
mov edx, str..exe
lea eax, [esp + 0x440]
call fcn.004070fc
lea eax, [esp + 0x440]
xor edx, edx
call fcn.004060f0
test al, al
je 0x402835
push esi
call sub.SHELL32.DLL_ShellExecuteExA
test eax, eax
setne al
and eax, 1
test al, al
jne 0x40277a
and dword [esi + 4], 0xfffffbff
mov dword [esi + 0x10], ebx
push esi
call sub.SHELL32.DLL_ShellExecuteExA
test eax, eax
setne al
and eax, 1
test al, al
je 0x402835
cmp byte [0x40ccd0], 0
jne 0x402791
cmp byte [esp], 0
je 0x4027e7
mov ebx, dword [0x40d55c]
test ebx, ebx
je 0x4027a5
push ebx
call sub.USER32.DLL_IsWindowVisible
test eax, eax
jne 0x4027a9
xor eax, eax
jmp 0x4027ae
mov eax, 1
mov ebx, eax
test ebx, ebx
je 0x4027c1
push 0
push dword [0x40d55c]
call sub.USER32.DLL_ShowWindow
push 0x7d0
push dword [esi + 0x38]
call sub.USER32.DLL_WaitForInputIdle
mov eax, dword [esi + 0x38]
call fcn.0040283f
test ebx, ebx
je 0x4027e7
push 1
push dword [0x40d55c]
call sub.USER32.DLL_ShowWindow
push dword [esi + 0x38]
call sub.KERNEL32.DLL_CloseHandle
test edi, edi
je 0x402803
mov edx, str..exe
mov eax, edi
call fcn.004070b0
test eax, eax
je 0x402835
cmp byte [0x40ccd0], 0
je 0x40281e
cmp byte [esp], 0
jne 0x40281e
push 0x1b58
call sub.KERNEL32.DLL_Sleep
jmp 0x402835
mov edx, 0xc8
cmp byte [esp], 0
jne 0x40282f
add edx, 0x320
push edx
call sub.KERNEL32.DLL_Sleep
add esp, 0x840
pop edi
pop esi
pop ebx
ret
Function at 0x40417d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x47587d
push dword [ebp + 0x14]
push dword [ebp + 0x10]
jmp [eax - 0xe]
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4080e0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.00408140
Function at 0x408ae0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x408b18
xor edx, edx
nop
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
ja 0x408b0e
add ecx, dword [eax + 8]
cmp ebx, ecx
jb 0x408b1a
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x408b00
xor eax, eax
pop ebx
pop esi
ret

Function at 0x408de0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
sub esp, 8
test eax, eax
mov dword [esp + 0x2c], eax
je 0x408f41
mov edx, dword [esp + 0x3c]
lea eax, [edx*4]
cmp edx, 0x1fc00000
mov edx, 0xffffffff
cmova eax, edx
xor ebx, ebx
mov dword [esp], eax
call sub.libstdc_6.dll_operator_new___unsigned_int_
mov edx, dword [esp + 0x3c]
mov edi, eax
test edx, edx
jle 0x408ee9
nop
mov eax, dword [esp + 0x2c]
mov ebp, dword [eax + ebx*4]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebp
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [esp], eax
mov dword [esp + 0x28], eax
call sub.libstdc_6.dll_operator_new___unsigned_int_
mov ecx, dword [esp + 0x28]
mov esi, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [edi + ebx*4], esi
add ebx, 1
cmp dword [esp + 0x3c], ebx
jg 0x408e40
mov eax, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
sub esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00402310
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x408f2d
mov edx, dword [edi + ebx*4]
test edx, edx
je 0x408f24
mov dword [esp], edx
call sub.libstdc_6.dll_operator_delete___void_
add ebx, 1
cmp dword [esp + 0x3c], ebx
jg 0x408f15
mov dword [esp], edi
call sub.libstdc_6.dll_operator_delete___void_
mov eax, esi
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, 0xffffffff
jmp 0x408f37
Function at 0x40a3d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov esi, ecx
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0040e100
sub esp, 4
mov dword [esi], 0x419a88
mov dword [esi + 8], 0x419b74
mov dword [esp], 0x88
call sub.libstdc_6.dll_operator_new_unsigned_int_
mov dword [eax], 0
mov dword [eax + 4], 0
mov ebx, eax
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0x1388
mov dword [eax + 0x3c], 0x3e8
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 3
mov dword [eax + 0x48], 0x3f800000
mov byte [eax + 0x4c], 0
mov byte [eax + 0x4d], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 1
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0xffffffff
mov dword [eax + 0x70], 0xffffffff
mov dword [eax + 0x74], 0
mov dword [eax + 0x78], 0
mov dword [eax + 0x7c], 0xffffffff
mov dword [eax + 0x80], 0xffffffff
mov byte [eax + 0x84], 1
call fcn.00411270
mov ecx, eax
call fcn.00411300
fstp dword [ebx + 0x48]
mov dword [ebp - 0x1c], 0
mov dword [esi + 0x24], ebx
mov byte [ebp - 0x1a], 0x45
mov dword [esp], 1
lea ecx, [ebp - 0x1c]
call dword [method.QSizePolicy.setControlType_QSizePolicy::ControlType_]
mov eax, dword [ebp - 0x1c]
sub esp, 4
mov ecx, esi
mov dword [esp], eax
call dword [method.QWidget.setSizePolicy_QSizePolicy_]
mov eax, dword [esi + 0x24]
fld dword [0x417bc4]
sub esp, 4
mov ecx, esi
fmul dword [eax + 0x48]
fnstcw word [ebp - 0x2a]
movzx eax, word [ebp - 0x2a]
mov ah, 0xc
mov word [ebp - 0x2c], ax
fldcw word [ebp - 0x2c]
fistp dword [esp]
fldcw word [ebp - 0x2a]
call dword [method.QWidget.setMinimumHeight_int_]
mov eax, dword [esi + 0x24]
fld dword [0x417bc8]
sub esp, 4
mov ecx, esi
fmul dword [eax + 0x48]
fnstcw word [ebp - 0x2a]
movzx eax, word [ebp - 0x2a]
mov ah, 0xc
mov word [ebp - 0x2c], ax
fldcw word [ebp - 0x2c]
fistp dword [esp]
fldcw word [ebp - 0x2a]
call dword [method.QWidget.setMaximumWidth_int_]
sub esp, 4
mov ecx, esi
mov dword [esp + 4], 1
mov dword [esp], 0x37
call dword [method.QWidget.setAttribute_Qt::WidgetAttribute__bool_]
sub esp, 8
mov ecx, esi
call fcn.0040a2a0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
Function at 0x42f8d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x24000]
push edi
or ebp, 0xffffffff
jmp 0x42f8f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42f8f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42f8e8
mov eax, 1
add ebx, ebx
jne 0x42f90b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42f900
jne 0x42f91c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42f900
xor ecx, ecx
sub eax, 3
jb 0x42f930
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42f9a2
mov ebp, eax
add ebx, ebx
jne 0x42f93b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42f948
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42f96c
inc ecx
add ebx, ebx
jne 0x42f958
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42f94d
jne 0x42f969
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42f94d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42f98c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42f97d
jmp 0x42f8ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42f98c
add edi, ecx
jmp 0x42f8ee
pop esi
mov edi, esi
mov ecx, 0xc81
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42f9aa
cmp byte [edi], 0x12
jne 0x42f9aa
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 eax, ebx
loop 0x42f9af
lea edi, [esi + 0x2c000]
mov eax, dword [edi]
or eax, eax
je 0x42fa1e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3d618]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3d690]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42f9dc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3d694]
or eax, eax
je 0x42fa18
mov dword [ebx], eax
add ebx, 4
jmp 0x42f9f9
call dword [esi + 0x3d698]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x42fa4f
cmp al, 0xef
ja 0x42fa42
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x42fa24
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x42fa31
popal
jmp 0x416aa4
Function at 0x428290
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x20000]
push edi
jmp 0x4282aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282a0
mov eax, 1
add ebx, ebx
jne 0x4282c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282b8
jne 0x4282d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282b8
xor ecx, ecx
sub eax, 3
jb 0x4282e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42835a
mov ebp, eax
add ebx, ebx
jne 0x4282f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428300
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428324
inc ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428305
jne 0x428321
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428305
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428344
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428335
jmp 0x4282a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428344
add edi, ecx
jmp 0x4282a6
pop esi
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283ac
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2dc28]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2dc64]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x428361
mov ecx, edi
jns 0x428390
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 + 0x2dc6c]
or eax, eax
je 0x4283a6
mov dword [ebx], eax
add ebx, 4
jmp 0x42837e
call dword [esi + 0x2dc68]
mov ebp, dword [esi + 0x2dc70]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x4283e0
sub esp, 0xffffff80
jmp 0x401e60

Function at 0x12cbe610
Capabilities:
Encode data using xor

Disassembly:
jmp 0x12cbe61a
pushal
call 0x12cbe620
pop ebp
sub ebp, 0x10
sub ebp, 0x2cbe610
mov al, byte [esp + 0x28]
cmp al, 1
je 0x12cbe644
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x12cbe64d
mov eax, 0x2cbe610
add eax, ebp
add eax, 0x63
mov ecx, 0x5c1
mov edx, 0xe940b1ce
xor byte [eax], dl
inc eax
dec ecx
jne 0x12cbe664
jmp 0x12cbe677
inc ebp
add eax, dword [ebp + 0x47]
into
into
into
dec edi
invalid
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x408e84
nop
mov ecx, 0x742172d3
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x7a8841c9
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x421244
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004210ba

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x429120
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x644
mov eax, dword [0x4590c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x429176
push 1
push str.Shrimp_Platform
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
test eax, eax
je 0x42916b
push eax
mov edi, 1
call ebx
push esi
call ebx
test edi, edi
jne 0x429219
xor eax, eax
push 0x63e
push eax
lea ecx, [ebp - 0x642]
push ecx
mov word [ebp - 0x644], ax
call fcn.004338d0
add esp, 0xc
push 0x320
lea edx, [ebp - 0x644]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x429219
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x429219
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x644]
push eax
push 1
push 2
push 0x110
push 0xf01ff
push str.Shrimp_Platform
push str.Shrimp_Platform
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
je 0x429200
push edi
call ebx
push esi
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430efe
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00430efe
mov esp, ebp
pop ebp
ret
Function at 0x429230
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4590c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x42927f
push 1
push str.Shrimp_Platform
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
je 0x429278
push eax
mov edi, 1
call ebx
push esi
call ebx
test edi, edi
jne 0x429295
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430efe
mov esp, ebp
pop ebp
ret
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x4292ca
push str.OpenSCManager_failed_
call fcn.004332da
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430efe
mov esp, ebp
pop ebp
ret
push 0x10020
push str.Shrimp_Platform
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x429304
push edi
call ebx
push str.OpenService_failed_
call fcn.004332da
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430efe
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call ebx
push edi
call ebx
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 0x24], eax
pop edi
setne al
pop esi
xor ecx, ebp
pop ebx
call fcn.00430efe
mov esp, ebp
pop ebp
ret