joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4019b5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [0x40b0cc], ebx
push esi
jne 0x406c8b
mov esi, dword [ebp + 0x14]
cmp esi, ebx
jle 0x406ca2
mov eax, dword [ebp + 0xc]
push 6
shr eax, 4
inc eax
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, ebx
je 0x401a32
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, ebx
je 0x401a32
and dword [ebp + 0xc], 0xf
je 0x401a0b
mov ecx, dword [ebp + 0xc]
movzx edx, word [eax]
dec ecx
lea eax, [eax + edx*2 + 2]
jne 0x401a01
movzx ebx, word [eax]
lea ecx, [esi - 1]
cmp ebx, ecx
jge 0x406ca9
lea ecx, [ebx + ebx]
lea esi, [eax + 2]
mov eax, ecx
push edi
mov edi, dword [ebp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, dword [ebp + 0x10]
and word [eax + ebx*2], 0
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 0x10
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_LoadStringW]
jmp 0x401a3c
xor eax, eax
jmp 0x401a3c
mov ebx, ecx
jmp 0x401a19

Function at 0x402317
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x40b9b0]
or eax, dword [0x40b9b4]
jne 0x40244c
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0x104
push eax
push 0x20019
push 0
push 0x4042b4
push 0x80000002
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExA]
test eax, eax
jne 0x40244c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x4042ac
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExA]
test eax, eax
jne 0x402443
cmp dword [ebp - 0x14], 1
jne 0x402443
lea eax, [ebp - 0x118]
push ebx
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 4]
push edi
push eax
call fcn.00402459
mov esi, eax
lea eax, [ebp - 4]
push eax
call fcn.00402483
lea eax, [ebp - 4]
push eax
call fcn.00402459
mov edi, eax
lea eax, [ebp - 4]
push eax
call fcn.00402483
lea eax, [ebp - 4]
push eax
call fcn.00402459
mov ebx, eax
lea eax, [ebp - 4]
push eax
call fcn.00402483
lea eax, [ebp - 4]
push eax
call fcn.00402459
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
call fcn.00402483
movzx eax, si
push 0x10
cdq
pop ecx
call fcn.004024a2
mov esi, eax
push 0x10
movzx eax, di
mov edi, esi
mov esi, edx
pop ecx
cdq
or edi, eax
or esi, edx
mov eax, edi
mov edx, esi
call fcn.004024a2
mov esi, eax
mov edi, edx
movzx eax, bx
cdq
or esi, eax
or edi, edx
push 0x10
mov eax, esi
pop ecx
mov edx, edi
call fcn.004024a2
mov ecx, eax
mov esi, edx
movzx eax, word [ebp - 0x10]
cdq
or ecx, eax
or esi, edx
mov dword [0x40b9b4], esi
pop edi
pop esi
mov dword [0x40b9b0], ecx
pop ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov eax, dword [0x40b9b0]
mov edx, dword [0x40b9b4]
leave
ret
Function at 0x402571
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
push 0x46
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x118]
mov dword [ebp - 0x11c], ebx
push 0x40b988
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov eax, dword [ebp + 8]
push 1
pop esi
mov dword [0x40b0d8], eax
push esi
call fcn.00402613
cmp eax, ebx
mov dword [0x40b0cc], eax
jne 0x407dc2
mov dword [0x40b9a0], ebx
cmp dword [0x40b0cc], ebx
mov dword [ebp - 0x11c], 0x11c
jne 0x407ddc
push 4
call fcn.00402613
test eax, eax
jne 0x407e1d
mov dword [0x40b9a4], ebx
call dword [sym.imp.KERNEL32.DLL_GetACP]
mov dword [0x40b9a8], eax
call fcn.004026eb
push dword [ebp + 0xc]
call fcn.00402ab7
push dword [ebp + 0xc]
call fcn.00402ae1
pop edi
pop esi
pop ebx
leave
ret 8
push 4
call fcn.00402613
test eax, eax
mov dword [0x40b9a0], esi
je 0x4025c1
jmp 0x4025bb
cmp dword [0x40b9a0], ebx
jne 0x4025d7
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x4025d7
cmp dword [ebp - 0x114], esi
jae 0x407e12
cmp dword [ebp - 0x118], 6
jb 0x4025d7
mov dword [0x40bcb0], esi
jmp 0x4025d7
push 0x1000
call dword [sym.imp.USER32.DLL_GetSystemMetrics]
test eax, eax
mov dword [0x40b9a4], esi
jne 0x4025ec
jmp 0x4025e6
Function at 0x101b3337
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1020aaa8]
jne 0x101b3341
repz ret
jmp fcn.101b545b

