joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10021170
Capabilities:
Check if file exists
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x1004b008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
js 0x100212d9
push 0x208
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.10022310
add esp, 0xc
lea eax, [ebp - 0x228]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x228]
push eax
call edi
test esi, esi
jle 0x100211df
lea eax, [ebp - 0x228]
push eax
call edi
sub esi, 1
jne 0x100211d1
mov eax, dword [0x1004c218]
mov esi, dword [eax]
cmp esi, eax
je 0x100212d9
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.10022310
add esp, 0xc
lea eax, [ebp - 0x228]
push dword [esi + 0x14]
push eax
lea eax, [ebp - 0x430]
push eax
call edi
lea eax, [ebp - 0x430]
push eax
call ebx
mov ecx, dword [esi + 0x10]
test eax, eax
jne 0x10021300
mov dword [ebp - 0x20], 0x360033
mov dword [ebp - 0x1c], 0x770030
mov dword [ebp - 0x18], 0x610070
mov dword [ebp - 0x14], 0x700070
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
mov word [ebp - 8], ax
cmp ecx, 3
jne 0x10021291
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x430]
push eax
call edi
lea eax, [ebp - 0x430]
push eax
call ebx
test eax, eax
jne 0x100212ec
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100212b7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100212b3
cmp esi, dword [eax + 8]
jne 0x100212b3
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100212a3
mov esi, eax
jmp 0x100212cd
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x100212cd
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x100212c1
cmp esi, dword [0x1004c218]
jne 0x10021200
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001352a
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001352a
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001352a
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432698
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x44706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
mov eax, dword [eax]
push ecx
push 0x441670
push eax
mov edx, dword [eax]
call dword [edx]
mov esi, eax
test esi, esi
js 0x408e63
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov esi, eax
test esi, esi
js 0x408e63
mov eax, dword [ebp - 0x24]
call fcn.004147f0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x24]
mov edi, esp
push edx
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x408e5e
lea ecx, [edi + 0x2c]
mov edx, 0x44187c
mov esi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x408e5e
add ecx, 4
add edx, 4
sub esi, 4
jae 0x408e20
mov edx, dword [edi + 0x44]
test edx, edx
je 0x408e5e
mov ecx, dword [edx + 0x40]
xor eax, eax
mov dword [ebp - 0x1c], 0x33564d57
mov dword [ebp - 0x18], 0x32564d57
mov dword [ebp - 0x14], 0x31564d57
cmp dword [ebp + eax*4 - 0x1c], ecx
je 0x408e9a
inc eax
cmp eax, 3
jb 0x408e52
mov esi, 0x80004005
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x408e77
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
lea esp, [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413d8b
mov esp, ebp
pop ebp
ret 8
mov dword [edx + 0x20], 0x400000
mov eax, dword [ebx]
mov dword [edx + 8], eax
mov eax, dword [ebx + 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebx]
mov dword [edx + 0x18], eax
mov eax, dword [ebx + 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebx]
movzx ecx, word [edx + 0x3e]
mov dword [edx + 0x34], eax
mov eax, dword [ebx + 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebx + 4]
shr ecx, 3
imul ecx, dword [ebx]
push edi
add ecx, 3
and ecx, 0xfffffffc
imul eax, ecx
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov esi, eax
test esi, esi
js 0x408e63
mov eax, dword [ebp - 0x20]
push 0x64
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
jmp 0x408e63
Function at 0x40b890
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x44706c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.ee_Nncam_get_RawFormat]
lea eax, [ebp - 0x240]
push esi
push edi
push eax
lea eax, [ebp - 0x244]
mov dword [ebp - 0x248], 0x28
push eax
mov esi, ecx
mov dword [ebp - 0x23c], 0x180001
push 0x18
xorps xmm0, xmm0
push 0
push dword [esi + 0x4c]
movlpd qword [ebp - 0x244], xmm0
movlpd qword [ebp - 0x238], xmm0
movlpd qword [ebp - 0x230], xmm0
movlpd qword [ebp - 0x228], xmm0
call ebx
test eax, eax
js 0x40ba3a
movzx eax, word [ebp - 0x23a]
imul eax, dword [ebp - 0x244]
add eax, 0x1f
shr eax, 3
and eax, 0x1ffffffc
imul eax, dword [ebp - 0x240]
push eax
mov dword [ebp - 0x234], eax
call fcn.00420716
mov edi, eax
add esp, 4
test edi, edi
je 0x40ba3a
push 0
push 0
push 0x18
push edi
push dword [esi + 0x4c]
call ebx
test eax, eax
js 0x40ba31
cmp dword [esi + 0x10c8], 2
jne 0x40b989
mov ecx, dword [esi + 0x10d0]
push ecx
push str._04u.jpg
lea eax, [ecx + 1]
mov dword [esi + 0x10d0], eax
lea eax, [ebp - 0x210]
push eax
call fcn.00401270
add esp, 0xc
lea ecx, [ebp - 0x210]
jmp 0x40ba20
push str..bmp
lea ebx, [esi + 0x10e0]
push ebx
call dword [0x4331c4]
test eax, eax
je 0x40ba1e
push 0x440c94
push ebx
call fcn.004205fe
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40ba31
mov ecx, dword [ebp - 0x234]
mov eax, 0x4d42
push ebx
push 1
mov word [ebp - 0x220], ax
add ecx, 0x36
lea eax, [ebp - 0x220]
mov dword [ebp - 0x21a], 0
push 0xe
push eax
mov dword [ebp - 0x21e], ecx
mov dword [ebp - 0x216], 0x36
call fcn.0041c5f3
push ebx
push 0x28
lea eax, [ebp - 0x248]
push 1
push eax
call fcn.0041c5f3
push ebx
push dword [ebp - 0x234]
push 1
push edi
call fcn.0041c5f3
push ebx
call fcn.0041b465
add esp, 0x34
jmp 0x40ba31
mov ecx, ebx
lea eax, [ebp - 0x248]
mov edx, edi
push eax
call fcn.00406090
add esp, 4
push edi
call fcn.00420615
add esp, 4
mov eax, dword [esi + 0x10c8]
cmp eax, 1
je 0x40ba5f
cmp eax, 2
jne 0x40ba69
mov eax, dword [esi + 0x10cc]
test eax, eax
je 0x40ba69
add eax, 0xffffffff
mov dword [esi + 0x10cc], eax
jne 0x40ba69
mov dword [esi + 0x10c8], 0
mov ecx, esi
call fcn.0040c210
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413d8b
mov esp, ebp
pop ebp
ret
Function at 0x40d250
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432857
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x44706c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0
mov dword [ebx], 0x441450
mov dword [ebx + 0x10], 0x441774
mov dword [ebx + 0x68], vtable.egObject_ATL__.0
push ecx
lea edi, [ebx + 0x18]
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x10], 1
call fcn.0040f600
mov dword [ebp - 4], 1
mov eax, dword [ebx]
push 8
mov dword [ebp - 0x18], edi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.logImpl_VCTECTargetDlg__VCWindow_ATL___ATL__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ecx + ebx - 4], eax
mov dword [edi], vtable.ception_std__.0
call fcn.0041422a
mov esi, eax
push 1
mov byte [ebp - 4], 2
call fcn.00412fff
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, ebx
mov dword [edi], vtable.mplBaseT_VCWindow_ATL__V__CWinTraits__0GMPAAAA__0EABAA__2__ATL__.0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40f600
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4329d3
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x44706c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebx]
push 0
push 0
mov dword [ebp - 0x1c], 0
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.AV__ctype__W_std__.0
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00405ec0
push 8
call fcn.0041422a
mov esi, eax
push 1
mov dword [ebp - 4], 2
call fcn.00412fff
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov dword [ebp - 4], 3
mov ecx, dword [esi + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 4
push eax
call fcn.00412270
add esp, 4
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
cmp ecx, vtable.CDialogImpl_VCExposureTimeDlg__VCWindow_ATL___ATL__.0
jne 0x40f7d4
add eax, 0x18
mov byte [ebp + 8], 0x20
push eax
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
push 1
lea eax, [ebp + 8]
movlpd qword [ebp - 0x2c], xmm0
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00412c23
movzx ecx, word [ebp - 0x10]
add esp, 0x14
test eax, eax
mov edx, 0xffff
cmovs ecx, edx
movzx esi, cx
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x40f76a
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 1
cmp dword [edi + 0x38], 0
mov word [edi + 0x40], si
jne 0x40f788
mov eax, dword [edi + 0xc]
mov ecx, edi
or eax, 4
push 0
push eax
call fcn.00405ec0
lea edx, [ebx + 0x10]
mov dword [ebp + 8], edx
mov eax, dword [edx]
mov eax, dword [eax + 4]
mov dword [edx + eax], vtable.ndow_ATL___ATL__.0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.td__.1.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ecx + ebx - 4], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x20
mov ecx, eax
call edx
movzx esi, ax
jmp 0x40f74f
Function at 0x19b0e14
Capabilities:
Encode data using xor

