joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001bdc
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
call fcn.01001beb
jmp fcn.01001b4b

Function at 0x60f3f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x150000]
push edi
jmp 0x60f40a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x60f411
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60f400
mov eax, 1
add ebx, ebx
jne 0x60f423
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x60f434
jne 0x60f453
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60f453
dec eax
add ebx, ebx
jne 0x60f440
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x60f418
add ebx, ebx
jne 0x60f44f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x60f4a5
xor ecx, ecx
sub eax, 3
jb 0x60f46b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x60f4da
sar eax, 1
mov ebp, eax
jmp 0x60f476
add ebx, ebx
jne 0x60f476
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60f444
inc ecx
add ebx, ebx
jne 0x60f484
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x60f444
add ebx, ebx
jne 0x60f491
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x60f486
jne 0x60f4a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x60f486
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x60f4c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x60f4b6
jmp 0x60f406
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x60f4c4
add edi, ecx
jmp 0x60f406
pop esi
mov edi, esi
mov ecx, 0xa233
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x60f4e2
cmp byte [edi], 0x19
jne 0x60f4e2
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 0x60f4e7
lea edi, [esi + 0x1fc000]
mov eax, dword [edi]
or eax, eax
je 0x60f55f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2146b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x214848]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x60f514
mov ecx, edi
jns 0x60f543
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 + 0x21484c]
or eax, eax
je 0x60f559
mov dword [ebx], eax
add ebx, 4
jmp 0x60f531
call dword [esi + 0x21485c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x60f590
cmp al, 0xef
ja 0x60f583
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x60f565
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x60f572
mov ebp, dword [esi + 0x214850]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x60f5c4
sub esp, 0xffffff80
jmp 0x534fed
Function at 0x4cdaa0
Capabilities:
Encode data using xor

Disassembly:
pushal
mov ecx, section..data
mov edx, 0xf42f1fe0
mov ebx, 0xd0a5cae6
mov ebp, 0x302
mov esi, 0x70
call 0x4cdabf
xchg ecx, esi
pop eax
add eax, 0x16
mov edi, eax
xor dword [edi], edx
xor ebx, dword [edi]
xchg ebx, ebp
add edi, 4
loop 0x4cdac7
jmp eax
Function at 0x1002e3c0
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea eax, [ebx + 0x14]
push eax
call fcn.1002e0e0
mov edi, eax
mov ebp, edx
mov esi, edi
add esp, 4
or esi, ebp
je 0x1002e3fb
push edi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, 0xffffffff
je 0x1002e3f5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], ebp
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10039780
Capabilities:
Terminate process

Disassembly:
cmp dword [esp + 8], 0
jne 0x100397a7
mov eax, dword [esp + 0xc]
sub eax, 0
je 0x1003979e
sub eax, 1
jne 0x100397a7
mov ecx, dword [esp + 4]
jmp sym.AppUtil.dll_private:_void___thiscall_Movavi::App::OtherInstancesHandler::setForegroundInstance_void_
mov ecx, dword [esp + 4]
jmp sym.AppUtil.dll_private:_void___thiscall_Movavi::App::OtherInstancesHandler::interruptInstance_void_
ret

Function at 0x1003ce21
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0xb945c6c8
cmpsd dword [esi], dword es:[edi]
call fcn.1003cb88
invalid

Function at 0x1003d18a
Capabilities:
Inspect section memory permissions

Disassembly:
add byte [eax + 0x74300c8d], al
or byte [0xffff], ah

Function at 0x1003d1a8
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x1003d12d
cmp dword [eax + 0xc], ebx
je 0x1003d1d0
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.1003cb88
adc dword [esi + ebx], ebp
or al, 0x39
pop ebp
or al, 0x75
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x1003d1be
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x1003d199
and eax, 0xffff
add ecx, 2
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
pop es
je 0x1003d377
test dl, al
add dword [eax], eax
add edi, 4
add dword [ebp + 0x10], 4
adc byte [ebx + ebp*8], al
invalid
invalid
inc ebp

