joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475849
Capabilities:
Create process on windows
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5063f8]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x475861
cmp word [eax], 0
jne 0x475868
mov dword [ebp - 0x10], str.http:__www.360totalsecurity.com_d_ts__s__s_
push ebx
push esi
push edi
mov edi, 0x50739c
push edi
lea ecx, [ebp - 8]
call fcn.0041af40
push 0x400
lea ecx, [ebp - 8]
call fcn.00404350
mov esi, eax
lea eax, [ebp - 0xc]
push eax
call fcn.004063b0
mov dword [esp], 0x4d2ca8
push dword [eax]
push esi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.00404d60
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.00404990
push edi
lea ecx, [ebp - 0xc]
call fcn.0041af40
mov esi, 0x80
push esi
lea ecx, [ebp - 0xc]
call fcn.00404350
push dword [ebp - 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
push eax
push 0x4e0c80
push str.language
push 0x4e45fc
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0xc]
call fcn.00404990
push edi
lea ecx, [ebp - 4]
call fcn.0041af40
push esi
lea ecx, [ebp - 4]
call fcn.00404350
push dword [ebp - 8]
push esi
push eax
push 0x4e0c80
push str.channel
push 0x4e45fc
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00404990
lea ecx, [ebp - 4]
call fcn.00404fb0
mov esi, dword [ebp - 0xc]
xor ebx, ebx
cmp dword [esi - 0xc], ebx
je 0x475977
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], ebx
je 0x475977
push edi
lea ecx, [ebp - 0xc]
call fcn.0041af40
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push esi
push dword [ebp - 0x10]
push eax
call fcn.00404ba0
mov edi, dword [ebp - 0xc]
add esp, 0x10
push 5
push ebx
push ebx
push edi
push str.Open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [edi - 0x10]
call fcn.00404d60
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00404d60
lea ecx, [esi - 0x10]
call fcn.00404d60
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00404d60
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4766eb
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
cmp ebx, esi
je 0x476867
cmp dword [ebp + 0xc], esi
je 0x476867
mov edi, dword [ebp + 0x10]
cmp edi, esi
je 0x476867
cmp dword [ebp + 0x14], esi
je 0x476867
cmp dword [ebp + 0xc], 2
jbe 0x4767bb
mov dword [ebp - 8], 4
mov al, byte [ebx]
inc ebx
mov cl, byte [ebx]
sub dword [ebp + 0xc], 3
inc ebx
mov dl, byte [ebx]
inc ebx
mov dword [ebp + 8], ebx
mov bl, al
shr bl, 2
mov byte [ebp - 4], bl
mov bl, cl
and al, 3
shr bl, 4
shl al, 4
add al, bl
and cl, 0xf
mov bl, dl
shr bl, 6
shl cl, 2
add cl, bl
mov ebx, dword [ebp - 8]
and dl, 0x3f
mov byte [ebp - 1], dl
cmp ebx, dword [ebp + 0x14]
ja 0x47681d
movzx edx, byte [ebp - 4]
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + edi], dl
inc esi
movzx eax, al
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + edi], al
inc ebx
inc esi
movzx eax, cl
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + edi], al
movzx eax, byte [ebp - 1]
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ebx
inc esi
inc ebx
mov byte [esi + edi], al
inc esi
inc ebx
cmp dword [ebp + 0xc], 2
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
ja 0x47672e
cmp dword [ebp + 0xc], 0
je 0x47685a
xor al, al
xor cl, cl
cmp dword [ebp + 0xc], 0
mov byte [ebp + 0xa], 0
mov byte [ebp + 9], al
mov byte [ebp + 8], cl
jbe 0x4767ef
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ebx
push eax
call fcn.004a0ea0
mov al, byte [ebp + 9]
mov cl, byte [ebp + 8]
add esp, 0xc
mov bl, cl
mov dl, al
and cl, 3
shr dl, 4
shl cl, 4
add cl, dl
mov dl, byte [ebp + 0xa]
and al, 0xf
shr dl, 6
shl al, 2
add al, dl
lea edx, [esi + 4]
shr bl, 2
cmp edx, dword [ebp + 0x14]
jbe 0x476822
mov eax, 0xffffffff
jmp 0x476869
or eax, 0xffffffff
jmp 0x476869
movzx edx, bl
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + edi], dl
movzx ecx, cl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc esi
mov byte [esi + edi], cl
inc esi
cmp dword [ebp + 0xc], 1
jne 0x476848
mov byte [esi + edi], 0x3d
jmp 0x476854
movzx eax, al
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + edi], al
inc esi
mov byte [esi + edi], 0x3d
inc esi
cmp esi, dword [ebp + 0x14]
jae 0x476816
mov byte [esi + edi], 0
mov eax, esi
jmp 0x476869
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x476b7a
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4ffeb0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push edi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.sdel
mov ebx, str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push ebx
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov dword [ebp - 0x80], 0x208
mov dword [ebp - 0x7c], 1
call esi
test eax, eax
jne 0x476bd6
mov eax, 0x4fe20c
jmp 0x476c19
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.360safeuninst
push ebx
push edi
call esi
test eax, eax
jne 0x476bf6
mov eax, 0x4fe1dc
jmp 0x476c19
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.Delete360sd
push ebx
push edi
call esi
test eax, eax
mov eax, 0x4fe1e8
je 0x476c19
mov eax, 0x4fe1d0
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a0e91
add ebp, 0x194
leave
ret
Function at 0x4773ec
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
mov esi, ecx
mov ecx, dword [esi + 0xd8]
mov eax, dword [esi + 0xdc]
mov edx, ecx
or edx, eax
je 0x47741e
test eax, eax
jl 0x47741a
jg 0x477415
cmp ecx, 0x40000000
jbe 0x47741a
xor eax, eax
inc eax
jmp 0x477469
xor eax, eax
jmp 0x477469
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004a0bd0
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x477467
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov dword [esi + 0xd8], ecx
mov dword [esi + 0xdc], eax
test eax, eax
ja 0x477463
jb 0x477467
cmp ecx, 0x40000000
jbe 0x477467
mov al, 1
jmp 0x477469
xor al, al
pop esi
leave
ret

