joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a7750
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x500015
lea edi, [esi - 0xff015]
lea eax, [edi + 0x1a0510]
push dword [eax]
mov dword [eax], 0x4c2ef277
push eax
push edi
or ebp, 0xffffffff
jmp 0x5a7782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5a7789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a7778
mov eax, 1
add ebx, ebx
jne 0x5a779b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5a77ac
jne 0x5a77cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a77cb
dec eax
add ebx, ebx
jne 0x5a77b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5a7790
add ebx, ebx
jne 0x5a77c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5a781d
xor ecx, ecx
sub eax, 3
jb 0x5a77e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5a7852
sar eax, 1
mov ebp, eax
jmp 0x5a77ee
add ebx, ebx
jne 0x5a77ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a77bc
inc ecx
add ebx, ebx
jne 0x5a77fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5a77bc
add ebx, ebx
jne 0x5a7809
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5a77fe
jne 0x5a781a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5a77fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5a783c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5a782e
jmp 0x5a777e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5a783c
add edi, ecx
jmp 0x5a777e
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x5e09
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5a785e
cmp byte [edi], 0x22
jne 0x5a785e
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 0x5a7863
lea edi, [esi + 0x1a5000]
mov eax, dword [edi]
or eax, eax
je 0x5a78d2
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a7000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a7094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5a7890
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a709c]
or eax, eax
je 0x5a78cc
mov dword [ebx], eax
add ebx, 4
jmp 0x5a78ad
call dword [esi + 0x1a7098]
mov ebp, dword [esi + 0x1a70a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x1a792d]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5a791e
sub esp, 0xffffff80
jmp 0x4014e0
Function at 0x401460
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x40
call sym.___main
fldz
fstp dword [esp + 0x38]
mov dword [esp], str._aBem_vindo____n__Este_programa_faz_a_implemetacao_da_media_aritmetica
call sym._puts
mov dword [esp], str._nDeseja_implemetnar_:_n1_sim_n2_nao
call sym._puts
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp], 0x4050d2
call sym._scanf
mov eax, dword [esp + 0x2c]
cmp eax, 1
je 0x4014b7
cmp eax, 2
je 0x401552
jmp 0x401560
mov dword [esp], str.Quantas_notas_serao_utilizadas__n
call sym._printf
lea eax, [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp], 0x4050d2
call sym._scanf
mov dword [esp + 0x3c], 1
jmp 0x40151c
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov dword [esp], str.Entre_com_a_nota__d_:
call sym._printf
lea eax, [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], 0x405111
call sym._scanf
fld dword [esp + 0x28]
fld dword [esp + 0x38]
faddp st(1)
fstp dword [esp + 0x38]
add dword [esp + 0x3c], 1
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x3c], eax
jle 0x4014e1
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fld dword [esp + 0x38]
fdivrp st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp qword [esp + 4]
mov dword [esp], str._n_A_media_das_notas_eh:__.2f_n
call sym._printf
jmp 0x40156c
mov dword [esp], str._nFIM
call sym._puts
jmp 0x40156c
mov dword [esp], str._nOperacao_invalida__a_n
call sym._puts
mov eax, dword [esp + 0x2c]
cmp eax, 2
jne 0x401480
mov dword [esp], str.pause
call sym._system
mov eax, 0
leave
ret
Function at 0x417550
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x569638]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x210], 0
push eax
mov esi, ecx
mov dword [ebp - 0x210], 1
call fcn.004fb000
add esp, 0xc
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x210]
push eax
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallVPNMaster
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
test eax, eax
jne 0x4175fe
xor ecx, ecx
lea eax, [ebp - 0x20c]
mov word [esi + 4], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4175e5
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
jmp 0x41760a
xor eax, eax
push eax
mov word [esi + 4], ax
push 0x5334f8
call fcn.0042b220
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004f398f
mov esp, ebp
pop ebp
ret

