joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426f1a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x70
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [0xc91044]
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp], ecx
call sub.msvcrt.dll_strlen
add eax, 0xd
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
je 0x426ee9
mov dword [esp], 0
mov esi, eax
vmovdqu xmm0, xmmword [str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVVWXYZ0123456789]
vmovdqu xmm1, xmmword [0xb610f0]
lea edi, [esi + 0xc]
vmovdqu xmm2, xmmword [0xb61100]
vmovdqu xmm3, xmmword [0xb61110]
vmovdqu xmmword [esp + 0x2d], xmm0
vmovdqu xmmword [esp + 0x4d], xmm2
vmovdqu xmmword [esp + 0x3d], xmm1
vmovdqu xmmword [esp + 0x5c], xmm3
call fcn.00427020
mov ebx, eax
call sub.msvcrt.dll_rand
add eax, ebx
mov dword [esp], eax
call sub.msvcrt.dll_srand
mov dword [esp + 0x18], esi
lea esi, [esi]
call sub.msvcrt.dll_rand
mov dword [esp + 4], 0x3e
add esi, 1
mov ebx, eax
mov eax, 0x84210843
imul ebx
mov eax, ebx
sar eax, 0x1f
add edx, ebx
sar edx, 5
sub edx, eax
mov dword [esp], edx
call fcn.00420e30
sub ebx, eax
movzx eax, byte [esp + ebx + 0x2d]
mov byte [esi - 1], al
cmp edi, esi
jne 0x426e80
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov byte [esi + 0xc], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call sub.msvcrt.dll_strcat
mov eax, dword [esp + 0x6c]
sub eax, dword [0xc91044]
jne 0x426f01
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.Failed_to_allocate_memory
call sub.msvcrt.dll_perror
mov dword [esp], 1
call sub.msvcrt.dll_exit
call fcn.0041fe30
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x5c
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov eax, dword [0xc91044]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [esp], str.Extracted:__s__n
mov dword [esp + 4], ebx
call fcn.00426fd0
vpxor xmm0, xmm0, xmm0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x20], 0
vmovdqu xmmword [ebp - 0x50], xmm0
vmovdqu xmmword [ebp - 0x40], xmm0
vmovdqu xmmword [ebp - 0x30], xmm0
vmovq xmm0, qword [0xb610d0]
mov dword [ebp - 0x4c], str.open
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3c], 1
vmovq qword [ebp - 0x58], xmm0
mov dword [esp], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
sub esp, 4
test eax, eax
je 0x426fb0
mov eax, dword [ebp - 0x20]
mov dword [esi], eax
xor eax, eax
mov edx, dword [ebp - 0x1c]
sub edx, dword [0xc91044]
jne 0x426fc3
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
mov dword [esp], str.OOOPS_ERROR_SHELL_EXECUTE_OPEN
call sub.msvcrt.dll_perror
mov eax, 1
jmp 0x426f94
call fcn.0041fe30
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x427050
Capabilities:
Get common file path

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x120]
push ecx
sub esp, 0x148
call fcn.0041ff20
mov eax, dword [0xc91044]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
sub esp, 8
test eax, eax
je 0x427219
mov dword [esp], str..zip
call fcn.00426de0
mov dword [esp], str..exe
mov edi, eax
call fcn.00426de0
mov dword [esp], ebx
mov esi, eax
call sub.msvcrt.dll_strlen
mov dword [ebp - 0x12c], eax
mov dword [esp], edi
call sub.msvcrt.dll_strlen
mov edx, dword [ebp - 0x12c]
lea eax, [edx + eax + 1]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x130], eax
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov edx, dword [ebp - 0x12c]
lea eax, [edx + eax + 1]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x12c], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 4], str._s_s
mov ecx, dword [ebp - 0x130]
mov dword [esp], ecx
call fcn.00421080
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 4], str._s_s
mov eax, dword [ebp - 0x12c]
mov dword [esp], eax
call fcn.00421080
lea eax, [ebp - 0x128]
mov dword [esp + 8], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x426f10
mov dword [esp + 4], 0x17992d
mov dword [esp], 0x4280e0
call fcn.0041f66b
mov dword [esp], 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push eax
lea eax, [ebp - 0x124]
mov dword [esp + 8], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x426f10
mov dword [esp + 4], 0x5beebc
mov dword [esp], 0x5a1a20
call fcn.0041f66b
mov dword [esp], str.after_n
call fcn.00426fd0
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x124]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp], eax
call ebx
push edx
push edx
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x128]
mov dword [esp], eax
call ebx
push ecx
push ecx
mov dword [esp], edi
call sub.msvcrt.dll_free
mov dword [esp], esi
call sub.msvcrt.dll_free
mov ecx, dword [ebp - 0x130]
test ecx, ecx
je 0x4271fe
mov dword [esp], ecx
call sub.msvcrt.dll_free
cmp dword [ebp - 0x12c], 0
je 0x427215
mov eax, dword [ebp - 0x12c]
mov dword [esp], eax
call sub.msvcrt.dll_free
xor eax, eax
jmp 0x42722a
mov dword [esp], str.Failed_to_get_temp_path
call sub.msvcrt.dll_perror
mov eax, 1
mov edx, dword [ebp - 0x1c]
sub edx, dword [0xc91044]
jne 0x427241
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
call fcn.0041fe30
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
ud2
Function at 0x401805
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x26aa
xor edx, edx
mov dword [esp + 0x28], 0x5c
div ecx
mov dword [esp + 0x24], 0x65
mov dword [esp + 0x20], 0x70
mov dword [esp + 0x1c], 0x69
mov dword [esp + 0x18], 0x70
mov dword [esp + 0x14], 0x5c
mov dword [esp + 0x10], 0x2e
mov dword [esp + 0xc], 0x5c
mov dword [esp + 8], 0x5c
mov dword [esp + 4], str._c_c_c_c_c_c_c_c_cMSSE__d_server
mov dword [esp], 0x4053e0
mov dword [esp + 0x2c], edx
call sub.msvcrt.dll_sprintf
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4016e1
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 8], 0
sub esp, 0x18
leave
jmp fcn.004017ac