Function at 0x4777db
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x479423
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
cmp eax, 0xffffffff
je 0x4794cf
or dword [esi + 0x48], 0xffffffff
push edi
lea ecx, [eax + 1]
push ecx
lea edi, [esi + 0x2c]
push eax
mov ecx, edi
call fcn.00477497
add eax, 4
push eax
mov ecx, esi
call fcn.0047045f
mov eax, dword [esi + 0x44]
cmp eax, 0xffffffff
je 0x4794ce
push eax
mov ecx, edi
call fcn.00477497
add eax, 0x1c
mov edi, dword [eax]
push 7
push 0x4d7558
push edi
call fcn.004a30d2
add esp, 0xc
test eax, eax
jne 0x4794bb
add edi, 0xe
cmp word [edi], 0x30
jne 0x47949e
movzx eax, word [edi + 2]
cmp ax, 0x78
je 0x479497
cmp ax, 0x58
jne 0x47949e
push 0x10
add edi, 4
jmp 0x4794a0
push 0xa
lea eax, [ebp - 4]
push eax
push edi
call fcn.004a52fa
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
add esp, 0xc
push eax
push 0
push esi
call dword [edx + 0x14]
jmp 0x4794ce
push 5
xor eax, eax
push eax
push eax
push edi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
leave
ret