Function at 0x4275c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x569638]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x56cd10]
test eax, eax
jl 0x4275f3
xor ecx, ecx
test eax, eax
setne cl
mov al, cl
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f398f
mov esp, ebp
pop ebp
ret
xor eax, eax
push esi
push 0x11c
push eax
lea edx, [ebp - 0x120]
push edx
mov dword [0x56cd10], 0
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
call fcn.004fb000
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call esi
test eax, eax
jne 0x42767f
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x114
call esi
test eax, eax
je 0x4276ce
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4276ce
lea edx, [ebp - 0x144]
push edx
call eax
mov eax, dword [ebp - 0x144]
cmp ax, 9
je 0x4276b5
cmp ax, 6
jne 0x4276ce
mov eax, 1
mov dword [0x56cd10], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f398f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.004f398f
mov esp, ebp
pop ebp
ret
Function at 0x4277a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
push esi
add eax, eax
lea edx, [ebp + 0xc]
push edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42780e
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x4277dd
cmp eax, 2
jne 0x4277f8
mov eax, dword [ebp - 4]
test esi, esi
je 0x427808
test eax, eax
je 0x427803
test al, 1
jne 0x4277f8
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x427808
mov eax, 0xd
mov esp, ebp
pop ebp
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x428600
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
xor eax, eax
movzx esi, ax
push edi
add edx, 4
mov eax, esi
shl esi, 0x10
or eax, esi
mov edi, edx
mov ecx, 0x82
rep stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push edx
lea ecx, [ebp - 8]
push ecx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsQHSafeMain.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0x208
mov dword [ebp - 8], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42e779
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp al, 0x83
les eax, [ecx + eax*4]
inc ecx
add dword ds:[eax], eax
pop edx
push esi
add esi, 0x9e8b
add esi, 0x12cd4
pop esi
cmp dword [ebp - 0x3e8], 0
je 0x42e6fb
cmp dword [ebp - 0xab8], 0
jne 0x42e741
push eax
or eax, 0x2f6a
pop eax
push edx
push eax
add esp, 4
and edx, 0x24f5
pop edx
push ecx
push edi
add esp, 4
add ecx, 0x2805
and ecx, 0x4be3
add ecx, 0x185e3
jmp 0x42e72c
pop ecx
mov edx, dword [ebp - 0x79c]
mov dword [ebp - 0x1990], edx
push 0
call dword [ebp - 0x1990]
mov dword [ebp - 0x20a8], 0xa
push esi
call 0x42e758
add byte [eax + 0x3e], dl
dec ebp
dec edx
inc esi
cmp eax, dword [ebx - 0x397efb3c]
inc edx
and byte [ecx], al
add byte [esi + 0x56], bl
add esi, 0x6fbf
call 0x42e779
add byte [esi + 0x45], al
inc ebp
dec esi
inc esp
dec edx
inc ebp
push eax
add esp, 4
pop esi
mov eax, dword [ebp - 0x3e8]
mov cl, byte [eax + 0xa]
mov byte [ebp - 0x3ae], cl
mov edx, dword [ebp - 0xab8]
sub edx, dword [ebp - 0x3e8]
mov dword [ebp - 0x1694], edx
mov dword [ebp - 0xce8], 0
push ecx
push edi
add esp, 4
or ecx, 0xc346
xor ecx, 0xedd3
add ecx, 0x138dd
pop ecx
push ecx
sub ecx, 0x38da
pop ecx
push eax
push esi
add esp, 4
and eax, 0x34a7
add eax, 0x1730d
pop eax
mov byte [ebp - 0x9d4], 0x56
mov byte [ebp - 0x9d3], 0x69
mov byte [ebp - 0x9d2], 0x72
mov byte [ebp - 0x9d1], 0x74
mov byte [ebp - 0x9d0], 0x75
mov byte [ebp - 0x9cf], 0x61
mov byte [ebp - 0x9ce], 0x6c
mov byte [ebp - 0x9cd], 0x50
mov byte [ebp - 0x9cc], 0x72
mov byte [ebp - 0x9cb], 0x6f
mov byte [ebp - 0x9ca], 0x74
mov byte [ebp - 0x9c9], 0x65
mov byte [ebp - 0x9c8], 0x63
mov byte [ebp - 0x9c7], 0x74
mov byte [ebp - 0x9c6], 0
push ebx
add ebx, 0xca94
sub ebx, 0xa436
pop ebx
push ecx
push ebx
add esp, 4
add ecx, 0x184a3
or ecx, 0x424d
call 0x42e871
add byte [esi + ecx*2 + 0x33], cl
dec ecx
dec edi
xor dh, byte [ecx + ecx*2]
cmp al, byte [ebx + 0x645904c4]
mov eax, dword [0x18]
invalid
test dword [esi - 1], ebp
Function at 0x42f010
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esi, 0x1eb1
and esi, 0x598f
pop esi
push esi
push edi
add esp, 4
sub esi, 0x8cc5
pop esi
push edx
add edx, 0x1ddb
pop edx
push ecx
push esi
add esp, 4
or ecx, 0x9924
pop ecx
cmp dword [ebp - 0x774], 0
jne 0x42f087
push eax
sub eax, 0x5231
or eax, 0x11bf9
pop eax
push ecx
push eax
add esp, 4
sub ecx, 0x18578
or ecx, 0x7b58
call 0x42f074
add byte [ebp + 0x44], al
xor ecx, dword [edx + 0x3a]
inc ecx
dec esp
cmp dword [ecx - 0x7d], ecx
les eax, [ecx + ebx*2]
mov dword [ebp - 0xab4], 0
jmp 0x42fbaf
push ecx
push eax
add esp, 4
and ecx, 0xc70d
xor ecx, 0xc042
sub ecx, 0x150ff
sub ecx, 0xe5e6
pop ecx
push edi
xor edi, 0x3b8d
add edi, 0xb75e
or edi, 0xf865
pop edi
mov ecx, dword [ebp - 0x774]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x3a4], edx
mov dword [ebp - 0x784], 0
mov eax, dword [ebp - 0x3a4]
mov dword [ebp - 0x166c], eax
cmp dword [ebp - 0x166c], 0
jne 0x42f0f8
mov ecx, dword [ebp - 0x784]
mov dword [ebp - 0x3f8], ecx
jmp 0x42f3e9
mov edx, dword [ebp - 0x166c]
mov eax, dword [ebp - 0x3a4]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1670], eax
jne 0x42f120
mov ecx, dword [ebp - 0x784]
mov dword [ebp - 0x3f8], ecx
jmp 0x42f3e9
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x1670]
invalid
push esp
Function at 0x4a45e0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, eax
push 0
lea eax, [esp + 0x14]
push eax
mov edi, ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x4a462a
mov edx, dword [edi]
mov eax, dword [edx + 0x28]
push 6
push esi
mov ecx, edi
call eax
mov eax, dword [ebp + 8]
mov dword [eax], 0xc0000018
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x3c]
lea edx, [esp + 0x10]
lea eax, [edi + 0x40]
push edx
push eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
call fcn.004a5b40
mov dword [eax], esi
push ebx
lea esi, [edi + 0x9c]
call fcn.0042fbc0
push edi
mov ecx, ebx
mov esi, 1
call fcn.00435db0
test al, al
jne 0x4a4693
mov eax, dword [ebx + 0x3c]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x18], eax
call fcn.00430fc0
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x18]
push eax
push edi
call int.00430ce0
mov esi, 0xc0000001
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4b7c70
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x569638]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0
test byte [0x575e04], 1
jne 0x4b7cc1
mov eax, dword [0x570fac]
mov edx, dword [eax + 0xc]
or dword [0x575e04], 1
mov ecx, 0x570fac
call edx
add eax, 0x10
push 0x52de60
mov dword [0x575e00], eax
call fcn.004f3ac5
add esp, 4
mov eax, dword [0x575e00]
cmp dword [eax - 0xc], 0
jne 0x4b7d77
push edi
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.004fb000
mov edi, dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
add esp, 0xc
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x210]
push eax
push 1
mov dword [ebp - 0x214], 0x104
call edi
test eax, eax
jne 0x4b7d30
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push edx
push eax
mov dword [ebp - 0x214], 0x104
call edi
mov eax, dword [ebp - 0x214]
pop edi
cmp eax, 0x105
jae 0x4b7d72
xor ecx, ecx
mov word [ebp + eax*2 - 0x210], cx
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b7d51
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x210]
push edx
push 0x575e00
call fcn.0042be60
mov eax, dword [0x575e00]
add eax, 0xfffffff0
call fcn.0042b8e0
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [esi], eax
xor ecx, ebp
mov eax, esi
call fcn.004f398f
mov esp, ebp
pop ebp
ret