Disassembly:
jmp 0x19b0e1e
pushal
call 0x19b0e24
pop ebp
sub ebp, 0x10
sub ebp, 0x9b0e14
jmp 0x19b0e3a
mov eax, 0x9b0e14
add eax, ebp
add eax, 0x4c
mov ecx, 0x5d2
mov edx, 0x133b41d1
xor byte [eax], dl
inc eax
dec ecx
jne 0x19b0e51
jmp 0x19b0e64
pop edx
sbb al, 0x5a
pop eax
in eax, dx
rcl ecx, 1
rcl dword [eax + 0x10]
sub ecx, edx
rcl ecx, 1
rcr byte [ecx + ebp*2], cl
salc
rcl ecx, 1
shr dword [ebx - 7], 1
rcl ecx, 1
shl dword [esi], 1
xor edx, edx
sbb dword [edx + 0x50], ebx
fst st(1)
rcl ecx, 1
rcl byte [esp + ebx*2], cl
mov ch, 0xf5
sub eax, 0x81f5d558
mov ecx, 0xd1f09801
mov ecx, 0xd1a81595
sar ch, 1
cmc
mov ecx, 0xed883250
cmp esp, edx
rcl ecx, 1
sar dword [eax], 1
call ecx
rcl ecx, 1
pop esp
mov ch, 0xf5
xor cl, byte [eax - 0x2e2bc613]
rcl ecx, 1
cmp bh, bh
rcl ecx, 1
rcr dword [ebp + esi*4 - 0xb], 1
sub eax, 0x5af5fd58
cmp eax, 0xd1d9545a
rcl ecx, 1
pop edx
inc esp
fst st(1)
rcl ecx, 1
pop edx
pop esp
rcl ecx, 0xd1
rcl dword [eax]
cmp bl, dl
loopne 0x19b0ea1
push edx
adc edx, ebp
cwde
ficom word [ebp + 0x2e]
mov word cs:[ebx], ss
fst st(1)
pop edx
pop ebp
cmc
aad 0xd1
rcl ecx, 1
mov ecx, 0xd1f09801
mov ecx, 0xd1a81595
sar ch, 1
cmc
pop esp
mov ch, 0xf5
sub eax, 0x39f5dd58
aam 0xd1
rcl ecx, 1
cmp dh, ch
rcl ecx, cl
rol dword [edx + ebx*2 - 0x225bd1c3], 1
movsb byte es:[edi], byte cs:[esi]
fnstcw word [ecx]
mov dword [0x5ad1d1d1], eax
insb byte es:[edi], dx
invalid
Function at 0x401700
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x418040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4186e4]
push ebx
push 0x1c
mov ebx, dword [eax]
mov eax, dword [ebx]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
lea eax, [ebp - 0xc]
push eax
push 4
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x1c
lea eax, [ebp - 0x3c]
mov dword [ebx], 0x40e260
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x30]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x40]
xor ecx, ebp
pop ebx
call fcn.00410abd
mov esp, ebp
pop ebp
ret
Function at 0x401780
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411b6b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x88
push esi
push edi
mov eax, dword [0x418040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
mov dword [eax], vtable.Object.0
xorps xmm0, xmm0
movups xmmword [eax + 4], xmm0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0xf
mov byte [eax + 4], 0
add eax, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 1
lea edi, [ebp - 0x98]
mov ecx, 0x18
mov esi, 0x4149f8
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp dword [0x4186c0], 2
movsb byte es:[edi], byte [esi]
jl 0x401952
movaps xmm0, xmmword [str.8888888888888888]
lea esi, [ebp - 0x94]
movaps xmm4, xmmword [0x414b00]
movaps xmm3, xmmword [0x414b40]
movaps xmm5, xmmword [str.6666]
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebp - 0x30]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x414b20]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x98]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x98], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x414b20]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esi + ecx]
xorps xmm1, xmm0
movd dword [esi + ecx], xmm1
add ecx, 8
cmp ecx, 0x60
jl 0x401852
cmp ecx, 0x61
jge 0x40197d
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x36
sub dl, al
add dl, 0x38
xor byte [ebp + ecx - 0x98], dl
inc ecx
cmp ecx, 0x61
jl 0x401952
lea edx, [ebp - 0x98]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x401986
sub edx, ecx
lea eax, [ebp - 0x98]
mov ecx, dword [ebp - 0x14]
push edx
push eax
call fcn.0040f250
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4019c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
movups xmm0, xmmword [str.v_tnSUNWlt_av_w]
mov al, byte [0x414978]
push esi
mov esi, ecx
mov byte [ebp - 0x14], al
xor ecx, ecx
cmp dword [0x4186c0], 2
push edi
movups xmmword [ebp - 0x24], xmm0
jl 0x401b30
movaps xmm0, xmmword [str.8888888888888888]
lea edi, [ebp - 0x20]
movaps xmm4, xmmword [0x414b00]
movaps xmm3, xmmword [0x414b40]
movaps xmm5, xmmword [str.6666]
movaps xmmword [ebp - 0x10], xmm0
mov edx, dword [ebp - 0x10]
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x414b20]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x24]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x24], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x414b20]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [edi + ecx]
xorps xmm1, xmm0
movd dword [edi + ecx], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x401a30
cmp ecx, 0x11
jge 0x401b58
nop word [eax + eax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x36
sub dl, al
add dl, 0x38
xor byte [ebp + ecx - 0x24], dl
inc ecx
cmp ecx, 0x11
jl 0x401b30
lea ecx, [ebp - 0x24]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401b60
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
lea ecx, [esi + 4]
call fcn.0040f250
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x411586
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4115c5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4115c5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4115c5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4115c5
cmp dword [ecx + 0x74], 0xe
jbe 0x4115c5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4193c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
jmp 0x4193da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4193e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4193d0
mov eax, 1
add ebx, ebx
jne 0x4193f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4193e8
jne 0x419404
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4193e8
xor ecx, ecx
sub eax, 3
jb 0x419418
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41948a
mov ebp, eax
add ebx, ebx
jne 0x419423
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419430
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419454
inc ecx
add ebx, ebx
jne 0x419440
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419435
jne 0x419451
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419435
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419474
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419465
jmp 0x4193d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419474
add edi, ecx
jmp 0x4193d6
pop esi
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4194d3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19704]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19784]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419491
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1978c]
or eax, eax
je 0x4194cd
mov dword [ebx], eax
add ebx, 4
jmp 0x4194ae
call dword [esi + 0x19788]
mov ebp, dword [esi + 0x19790]
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 0x419507
sub esp, 0xffffff80
jmp 0x40d86c