Function at 0x1003d1b4
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x1003d12d
cmp dword [eax + 0xc], ebx
je 0x1003d1d0
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.1003cb88
adc dword [esi + ebx], ebp
or al, 0x39
pop ebp
or al, 0x75
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x1003d1be
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x1003d199
and eax, 0xffff
add ecx, 2
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
pop es
je 0x1003d377
test dl, al
add dword [eax], eax
add edi, 4
add dword [ebp + 0x10], 4
adc byte [ebx + ebp*8], al
invalid
invalid
inc ebp
Function at 0x1003d1ba
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x1003d12d
cmp dword [eax + 0xc], ebx
je 0x1003d1d0
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.1003cb88
adc dword [esi + ebx], ebp
or al, 0x39
pop ebp
or al, 0x75
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x1003d1be
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x1003d199
and eax, 0xffff
add ecx, 2
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
pop es
je 0x1003d377
test dl, al
add dword [eax], eax
add edi, 4
add dword [ebp + 0x10], 4
adc byte [ebx + ebp*8], al
invalid
invalid
inc ebp

Function at 0x1003d232
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x1003d23c
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
ror byte [ecx - 0x35c4f7b3], 1
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov bh, 9
mov edx, ecx
and edx, 0xf000
add al, dh
add byte [eax], al
cmp edx, 0x3000
jne 0x1003d221
cmp edx, ebx
jne 0x1003d377
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1003d1f8
add eax, dword [eax + 4]
jmp 0x1003d1e5
mov dword [ebp + 0xc], ebx
jmp 0x1003d247
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1003d25f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1003d27d
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1003d2db
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1003d2c2
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je fcn.1003d2cb
or byte [eax + ecx], 2
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1003d241
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1003d328
dec eax
je 0x1003d31f
sub eax, 3
je 0x1003d316
mov dword [ebp - 4], 0x40
jmp 0x1003d345
mov dword [ebp - 4], 4
jmp 0x1003d32b
mov dword [ebp - 4], 0x20
jmp 0x1003d32b
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1003d377
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1003d2f7
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1003cb88
nop
lds ebx, [ebx]
push 0x6a1475ff
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x1003d383
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1003d2c8
Capabilities:
Inspect section memory permissions

Disassembly:
or al, 8
add bh, byte [ecx]
cmp dword [ebp + 0x10], ebx
je 0x1003d2d5
invalid
Function at 0x403300
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403319
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403354
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x403350
lea ebx, [ebx]
cmp esi, eax
jae 0x403354
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x403340
cmp esi, eax
jb 0x40335a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x407598
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4075d1
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00403c3c
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00403a58
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x4090df
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x409122
call fcn.0040f4ba
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x409122
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40913d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00408c96
test ebx, ebx
mov esi, eax
je 0x40913b
test edi, edi
je 0x40913b
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40c7d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x40c816
call fcn.0040f4ba
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40c816
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x40c859
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x40c842
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40c842
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40c856
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x410812
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x410840
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41085e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041077c
jmp 0x41085e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41085e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0041077c
test edi, edi
mov eax, edi
jne 0x410848
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4464d4]
test ecx, ecx
je 0x410921
jmp 0x410811
ret 8