Function at 0x4bdbb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526b5b
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x569638]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
call fcn.00466d30
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor edi, edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], eax
lea ebx, [esi + 0x50]
push ebx
mov dword [ebp - 4], edi
call fcn.00481170
mov dword [esi + method.CefWebViewHost.virtual_0], vtable.CefWebViewHost.0
mov dword [esi + 0x19c], 2
mov dword [esi], vtable.CPromoPopup.0
mov dword [esi + 0x2c], vtable.CPromoPopup.1.0
mov dword [ebx], vtable.CPromoPopup.2.0
mov dword [esi + method.CPromoPopup.3.virtual_0], vtable.CPromoPopup.3.0
mov dword [esi + 0x1a8], edi
mov dword [esi + 0x1ac], edi
mov dword [esi + 0x1b0], edi
mov dword [esi + 0x1b4], edi
mov edx, dword [0x570fac]
mov eax, dword [edx + 0xc]
mov ecx, 0x570fac
call eax
add eax, 0x10
mov dword [esi + 0x1b8], eax
mov dword [esi + 0x1c0], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x515f50
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x290
mov eax, dword [0x569638]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004fb000
push 0x80
lea ebx, [esp + 0x20]
mov ecx, edi
call fcn.00514e80
lea eax, [esp + 0x1a0]
mov edx, edi
mov ecx, eax
add esp, 0x10
mov esi, 0x104
sub edx, ecx
lea esp, [esp]
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x515fbb
mov cl, byte [edx + eax]
test cl, cl
je 0x515fbb
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x515fa0
jmp 0x515fbf
test esi, esi
jne 0x515fc0
dec eax
lea edx, [esp + 0x10]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x198]
push eax
call fcn.00514d90
push 0xff
lea ecx, [esp + 0x95]
push 0
push ecx
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], 0
call fcn.004fb000
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x53fbf4
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0x100
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x51609b
mov ecx, edi
lea eax, [esp + 0x90]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x516063
test dl, dl
je 0x51605f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x516063
add eax, 2
add ecx, 2
test dl, dl
jne 0x516043
xor eax, eax
jmp 0x516068
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x51609b
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x516076
sub eax, edx
push eax
lea edx, [esp + 0x94]
push edx
push 1
push str.mid_old
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [esp + 0x190]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5160a5
sub eax, edx
push eax
lea eax, [esp + 0x194]
push eax
push 1
push 0x53fbf4
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ecx, dword [esp + 0x294]
pop esi
pop ebx
xor ecx, esp
call fcn.004f398f
add esp, 0x290
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 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 0x4019f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x404a88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
jmp loc.0040a169