Function at 0x479bca
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4ffeb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x208
mov word [ebp - 0x210], ax
xor edi, edi
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.004a0bd0
add esp, 0xc
push 0x1e
call dword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
push edi
lea eax, [ebp - 0x210]
je 0x479c19
push 0x2a
jmp 0x479c1b
push 0x26
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.360Total_Security
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call fcn.00404030
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004a0e91
leave
ret
Function at 0x47c50b
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4ffeb0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esi + 0x13c], edi
mov eax, dword [0x4d7844]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4d7848]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x140]
cmp dword [eax - 0xc], edi
jge 0x47c54d
push 0x80070057
call fcn.00404d40
mov ax, word [eax]
mov word [ebp - 0xc], ax
push dword [ebp - 0xc]
call fcn.00499338
pop ecx
cmp eax, 1
je 0x47c56c
mov dword [esi + 0x13c], 2
lea ebx, [esi + 0x148]
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x18], eax
cmp dword [esi + 0x13c], edi
jne 0x47c5cb
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + 0x150]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x47c5bf
mov ecx, esi
call fcn.0047a4a4
cmp dword [ebx + 4], edi
ja 0x47c5bf
jb 0x47c5b5
cmp dword [ebx], 0x11e1a300
ja 0x47c5bf
mov dword [esi + 0x13c], 1
cmp dword [esi + 0x13c], edi
je 0x47c65c
cmp dword [ebp + 8], edi
je 0x47c656
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x13c]
cmp eax, 2
jne 0x47c5f0
push str.ERROR_NOUDISK
jmp 0x47c5fa
cmp eax, 1
jne 0x47c637
push str.ERROR_NODISKSPACE
lea eax, [ebp - 0x10]
mov edi, 0x505c38
push eax
mov ecx, edi
call fcn.0047a44d
mov eax, dword [eax]
push 0
push 0
push eax
push 0x4d77f4
mov ecx, edi
call fcn.0047a3f6
push eax
push dword [0x506574]
call fcn.0047c2ba
mov ecx, dword [ebp - 0x10]
add esp, 0x14
add ecx, 0xfffffff0
call fcn.00404d60
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [ebp - 0x1c]
mov dword [ebx], eax
mov eax, dword [ebp - 0x18]
mov ecx, esi
mov dword [ebx + 4], eax
call fcn.0047a4a4
jmp 0x47c65c
mov dword [esi + 0x13c], edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a0e91
leave
ret 4

Function at 0x47cbdb
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
cmp ax, word [ebp + 8]
jne 0x47cbf0
cmp ax, word [ebp + 0xc]
jne 0x47cbf0
mov al, 1
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov ax, cx
shr ax, 0xa
cmp word [ebp + 8], 0
movzx edx, ax
mov al, 1
je 0x47cc1a
and ecx, 0x3ff
cmp cx, word [ebp + 8]
je 0x47cc1a
xor al, al
cmp word [ebp + 0xc], 0
je 0x47cc29
cmp dx, word [ebp + 0xc]
je 0x47cc29
xor al, al
pop ebp
ret
Function at 0x47cea5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x50739c
push esi
mov ecx, ebx
call fcn.0041af40
push esi
lea ecx, [ebp + 8]
call fcn.0041af40
mov esi, 0x105
push esi
lea ecx, [ebp + 8]
call fcn.00404af0
mov edi, eax
test edi, edi
je 0x47cf2d
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x47cf2d
xor eax, eax
push 0xffffffffffffffff
lea ecx, [ebp + 8]
mov word [edi + 0x208], ax
call fcn.00404990
push esi
mov ecx, ebx
call fcn.00404af0
mov esi, eax
test esi, esi
je 0x47cf2d
push esi
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x47cf24
xor eax, eax
mov word [esi + 0x208], ax
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00404990
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00404d60
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
Function at 0x47f88b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x4ffeb0]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push ebx
push 0x118
xor ebx, ebx
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.004a0bd0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 5
jne 0x47f8ec
cmp dword [ebp - 0x78], 2
jne 0x47f8ec
call fcn.00429b30
test al, al
je 0x47f8ec
cmp byte [ebp + 0x9a], 1
jne 0x47f8ec
mov bl, 1
mov ecx, dword [ebp + 0x9c]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004a0e91
add ebp, 0xa0
leave
ret

Function at 0x47f997
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [esp + 4], 0
jne 0x47f9a1
xor al, al
ret
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47f99e
shr eax, 4
and al, 1
ret

Function at 0x47f9b6
Capabilities:
Delete file
Move file

Disassembly:
push 4
push 0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
ret

Function at 0x47fb4b
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
lea ebp, [esp - 0x38c]
sub esp, 0x40c
mov eax, dword [0x4ffeb0]
xor eax, ebp
mov dword [ebp + 0x388], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
xor eax, eax
push edi
push eax
push eax
mov dword [ebp - 0x7c], eax
call esi
mov edi, eax
shl eax, 2
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
push ebx
push edi
call esi
xor edi, edi
mov dword [ebp - 0x80], eax
test eax, eax
jbe 0x47fbcc
mov esi, 0x200
movzx eax, word [ebx + edi*4]
cmp eax, 0x42a
jne 0x47fba9
or dword [ebp - 0x7c], 1
push esi
lea ecx, [ebp - 0x78]
push ecx
push 2
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push esi
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.004a0bd0
add esp, 0xc
inc edi
cmp edi, dword [ebp - 0x80]
jb 0x47fb9a
test ebx, ebx
je 0x47fbd7
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp + 0x388]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a0e91
add ebp, 0x38c
leave
ret