Function at 0x41eda5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x443420]
jne 0x41edaf
repz ret
jmp fcn.004236da
Function at 0x42e8a7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004241d6
xor ebx, ebx
cmp dword [0x447280], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x42e97c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x42e8e7
xor eax, eax
jmp 0x42ea40
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x438f90
push edi
call esi
cmp eax, ebx
je 0x42e8e0
push eax
call fcn.00424173
mov dword [esp], 0x438f80
push edi
mov dword [0x447280], eax
call esi
push eax
call fcn.00424173
mov dword [esp], 0x438f6c
push edi
mov dword [0x447284], eax
call esi
push eax
call fcn.00424173
mov dword [0x447288], eax
lea eax, [ebp - 8]
push eax
call fcn.00422325
test eax, eax
pop ecx
pop ecx
je 0x42e94a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00424742
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x42e97c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00424173
cmp eax, ebx
pop ecx
mov dword [0x447290], eax
je 0x42e97c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00424173
pop ecx
mov dword [0x44728c], eax
mov eax, dword [0x44728c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x42e9f5
cmp dword [0x447290], esi
je 0x42e9f5
push eax
call fcn.004241df
pop ecx
call eax
cmp eax, ebx
je 0x42e9c2
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x447290]
call fcn.004241df
pop ecx
call eax
test eax, eax
je 0x42e9c2
test byte [ebp - 0x18], 1
jne 0x42e9f5
lea eax, [ebp - 0xc]
push eax
call fcn.0042235c
test eax, eax
pop ecx
je 0x42e9dd
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00424742
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x42e9ec
or dword [ebp + 0x10], 0x200000
jmp 0x42ea26
or dword [ebp + 0x10], 0x40000
jmp 0x42ea26
mov eax, dword [0x447284]
cmp eax, esi
je 0x42ea26
push eax
call fcn.004241df
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42ea26
mov eax, dword [0x447288]
cmp eax, esi
je 0x42ea26
push dword [ebp - 4]
push eax
call fcn.004241df
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x447280]
call fcn.004241df
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43239c
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x443420]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00432331
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00420690
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4323eb
cmp dword [ebp - 0x1c], 5
jb 0x432403
jmp 0x4323ff
cmp dword [ebp - 0x10], 1
jne 0x432403
cmp dword [ebp - 0x1c], 4
ja 0x4323ff
jne 0x432403
cmp dword [ebp - 0x18], 0
jbe 0x432403
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x439000
call fcn.00432222
test eax, eax
jge 0x432424
mov byte [0x4473bc], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041eda5
add ebp, 0x78
leave
ret
Function at 0x402100
Capabilities:
Encode data using base64
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x50
mov ecx, 0x10
mov eax, dword [esp + 0x60]
push esi
push edi
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x64]
lea eax, [eax + eax*2 + 3]
movsb byte es:[edi], byte [esi]
lea edx, [ecx*4]
cmp edx, eax
jle 0x40213a
pop edi
mov eax, 1
pop esi
add esp, 0x50
ret 0x10
mov eax, 0x55555556
push ebx
imul ecx
mov eax, edx
push ebp
shr eax, 0x1f
mov ebp, dword [esp + 0x68]
add edx, eax
mov edi, edx
test edi, edi
lea esi, [edi*4]
mov dword [esp + 0x18], esi
jle 0x402204
mov ecx, dword [esp + 0x64]
lea edx, [ebp + 2]
mov dword [esp + 0x10], edi
lea esi, [ecx + 2]
mov al, byte [esi - 2]
add esi, 3
mov byte [esp + 0x70], al
and al, 3
mov ecx, dword [esp + 0x70]
add edx, 4
and ecx, 0xff
shr ecx, 2
shl al, 4
mov cl, byte [esp + ecx + 0x1c]
and eax, 0xff
mov byte [edx - 6], cl
mov cl, byte [esi - 4]
mov byte [esp + 0x68], cl
and cl, 0xf
mov ebx, dword [esp + 0x68]
and ebx, 0xff
shr ebx, 4
or eax, ebx
shl cl, 2
mov al, byte [esp + eax + 0x1c]
and ecx, 0xff
mov byte [edx - 5], al
mov al, byte [esi - 3]
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x14]
and eax, 0xff
mov ebx, eax
and eax, 0x3f
shr ebx, 6
mov al, byte [esp + eax + 0x1c]
or ecx, ebx
mov cl, byte [esp + ecx + 0x1c]
mov byte [edx - 4], cl
mov byte [edx - 3], al
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x402171
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x18]
mov eax, ecx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jle 0x4022a7
mov eax, dword [esp + 0x64]
add esi, 4
lea ecx, [eax + edi*2]
mov al, byte [ecx + edi]
add ecx, edi
mov byte [esp + 0x70], al
mov ebx, dword [esp + 0x70]
and ebx, 0xff
shr ebx, 2
cmp edi, 1
mov bl, byte [esp + ebx + 0x1c]
mov byte [ebp + edi*4], bl
jne 0x40225a
and al, 3
shl al, 4
and eax, 0xff
mov dl, byte [esp + eax + 0x1c]
mov byte [ebp + 5], dl
mov byte [ebp + 6], 0x3d
jmp 0x4022a2
mov cl, byte [ecx + 1]
and al, 3
mov byte [esp + 0x68], cl
mov ebx, dword [esp + 0x68]
shl al, 4
and ebx, 0xff
and eax, 0xff
shr ebx, 4
or eax, ebx
cmp edx, 1
mov al, byte [esp + eax + 0x1c]
mov byte [ebp + edi*4 + 1], al
jne 0x40228e
mov byte [ebp + edi*4 + 2], 0x3d
jmp 0x4022a2
and cl, 0xf
shl cl, 2
and ecx, 0xff
mov cl, byte [esp + ecx + 0x1c]
mov byte [ebp + edi*4 + 2], cl
mov byte [ebp + edi*4 + 3], 0x3d
mov byte [esi + ebp], 0
pop ebp
pop ebx
mov eax, esi
pop edi
pop esi
add esp, 0x50
ret 0x10
Function at 0x402490
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x418
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21a]
mov word [esp + 0x218], si
mov word [esp + 0x10], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
lea edx, [esp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x218]
push eax
push ecx
push edx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0x208
mov dword [esp + 0x20], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40254d
cmp word [esp + 0x218], si
je 0x40254d
mov ecx, dword [esp + 0x428]
mov esi, dword [esp + 0x424]
lea eax, [esp + 0x218]
push eax
push str._s360verify.dll
push ecx
push esi
call fcn.004025c0
add esp, 0x10
push esi
call edi
test eax, eax
je 0x40254d
pop edi
mov eax, 1
pop esi
add esp, 0x418
ret
call sub.MFC42u.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x10]
push 0x208
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4025a6
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x4025a6
lea ecx, [esp + 0x10]
push str...360verify.dll
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4025a6
lea edx, [esp + 0x10]
push edx
call edi
test eax, eax
je 0x4025a6
pop edi
mov eax, 1
pop esi
add esp, 0x418
ret
pop edi
xor eax, eax
pop esi
add esp, 0x418
ret
Function at 0x4032d0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4229b8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x28]
push esi
push edi
cmp ebx, 0x64
mov edi, ecx
jbe 0x4033c3
cmp ebx, 0xc8
jae 0x4033c3
mov eax, dword [edi + 0x28]
test eax, eax
jne 0x403311
xor edx, edx
jmp 0x403326
mov ecx, dword [edi + 0x2c]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [ebx - 0x64]
cmp edx, ecx
jb 0x4033c3
mov edi, dword [edi + 0x28]
lea edx, [ebx + ebx*2 - 0x12f]
lea ecx, [esp + 0xc]
lea esi, [edi + edx*4]
call fcn.004211a0
mov eax, dword [esi + 4]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x2c], 0
call fcn.004211f0
test eax, eax
jne 0x403385
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004211e0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
mov eax, dword [esi + 8]
mov esi, dword [esi + 4]
push 5
push 0
push eax
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004211e0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
mov esi, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
cmp esi, eax
je 0x4033df
mov ecx, dword [esi]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [edi + 0x1c]
add esi, 4
cmp esi, eax
jne 0x4033cd
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4

Function at 0x404c30
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 5
jne 0x404c64
mov eax, dword [esp + 8]
test eax, eax
jne 0x404c64
mov eax, 1
add esp, 0x114
ret
xor eax, eax
add esp, 0x114
ret

Function at 0x404c70
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 5
jne 0x404c9d
mov ecx, dword [esp + 8]
mov eax, 1
cmp ecx, eax
je 0x404c9f
xor eax, eax
add esp, 0x114
ret

Function at 0x404cb0
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 5
jne 0x404ce3
cmp dword [esp + 8], 2
jne 0x404ce3
mov eax, 1
add esp, 0x114
ret
xor eax, eax
add esp, 0x114
ret

Function at 0x404cf0
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
jne 0x404d24
mov eax, dword [esp + 8]
test eax, eax
jne 0x404d24
mov eax, 1
add esp, 0x114
ret
xor eax, eax
add esp, 0x114
ret

Function at 0x404d30
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 4], 6
sbb eax, eax
inc eax
add esp, 0x114
ret