Function at 0x101b65af
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.101b33b8
and dword [ebp - 4], 0
cmp dword [0x1020c4d8], 0
mov ebx, eax
jne 0x101b6660
push 0x101c077c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101b6711
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x101c0770
push edi
call esi
test eax, eax
je 0x101b6711
push eax
call fcn.101b3346
mov dword [esp], 0x101c0760
push edi
mov dword [0x1020c4d8], eax
call esi
push eax
call fcn.101b3346
mov dword [esp], 0x101c074c
push edi
mov dword [0x1020c4dc], eax
call esi
push eax
call fcn.101b3346
mov dword [esp], 0x101c0730
push edi
mov dword [0x1020c4e0], eax
call esi
push eax
call fcn.101b3346
pop ecx
mov dword [0x1020c4e8], eax
test eax, eax
je 0x101b6660
push 0x101c0718
push edi
call esi
push eax
call fcn.101b3346
pop ecx
mov dword [0x1020c4e4], eax
mov eax, dword [0x1020c4e4]
cmp eax, ebx
je 0x101b66b8
cmp dword [0x1020c4e8], ebx
je 0x101b66b8
push eax
call fcn.101b33c1
push dword [0x1020c4e8]
mov esi, eax
call fcn.101b33c1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101b66b8
test edi, edi
je 0x101b66b8
call esi
test eax, eax
je 0x101b66af
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101b66af
test byte [ebp - 0xc], 1
jne 0x101b66b8
or dword [ebp + 0x10], 0x200000
jmp 0x101b66f1
mov eax, dword [0x1020c4dc]
cmp eax, ebx
je 0x101b66f1
push eax
call fcn.101b33c1
pop ecx
test eax, eax
je 0x101b66f1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101b66f1
mov eax, dword [0x1020c4e0]
cmp eax, ebx
je 0x101b66f1
push eax
call fcn.101b33c1
pop ecx
test eax, eax
je 0x101b66f1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1020c4d8]
call fcn.101b33c1
pop ecx
test eax, eax
je 0x101b6711
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101b6713
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101b85b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
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 [0x1020a52c], 0x512
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101b864c
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x101b86c0
jmp 0x101b86b1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101b8680
jmp 0x101b86b1
mov dword [0x1020a530], 0x2624
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x101b8606
jmp 0x101b86b1
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jge 0x101b8662
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 - 0x20], edx
jne 0x101b8635
mov eax, dword [ebp - 0x20]
mov dword [0x1020a530], 0x11c4
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x101b861a
jmp 0x101b86b1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x101b86b1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x101b86b1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x101b85e6
xor eax, eax
mov dword [0x1020a530], 0x1864
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop ebp
ret