Function at 0x401cb0
Capabilities:
Create process on windows

Disassembly:
mov ecx, dword [esp + 4]
jmp loc.0040a9fe

Function at 0x402f40
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push ebx
xor eax, eax
push esi
xor esi, esi
mov ebx, ecx
push edi
lea edi, [ebx + 0x41]
mov ecx, 0x7a
mov dword [esp + 0xc], 0x94
rep stosd dword es:[edi], eax
mov ecx, 0x24
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
mov dword [ebx + 0x22c], esi
mov dword [ebx + 0x230], 1
mov dword [ebx + 0x234], 1
mov dword [ebx + 0x274], esi
mov dword [ebx + 0x278], 1
mov dword [ebx + 0x238], esi
mov dword [ebx + 0x258], esi
mov dword [ebx + 0x270], esi
mov dword [ebx + 0x240], esi
mov dword [ebx + 0x27c], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x1c], 2
jne 0x402fe2
cmp dword [esp + 0x10], 5
jb 0x402fe2
mov eax, 1
pop edi
mov dword [ebx + 0x23c], eax
jmp loc.0040a444
mov dword [ebx + 0x23c], esi
pop edi
pop esi
pop ebx
add esp, 0x94
ret
Function at 0x404786
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405e58
push 0x40490c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x40770c], 0xffffffff
or dword [0x407710], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x407700]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x4076fc]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x407708], eax
call fcn.0040490b
cmp dword [0x4075c0], ebx
jne 0x404809
push 0x404908
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.004048f6
push 0x407024
push 0x407020
call sub.MSVCRT.dll__initterm
lea edi, [ebp - 0x6c]
mov eax, dword [0x4076f8]
mov dword [ebp - 0x6c], eax
push edi
push dword [0x4076f4]
lea edi, [ebp - 0x64]
lea eax, [ebp - 0x70]
push edi
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x40701c
push section..data
call sub.MSVCRT.dll__initterm
mov eax, dword [sym.imp.MSVCRT.dll__acmdln]
mov edi, dword [eax]
mov dword [ebp - 0x74], edi
add esp, 0x24
cmp byte [edi], 0x22
jne 0x40489c
inc edi
mov dword [ebp - 0x74], edi
mov al, byte [edi]
cmp al, bl
je 0x404870
cmp al, 0x22
jne 0x404862
cmp byte [edi], 0x22
jne 0x404879
inc edi
mov dword [ebp - 0x74], edi
mov al, byte [edi]
cmp al, bl
je 0x404883
cmp al, 0x20
jbe 0x404875
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x4048a7
movzx eax, word [ebp - 0x2c]
jmp 0x4048aa
cmp byte [edi], 0x20
jbe 0x404879
inc edi
mov dword [ebp - 0x74], edi
jmp 0x40489c
push 0xa
pop eax
push eax
push edi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x78], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x406520
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b1d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x44
call fcn.00406a60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x54
call fcn.00406a60
mov byte [ebp - 4], 1
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x64
call fcn.00406a60
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], 0
push 0x28
push 0
mov edx, dword [ebp - 0x1c]
add edx, 8
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x14
push 0
mov eax, dword [ebp - 0x1c]
add eax, 0x30
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219