Function at 0x4804cd
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x4804de
push 0xd
pop eax
jmp 0x48050b
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4804e1
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8
Function at 0x4809ff
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x4ffeb0]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
or ecx, 0x2001f
push ecx
push eax
push dword [esi]
xor edi, edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call fcn.0040ede0
mov ebx, eax
cmp ebx, edi
je 0x480a6f
lea ecx, [ebp - 0x70]
call fcn.0040edb0
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a0e91
add ebp, 0x19c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x480a87
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.004809ff
cmp eax, edi
jne 0x480aba
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x480a77
lea ecx, [ebp - 0x70]
call fcn.0040edb0
push dword [ebp - 0x78]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0040edb0
mov eax, esi
jmp 0x480a55
Function at 0x4864e8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x4ffeb0]
xor eax, ebp
mov dword [ebp + 0x394], eax
mov eax, dword [ebp + 0x3a0]
push ebx
mov ebx, dword [ebp + 0x3a8]
push esi
mov esi, dword [ebp + 0x3a4]
push edi
xor edi, edi
push 2
push edi
push eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x70], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x74], eax
cmp eax, edi
jne 0x486543
call fcn.004803f4
mov esi, eax
jmp 0x486609
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x48655c
call fcn.004803f4
jmp 0x4865fe
push esi
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, edi
je 0x486552
push esi
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x4865b8
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x70], eax
je 0x48658f
lea ecx, [ebp - 0x70]
call fcn.004809d5
mov esi, 0x8007000e
lea ecx, [ebp - 0x78]
call fcn.0047fbf2
mov ecx, dword [ebp + 0x394]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a0e91
add ebp, 0x398
leave
ret 0x10
push eax
lea ecx, [ebp - 0x70]
call fcn.004811c3
cmp dword [ebp - 0x70], edi
jne 0x4865cd
mov esi, 0x8007000e
jmp 0x486600
push esi
push dword [ebp - 0x70]
push esi
push ebx
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x486552
mov edx, dword [ebp - 0x70]
push dword [ebp + 0x3ac]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x80]
call fcn.00482568
mov esi, eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x70], eax
je 0x486594
lea ecx, [ebp - 0x70]
call fcn.004809d5
jmp 0x486594
Function at 0x487c70
Capabilities:
Identify system language via api

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetACP]
push 0x10
mov ebx, eax
call fcn.004747a1
pop ecx
mov esi, eax
call fcn.0047fb4b
cmp esi, 0xfb
je 0x487c5f
cmp ebx, 0x4ea
je 0x487c5f
test al, 1
je 0x487c6c
push 0x4e2338
lea ecx, [edi + 0x78]
call fcn.004045f0
pop edi
pop esi
pop ebx
ret
push ebx
push ebp
mov ebp, ecx
lea ebx, [ebp + 0x78]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x487c9c
push 0x4e2370
mov ecx, ebx
call fcn.0040b6b0
test eax, eax
jne 0x487d63
mov ecx, ebp
pop ebp
pop ebx
jmp 0x487c2f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push edi
call esi
mov ecx, 0x3ff
and ax, cx
movzx edi, ax
call esi
shr ax, 0xa
movzx ecx, ax
movzx eax, di
cmp eax, 0x1f
pop edi
pop esi
jg 0x487d1f
je 0x487d18
cmp eax, 4
je 0x487d00
cmp eax, 7
je 0x487cf9
cmp eax, 0xa
je 0x487cf2
cmp eax, 0x11
je 0x487ceb
cmp eax, 0x16
je 0x487ce4
cmp eax, 0x19
jmp 0x487d36
push 0x4e2348
jmp 0x487d5c
push 0x4e2330
jmp 0x487d5c
push 0x4e2350
jmp 0x487d5c
push 0x4e2368
jmp 0x487d5c
push 2
pop eax
cmp ax, cx
mov ecx, ebx
jne 0x487d11
push str.zh_CN
jmp 0x487d5e
push str.zh_TW
jmp 0x487d5e
push 0x4e2358
jmp 0x487d5c
sub eax, 0x2a
je 0x487d57
sub eax, 0xf
je 0x487d50
sub eax, 0xb
je 0x487d49
sub eax, 0x29
je 0x487d49
sub eax, 0x18
je 0x487d49
push 0x4e2370
mov ecx, ebx
call fcn.004045f0
jmp 0x487c93
push 0x4e2360
jmp 0x487d5c
push 0x4e2340
jmp 0x487d5c
push 0x4e2338
mov ecx, ebx
call fcn.004045f0
pop ebp
pop ebx
ret
Function at 0x4881a6
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x1a4]
sub esp, 0x224
mov eax, dword [0x4ffeb0]
xor eax, ebp
mov dword [ebp + 0x1a0], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x6c]
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push eax
call fcn.0042a2b0
pop ecx
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00406480
mov ecx, dword [ebp - 0x6c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00404d60
push 0x104
lea eax, [ebp - 0x68]
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4882b0
push 0x50739c
lea ecx, [ebp - 0x6c]
call fcn.0041af40
lea eax, [ebp - 0x6c]
push eax
push edi
push ecx
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call fcn.00404030
push ecx
lea eax, [ebp - 0x70]
mov ecx, esp
push eax
call fcn.00404d20
mov esi, VariantInit
push esi
lea ecx, [ebp - 0x80]
call fcn.0040f060
push eax
call fcn.0040f4b0
pop ecx
pop ecx
lea ecx, [ebp - 0x80]
mov ebx, eax
call fcn.0040faf0
cmp ebx, edi
je 0x4882a5
push edi
push ecx
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call fcn.00404030
push ecx
lea eax, [ebp - 0x70]
mov ecx, esp
push eax
call fcn.00404d20
push esi
lea ecx, [ebp - 0x80]
call fcn.0040f060
push eax
call fcn.0042cc70
pop ecx
lea ecx, [ebp - 0x80]
mov esi, eax
call fcn.0040faf0
cmp esi, edi
je 0x4882a5
push 5
push edi
push edi
lea eax, [ebp - 0x68]
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x6c]
add ecx, 0xfffffff0
call fcn.00404d60
mov ecx, dword [ebp - 0x70]
add ecx, 0xfffffff0
call fcn.00404d60
mov ecx, dword [ebp + 0x1a0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a0e91
add ebp, 0x1a4
leave
ret

Function at 0x4887a9
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 0x28]
push eax
xor eax, eax
push eax
push esi
push 0x487d66
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x3e8
push dword [esi + 0x2c]
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
inc eax
pop esi
ret
Function at 0x488a10
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4ffeb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, ecx
mov byte [ebp - 0x18], 0x17
mov byte [ebp - 0x17], 2
mov byte [ebp - 0x16], 0x23
mov byte [ebp - 0x15], 0x29
mov byte [ebp - 0x14], 0x28
mov byte [ebp - 0x13], 0x3f
mov byte [ebp - 0x12], 0x3c
mov byte [ebp - 0x11], 0x21
mov byte [ebp - 0x10], 0x15
mov byte [ebp - 0xf], 0x11
mov byte [ebp - 0xe], 5
mov byte [ebp - 0xd], 0xa
mov byte [ebp - 0xc], 0x34
mov byte [ebp - 0xb], 4
mov byte [ebp - 0xa], 0x2d
mov byte [ebp - 9], 0x28
mov byte [ebp - 8], 0xb
mov byte [ebp - 7], 0x35
mov byte [ebp - 6], 0x3e
mov byte [ebp - 5], al
mov dword [ebp - 0x1c], 0x444c5047
mov ecx, eax
and ecx, 3
mov cl, byte [ebp + ecx - 0x1c]
xor byte [ebp + eax - 0x18], cl
inc eax
cmp eax, 0x13
jb 0x488a7f
push 0x429090
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040b620
push eax
add edi, 0x10
push edi
push esi
call fcn.00488550
mov ecx, dword [ebp - 0x1c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00404d60
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004a0e91
leave
ret 4