Function at 0x101b89c0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xd4
mov eax, dword [ebp + 8]
mov cl, 0x74
mov edx, 1
lea esi, [ebp - 0x4c]
lea edi, [ebp - 0x6c]
mov ebx, esi
mov dword [0x1020a52c], 0x1938
mov byte [ebp - 0x6c], 0x6e
mov byte [ebp - 0x6b], 0x74
mov byte [ebp - 0x6a], 0x64
mov byte [ebp - 0x69], 0x6c
mov byte [ebp - 0x68], 0x6c
mov byte [ebp - 0x67], 0x2e
mov byte [ebp - 0x66], 0x64
mov byte [ebp - 0x65], 0x6c
mov byte [ebp - 0x64], 0x6c
mov byte [ebp - 0x63], 0
mov byte [ebp - 0x62], 0x86
mov dword [0x1020a530], 0x14f9
mov word [ebp - 0x4c], 0x6e
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], ebx
mov byte [ebp - 0x75], cl
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x84], edx
jmp 0x101b8ae1
Function at 0x101b8d80
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov bl, 0x6b
lea esi, [ebp - 0x8c]
lea edi, [ebp - 0x2c]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x4c]
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 - 0x3f], 0xc9
mov dword [0x1020a52c], 0x1938
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], 0xc9
mov dword [0x1020a530], 0x14f9
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xa4], edi
mov byte [ebp - 0xa5], bl
mov al, byte [ebp - 0xa5]
mov ecx, dword [ebp - 0xa0]
movsx edx, al
mov si, dx
mov edx, ecx
add edx, 1
mov word [ebp + ecx*2 - 0x8c], si
mov al, byte [ebp + ecx - 0x2b]
cmp al, 0
mov dword [ebp - 0xa0], edx
mov byte [ebp - 0xa5], al
je 0x101b8f23
jmp 0x101b8e50
xor eax, eax
add esp, 0xc8
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
lea ecx, [ebp - 0x8c]
mov dword [0x1020a52c], 0x90
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [ebp - 0xbc], eax
call fcn.101b9360
mov dword [esp], eax
mov eax, dword [ebp - 0x94]
mov dword [esp + 4], eax
call fcn.101b7e90
mov ecx, dword [0x1020a52c]
add ecx, 0xfffffb5f
mov dword [0x1020a530], ecx
cmp eax, 0
mov dword [ebp - 0xc0], eax
je 0x101b8e8c
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x90]
cmp ecx, 0
sete dl
mov esi, esp
mov dword [esi + 0xc], 0x40
mov dword [esi + 8], 0x1000
mov dword [esi + 4], 0x6000
mov dword [esi], 0
mov byte [ebp - 0xc1], dl
call eax
sub esp, 0x10
cmp eax, 0
sete dl
mov dh, byte [ebp - 0xc1]
or dh, dl
test dh, 1
mov dword [ebp - 0xac], eax
mov byte [ebp - 0xad], dl
jne 0x101b8e99
mov dword [0x1020a52c], 0x17af
mov dword [0x1020a530], 0x459
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0x124]
add byte [eax], al
Function at 0x101b9100
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1020a538], 0
mov byte [0x1020a53c], 0
mov dword [0x1020a534], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101b9235
mov eax, dword [0x1020a52c]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, pe_nt_image_headers32
mov dword [0x1020a540], 0
mov dword [ebp - 0x2c], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [ebp - 0x2c]
add edi, 0xfffff6b9
mov ebx, dword [0x1020a538]
mov esi, dword [ebp - 0x18]
movzx esi, byte [esi + ecx]
add esi, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add esi, edx
mov dword [0x1020a540], esi
mov dword [0x1020a530], 0x1dfc
mov eax, esi
cdq
mov esi, dword [ebp - 0x30]
idiv esi
mov dword [0x1020a538], edx
mov dword [0x1020a52c], edi
mov edi, dword [ebp - 0x18]
mov bl, byte [edi + ecx]
mov byte [0x1020a53c], bl
mov dword [0x1020a530], 0xe30
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov ecx, dword [0x1020a530]
add ecx, 0xfffffd81
mov dword [0x1020a52c], ecx
mov bl, byte [0x1020a53c]
mov ecx, dword [0x1020a538]
mov byte [edi + ecx], bl
mov ecx, dword [0x1020a534]
add ecx, 1
mov dword [0x1020a534], ecx
cmp ecx, 0x100
mov dword [ebp - 0x20], ecx
jl 0x101b9140
jmp 0x101b9267
xor eax, eax
mov ecx, 0x1fdd
mov dword [0x1020a534], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x101b914e
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1020a52c], 0x1fdd
mov eax, dword [0x1020a534]
add eax, 1
mov dword [0x1020a534], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101b9235
jmp 0x101b9219
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101b9830
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1020a534], 0
mov dword [0x1020a538], 0
mov dword [0x1020a544], 0
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x101b998d
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 0x101b988b
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, pe_nt_image_headers32
mov dword [0x1020a52c], 0x1e8a
mov edi, eax
add edi, 1
add edx, 1
mov dword [ebp - 0x2c], eax
mov eax, edx
cdq
idiv esi
mov dword [0x1020a534], edx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1020a538], edx
mov dword [0x1020a52c], 0x40c5
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x1020a53c], cl
mov dword [0x1020a530], 0x471
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x1020a53c]
mov edx, dword [0x1020a538]
mov byte [ebx + edx], cl
mov edx, dword [0x1020a534]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1020a538]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1020a544], ecx
mov dword [0x1020a52c], 0x1cd9
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov dword [0x1020a530], 0xbad
mov dword [0x1020a52c], 0x1439
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x34], edi
je 0x101b998b
mov eax, dword [0x1020a534]
mov ecx, dword [0x1020a538]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
jmp 0x101b988b
jmp 0x101b998d
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101b99a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x1020a52c], 0x20bf
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.101b80c0
lea ecx, [0x101b9270]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x74], edx
mov dword [esp + 0x68], 0x165800
mov edx, dword [0x1020a518]
mov dword [esp + 0x64], edx
mov edx, dword [0x1020a51c]
mov dword [esp + 0x84], edx
mov edx, dword [0x1020a520]
mov dword [esp + 0x88], edx
mov edx, dword [0x1020a524]
mov dword [esp + 0x7c], edx
mov edx, dword [0x1020a528]
mov dword [esp + 0x90], edx
mov dword [0x1020a52c], 0x212d
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x101b9a37
mov eax, dword [esp + 0x18]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x101b9a5e
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
je 0x101b9a72
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x101b9a37
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
mov dword [0x1020a530], 0x1fcc
mov eax, dword [ecx + eax + 0x50]
mov dword [esp + 0x44], eax
call fcn.101b85b0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
jne 0x101b9a2f
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101b8d80
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x1020a52c], 0x1ed4
mov dword [esp + 0x18], eax
jmp 0x101b9a2f
Function at 0x10005584
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1022f76c]
jne 0x1000558e
repz ret
jmp fcn.10006eff