Function at 0x401d70
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.00401dd0
Function at 0x401dd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x4053a0]
test esi, esi
jle 0x401ec3
mov edi, dword [0x4053a4]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x401e04
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x401ebc
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x401df0
mov dword [esp], eax
mov esi, eax
call fcn.004026c0
test eax, eax
mov edi, eax
je 0x401f00
mov esi, dword [0x4053a4]
lea ebx, [ebx + ebx*4]
shl ebx, 2
add esi, ebx
mov dword [esi + 0x10], eax
mov dword [esi], 0
call fcn.004027d0
add eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x4053a4]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401ee0
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401eb5
sub eax, 4
and eax, 0xfffffffb
je 0x401eb5
add ebx, dword [0x4053a4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x401eca
add dword [0x4053a0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor ebx, ebx
jmp 0x401e0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00401d70
mov eax, dword [0x4053a4]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00401d70
mov dword [esp + 4], esi
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00401d70

Function at 0x402340
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4053b0]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x402395
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40238e
test esi, esi
je 0x40238e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402370
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x101541c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1016b21c], 0x795
mov dword [0x1016b228], 0
mov byte [0x1016b22c], 0
mov dword [0x1016b224], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1015420f
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov dword [0x1016b21c], 0xc9a
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1016b224]
add eax, 1
mov dword [0x1016b224], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1015420f
xor eax, eax
mov dword [0x1016b21c], 0x9b7
mov dword [0x1016b224], 0
mov ecx, dword [0x1016b220]
add ecx, 0x146c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0xf92
mov esi, 0x100
mov dword [0x1016b230], 0
mov dword [0x1016b220], eax
mov eax, dword [0x1016b228]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + ecx]
add ebx, eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x28], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov dword [0x1016b230], ebx
mov eax, ebx
cdq
idiv esi
mov dword [0x1016b228], edx
mov dword [0x1016b21c], 0x1e22
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x1016b22c], bl
mov dword [0x1016b21c], 0x112f
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x1016b22c]
mov ecx, dword [0x1016b228]
mov byte [esi + ecx], bl
mov dword [0x1016b21c], 0xa8a
mov dword [0x1016b220], 0xfffffb26
mov ecx, dword [0x1016b224]
add ecx, 1
mov dword [0x1016b224], ecx
cmp ecx, 0x100
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
jl 0x10154267
jmp 0x10154207
Function at 0x10154cd0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [0x1016b21c], 0xa55
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1016b21c], 0xa74
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10154da3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x18], eax
je 0x10154d57
jmp 0x10154e60
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x21], cl
mov al, byte [ebp - 0x21]
test al, 1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], edx
jne 0x10154da3
jmp 0x10154dbd
xor eax, eax
mov dword [0x1016b21c], 0xfffff436
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x18], eax
je 0x10154e16
jmp 0x10154e60
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
sete dl
mov byte [ebp - 0x29], dl
xor eax, eax
mov cl, byte [ebp - 0x29]
test cl, 1
mov dword [ebp - 0x18], eax
jne 0x10154df2
jmp 0x10154e60
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], edx
jne 0x10154d2c
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [0x1016b21c], 0x21ff
mov edx, dword [0x1016b220]
add edx, 0xfffffbd3
mov dword [0x1016b220], edx
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
je 0x10154d7e
jmp 0x10154e60
xor eax, eax
mov dword [0x1016b21c], 0xfffffc44
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x18], eax
je 0x10154d13
jmp 0x10154e60
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x18], eax
jne 0x10154e60
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0xe], 0x6c
sete dl
mov byte [ebp - 0x2a], dl
xor eax, eax
mov cl, byte [ebp - 0x2a]
test cl, 1
mov dword [ebp - 0x18], eax
jne 0x10154e4c
jmp 0x10154e60
mov dword [0x1016b21c], 0x12d7
mov eax, 1
mov dword [ebp - 0x18], eax
jmp 0x10154e60
mov eax, dword [ebp - 0x18]
add esp, 0x2c
pop ebp
ret
Function at 0x10154e70
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dl, 0x6b
xor esi, esi
lea edi, [ebp - 0x6c]
lea ebx, [ebp - 0x2c]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x8c]
mov byte [ebp - 0x8c], 0x56
mov byte [ebp - 0x8b], 0x69
mov byte [ebp - 0x8a], 0x72
mov byte [ebp - 0x89], 0x74
mov byte [ebp - 0x88], 0x75
mov byte [ebp - 0x87], 0x61
mov byte [ebp - 0x86], 0x6c
mov byte [ebp - 0x85], 0x41
mov byte [ebp - 0x84], 0x6c
mov byte [ebp - 0x83], 0x6c
mov byte [ebp - 0x82], 0x6f
mov byte [ebp - 0x81], 0x63
mov byte [ebp - 0x80], 0
mov byte [ebp - 0x7f], 0xb4
mov byte [ebp - 0x2c], 0x6b
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x32
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x64
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x6c
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0xb4
mov dword [0x1016b220], 0xd93
mov dword [0x1016b21c], 0x642
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x9c], edi
mov byte [ebp - 0x9d], dl
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], esi
jmp 0x101550b5
mov eax, dword [ebp - 0xac]
add esp, 0xc0
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0xb0]
add eax, 0x1c24
mov dword [0x1016b21c], 0x1d80
mov dword [ebp - 0xac], eax
jmp 0x10154f69
mov eax, dword [ebp - 0xb4]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x1016b220], 0x1cc2
mov dword [esp], eax
mov ecx, dword [ebp - 0x90]
mov dword [esp + 4], ecx
mov dword [ebp - 0xb0], eax
call fcn.10153ff0
xor eax, eax
mov ecx, dword [ebp - 0xb0]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x24], ecx
mov ecx, dword [ebp - 0xb0]
mov dword [edx + 0x54], ecx
mov dword [0x1016b21c], 0x1b22
mov dword [0x1016b220], 0x10
cmp ecx, 0
mov dword [ebp - 0xac], eax
je 0x10154f69
jmp 0x10154f7a
lea eax, [ebp - 0x6c]
mov dword [ebp - 0xb8], eax
xor eax, eax
mov dword [0x1016b220], 0x956
mov ecx, dword [ebp - 0xb8]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [ebp - 0xbc], eax
call fcn.10153a60
mov dword [esp], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 4], eax
call fcn.10153e60
xor ecx, ecx
mov edx, dword [0x1016b220]
add edx, 0xffffe8c4
mov dword [0x1016b220], edx
cmp eax, 0
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xac], ecx
je 0x10154f69
jmp 0x10154f97
mov eax, dword [ebp - 0xa8]
mov cl, byte [ebp - 0x9d]
movsx edx, cl
mov si, dx
mov word [ebp + eax*2 - 0x6c], si
mov edx, eax
add edx, 1
mov cl, byte [ebp + eax - 0x2b]
cmp cl, 0
mov byte [ebp - 0x9d], cl
mov dword [ebp - 0xa8], edx
je 0x10155042
jmp 0x101550b5
Function at 0x10155260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1016b224], 0
mov dword [0x1016b228], 0
mov dword [0x1016b234], 0
mov dword [0x1016b21c], 0x1678
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x101553e1
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x101552e1
mov eax, dword [0x1016b224]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x1016b228]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, edx
add edi, 1
add ecx, 1
mov dword [ebp - 0x34], eax
mov eax, ecx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1016b224], edx
mov ecx, dword [0x1016b220]
mov ebx, ecx
add ebx, 0xffffe86c
mov dword [0x1016b21c], ebx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x34]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x40], edx
cdq
idiv esi
mov dword [0x1016b228], edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0xffffe02d
mov dword [0x1016b220], ecx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x40]
mov cl, byte [ecx + esi]
mov byte [0x1016b22c], cl
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x1016b21c], 0x12a7
mov cl, byte [0x1016b22c]
mov edx, dword [0x1016b228]
mov byte [ebx + edx], cl
mov edx, dword [0x1016b224]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1016b228]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x1016b21c], 0x1110
and ecx, 0xff
mov dword [0x1016b234], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x38]
xor cl, byte [edx + esi]
mov dword [0x1016b220], 0x363b
mov dword [0x1016b21c], 0xfffffab4
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], cl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x30], edi
jne 0x101552c5
jmp 0x101553e1
mov dword [0x1016b21c], 0x1361
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10155590
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
lea eax, [esp + 0x38]
lea ecx, [esp + 0x48]
mov dword [0x1016b21c], 0xd9e
mov dword [esp], eax
mov dword [esp + 0x34], ecx
call fcn.10154350
lea ecx, [0x10154c50]
mov edx, 0x1ae7
mov esi, dword [esp + 0x38]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x7c], 0x135400
mov esi, dword [0x1016b208]
mov dword [esp + 0x84], esi
mov esi, dword [0x1016b20c]
mov dword [esp + 0x60], esi
mov esi, dword [0x1016b210]
mov dword [esp + 0x68], esi
mov esi, dword [0x1016b214]
mov dword [esp + 0x8c], esi
mov dword [0x1016b21c], 0x26c3
mov esi, dword [0x1016b218]
mov dword [esp + 0x48], esi
mov dword [0x1016b220], 0x29d7
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
jmp 0x101556b4
lea eax, [esp + 0x48]
mov dword [0x1016b21c], 0x189e
mov ecx, dword [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10154e70
mov dword [0x1016b220], 0x1d69
mov ecx, esp
lea edx, [esp + 0x48]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x24], eax
jmp 0x10155710
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [0x1016b220], eax
mov dword [esp + 0x88], ecx
mov dword [0x1016b21c], 0x1b01
mov eax, dword [ecx + edx + 0x50]
mov dword [esp + 0x64], eax
call fcn.10154cd0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10155633
jmp 0x10155710
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp word [ecx], 0x5a4d
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jne 0x101556eb
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
je 0x10155676
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0xc], eax
mov eax, 0xf45
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
jmp 0x101556b4
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10001000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x2e646d63
push eax
mov dword [ebp - 8], 0x657865
call fcn.1000423b
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
call fcn.10001058
mov esp, ebp
pop ebp
ret

Function at 0x1000461d
Capabilities:
Parse pe header

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