Function at 0x10007fbf
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.10004266
and dword [ebp - 4], 0
cmp dword [0x10230e88], 0
mov ebx, eax
jne 0x10008070
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10008121
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10008121
push eax
call fcn.100041f4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10230e88], eax
call esi
push eax
call fcn.100041f4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10230e8c], eax
call esi
push eax
call fcn.100041f4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10230e90], eax
call esi
push eax
call fcn.100041f4
pop ecx
mov dword [0x10230e98], eax
test eax, eax
je 0x10008070
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100041f4
pop ecx
mov dword [0x10230e94], eax
mov eax, dword [0x10230e94]
cmp eax, ebx
je 0x100080c8
cmp dword [0x10230e98], ebx
je 0x100080c8
push eax
call fcn.1000426f
push dword [0x10230e98]
mov esi, eax
call fcn.1000426f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100080c8
test edi, edi
je 0x100080c8
call esi
test eax, eax
je 0x100080bf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100080bf
test byte [ebp - 0xc], 1
jne 0x100080c8
or dword [ebp + 0x10], 0x200000
jmp 0x10008101
mov eax, dword [0x10230e8c]
cmp eax, ebx
je 0x10008101
push eax
call fcn.1000426f
pop ecx
test eax, eax
je 0x10008101
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10008101
mov eax, dword [0x10230e90]
cmp eax, ebx
je 0x10008101
push eax
call fcn.1000426f
pop ecx
test eax, eax
je 0x10008101
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10230e88]
call fcn.1000426f
pop ecx
test eax, eax
je 0x10008121
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10008123
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10009200
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1022ea1c], 0
mov byte [0x1022ea20], 0
mov dword [0x1022ea18], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10009334
mov eax, dword [0x1022ea10]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
add eax, 0xfffff6b9
mov dword [0x1022ea24], 0
mov dword [ebp - 0x2c], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x1022ea1c]
mov ebx, dword [ebp - 0x18]
movzx esi, byte [ebx + ecx]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1022ea24], esi
mov dword [0x1022ea14], 0x1dfc
mov eax, esi
cdq
mov esi, dword [ebp - 0x30]
idiv esi
mov dword [0x1022ea1c], edx
mov esi, dword [ebp - 0x2c]
mov dword [0x1022ea10], esi
mov bl, byte [ebx + ecx]
mov byte [0x1022ea20], bl
mov dword [0x1022ea14], 0xe30
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov ecx, dword [0x1022ea14]
add ecx, 0xfffffd81
mov dword [0x1022ea10], ecx
mov bl, byte [0x1022ea20]
mov ecx, dword [0x1022ea1c]
mov byte [esi + ecx], bl
mov ecx, dword [0x1022ea18]
add ecx, 1
mov dword [0x1022ea18], ecx
cmp ecx, 0x100
mov dword [ebp - 0x20], ecx
jl 0x10009240
jmp 0x10009366
xor eax, eax
mov ecx, 0x1fdd
mov dword [0x1022ea18], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x1000924e
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1022ea10], 0x1fdd
mov eax, dword [0x1022ea18]
add eax, 1
mov dword [0x1022ea18], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10009334
jmp 0x10009318
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000a3d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
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 [0x1022ea10], 0x512
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1000a471
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], eax
jl 0x1000a471
mov eax, dword [ebp - 0x18]
mov dword [0x1022ea14], 0x11c4
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x1000a4d2
mov dword [0x1022ea14], 0x2624
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1000a48c
jmp 0x1000a4d2
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1000a4bb
jmp 0x1000a4d2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x1000a41d
jmp 0x1000a406
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1000a4d2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1000a4d2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1000a460
jmp 0x1000a4d2
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x1000a458
xor eax, eax
mov dword [0x1022ea14], 0x1864
mov dword [ebp - 0x20], eax
jmp 0x1000a458