joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b674
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48b81f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x48b800
mov dl, 1
mov eax, dword [0x418ec0]
call fcn.00404204
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405064
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x48b7ef
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00480f90
test al, al
je 0x48b7e2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x48b830
lea eax, [ebp - 0x254]
call fcn.0040ada4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48b7e2
xor eax, eax
push ebp
push 0x48b7db
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x48b868
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x48b7c4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004052d4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x48b7c4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004052d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b7e2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x48b6e5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041cd18
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b826
lea eax, [ebp - 0x260]
call fcn.00405064
ret

Function at 0x48c198
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x58f760]
cmp byte [eax + 0xad], 0
jne 0x48c209
cmp dword [0x58f778], 0
jne 0x48c1ca
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x48c154
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x58f778], eax
cmp dword [0x58f774], 0
jne 0x48c1e5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x58f774], eax
cmp dword [0x58f77c], 0
jne 0x48c209
push esp
push 0
push 0
push 0x48c0f8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x58f77c], eax
pop edx
ret
Function at 0x48c3dc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x48c3f3
add esp, 0xfffffff0
call fcn.00404540
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421040
mov eax, dword [0x5892f8]
cmp word [eax + 2], 0
jne 0x48c41b
mov eax, dword [0x5892f8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0048dd08
mov eax, dword [0x5893a8]
cmp word [eax + 2], 0
jne 0x48c435
mov eax, dword [0x5893a8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0048df14
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418a9c]
call fcn.00404204
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418a9c]
call fcn.00404204
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x418a9c]
call fcn.00404204
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x45ced8]
call fcn.00462d20
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x48c5ec
mov eax, dword [0x589204]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004630f4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x48e5d4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x589204]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ed60
test eax, eax
je 0x48c53c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a734
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ed94
test eax, eax
je 0x48c550
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004052d4
mov byte [ebx + 0xd4], 0
push ebx
push 0x48d9ec
call fcn.004221bc
mov dword [ebx + 0xc8], eax
mov eax, dword [0x5890e0]
cmp byte [eax], 0
jne 0x48c5a1
mov eax, ebx
call fcn.0048c730
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0048e7b0
mov eax, ebx
call fcn.0048f310
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48c5e1
call fcn.00404598
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48c9b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x58f760]
cmp dword [eax + 0x30], 0
je 0x48ca5a
cmp dword [ebx + 0x94], 0
jne 0x48ca54
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x48c940
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x48ca54
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x48ca1a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x48ca54
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041ae48
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x48ca29
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x48d774
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x48d7a9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405154
jmp 0x48d7b6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004050b8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x48e994
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x48ea02
mov eax, esi
call fcn.0047be4c
test al, al
je 0x48ea02
mov eax, dword [ebx + 0x84]
call fcn.0047bb50
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48ea02
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x48e9f6
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047bb50
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00474060
jmp 0x48ea02
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0048e7d0
pop esi
pop ebx
ret
Function at 0x492b10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x492b18
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov byte [ebp - 5], al
mov eax, dword [ebp - 4]
call fcn.00405518
xor eax, eax
push ebp
push 0x492c80
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
call sub.kernel32.dll_GetLogicalDrives
mov edi, eax
mov esi, 1
mov bl, 0x41
push 0x19
call sub.kernel32.dll_Sleep_1
test edi, esi
je 0x492c33
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x10], 2
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x492c9c
call fcn.0040ae24
mov eax, dword [ebp - 0xc]
call fcn.00405528
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp byte [ebp - 5], 1
jne 0x492bfe
lea eax, [ebp - 0x2c]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
call fcn.0040371c
mov edx, 0x492ca4
lea eax, [ebp - 0x30]
mov cl, 2
call fcn.004036ec
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x28]
call fcn.004052c8
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00425808
lea eax, [ebp - 0x24]
call fcn.00492a6c
lea edx, [ebp - 0x34]
mov eax, dword [0x58f7dc]
call fcn.00409468
mov eax, dword [ebp - 0x34]
push eax
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00409468
mov edx, dword [ebp - 0x38]
pop eax
call fcn.00405474
jne 0x492c33
mov byte [ebp - 6], 1
jmp 0x492c33
lea ecx, [ebp - 0x40]
mov dl, 1
mov eax, ebx
call fcn.00492950
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.00409468
mov eax, dword [ebp - 0x3c]
push eax
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.00409468
mov edx, dword [ebp - 0x44]
pop eax
call fcn.00405474
jne 0x492c33
mov byte [ebp - 6], 1
add esi, esi
inc ebx
cmp bl, 0x5b
jne 0x492b51
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492c87
lea eax, [ebp - 0x44]
mov edx, 5
call fcn.00405088
lea eax, [ebp - 0x28]
call fcn.00405064
lea eax, [ebp - 0x24]
mov edx, dword [0x424ea4]
call fcn.00405e64
lea eax, [ebp - 0xc]
call fcn.00405064
lea eax, [ebp - 4]
call fcn.00405064
ret
Function at 0x10005966
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.10005966]
mov dword [0x102f7158], 0x1060
mov ecx, dword [0x102f7154]
mov edx, ecx
add edx, 0x1bd4
add ecx, 0xc29
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
cmp word [ecx], 0x5a4d
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
jne 0x100059cb
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x100059cb
mov eax, dword [ebp - 0x10]
mov dword [0x102f7158], eax
mov eax, dword [ebp - 0x14]
add esp, 0x14
pop ebp
ret
mov eax, dword [ebp - 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jmp 0x10005999

Function at 0x100059f8
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 [0x102f7154], 0x13a8
mov dword [0x102f7160], 0
mov byte [0x102f7164], 0
mov edi, dword [0x102f7158]
add edi, 0xffffea5b
mov dword [0x102f7158], edi
mov dword [0x102f715c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10005a6c
xor eax, eax
mov dword [0x102f7154], 0x119a
mov dword [0x102f715c], 0
mov dword [ebp - 0x20], eax
jmp 0x10005aa3
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102f7158]
add eax, 0xfffff29d
mov dword [0x102f7154], eax
mov eax, dword [0x102f715c]
add eax, 1
mov dword [0x102f715c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10005a6c
jmp 0x10005a51
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x102f7168], 0
mov dword [0x102f7154], 0x21a0
mov edi, dword [0x102f7160]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x102f7168], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x102f7160], edx
mov dword [0x102f7158], 0xd15
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x102f7164], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x102f7154], 0x18ab
mov cl, byte [0x102f7164]
mov esi, dword [0x102f7160]
mov byte [ebx + esi], cl
mov esi, dword [0x102f715c]
add esi, 1
mov dword [0x102f715c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10005aa3
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10005be5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x102cfb6e]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x102f7158], 0x780
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.10005b56
mov eax, dword [0x102f7154]
add eax, 0x23bd
mov dword [0x102f7154], eax
call fcn.10006505
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.100056b2
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x10005c7c
jmp 0x10005c86
mov eax, dword [ebp - 0x44]
add eax, 0x19a8
mov ecx, dword [0x102f7158]
add ecx, 0xffffec01
mov dword [0x102f7158], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x3c]
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 [0x102f7154], 0x1a85
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1000585c
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x102f7158], 0xffffea19
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x4c], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x14], ecx
mov dword [0x102f7154], 0x24ae
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x10005c7c
jmp 0x10005c5f
Function at 0x10005dbd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x102f7154], 0xacb
mov dword [ebp - 0x10], eax
call fcn.100068b5
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10005e03
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x102f7158], 0x6ce
mov esi, dword [edx + eax + 0x24]
mov dword [0x102f7154], 0xfffffca0
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x10005f2f
jmp 0x10005e9e
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [0x102f7154], 0xacb
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x10005ed9
jmp 0x10005eb0
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
jmp 0x10005e4f
mov al, byte [ebp - 0x51]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x50]
add edx, 1
mov ah, byte [ebp - 0x52]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x4c], edx
jne 0x10005e73
mov al, byte [ebp - 0x52]
test al, 1
jne 0x10005f0c
jmp 0x10005ee2
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov edx, dword [ebp - 0x40]
add edx, 2
mov esi, dword [ebp - 0x30]
cmp ecx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], eax
jb 0x10005e4f
jmp 0x10005f2f
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x102f7154], 0x1919
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10006629
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x102f7158], 0x1a0e
mov dword [ebp - 4], 0
mov dword [0x102f7154], 0x7d0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x102f7154]
add edx, 0xfffffa13
mov dword [0x102f7154], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x102f7158], 0x19a
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x100066bc
mov eax, 0xffffee12
mov dword [0x102f7154], 0x43b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x18], eax
je 0x1000678e
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [0x102f7158], eax
mov dword [ebp - 0x1c], ecx
jmp 0x100067bb
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x100066e9
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
jl 0x100066bc
mov eax, dword [ebp - 0x24]
mov ecx, 0xffffec88
mov dword [0x102f7154], 0x2b1
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jne 0x100066aa
mov eax, 0xffffec88
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
jne 0x100066aa
mov eax, 0x1137
mov dword [0x102f7154], 0x2760
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x18], eax
jne 0x100066aa
mov eax, 0x1137
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x18], eax
jne 0x100066aa
mov eax, 0xfffff83a
mov dword [0x102f7154], 0xe63
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x18], eax
je 0x10006685
jmp 0x100066aa
mov eax, 0xffffee12
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
jne 0x100066aa
mov eax, 1
mov dword [0x102f7154], 0x26a1
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x24
pop ebp
ret
Function at 0x10006a2b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, 0x1541
mov dword [0x102f715c], 0
mov dword [0x102f7160], 0
mov dword [0x102f716c], 0
mov dword [0x102f7154], 0x1541
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10006bc4
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add esi, 1
add ecx, 0xffffe50f
mov ebx, eax
add ebx, 1
mov dword [0x102f7154], ecx
mov dword [ebp - 0x30], eax
mov eax, esi
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x102f715c], edx
mov dword [0x102f7158], 0x1c5a
mov ecx, dword [ebp - 0x24]
movzx esi, byte [ecx + edx]
mov ecx, dword [ebp - 0x34]
add esi, ecx
mov eax, esi
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x102f7160], edx
mov dword [0x102f7154], 0xe53
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x102f7164], cl
mov dword [0x102f7158], 0x1303
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x102f7164]
mov edx, dword [0x102f7160]
mov byte [edi + edx], cl
mov edx, dword [0x102f7154]
mov ecx, edx
add ecx, 0x1414
mov dword [0x102f7154], ecx
mov ecx, dword [0x102f715c]
movzx ecx, byte [edi + ecx]
mov esi, dword [0x102f7160]
movzx esi, byte [edi + esi]
add esi, ecx
mov ecx, edx
add ecx, 0xfffff366
mov dword [0x102f7154], ecx
and esi, 0xff
mov dword [0x102f716c], esi
mov cl, byte [edi + esi]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x30]
mov ch, byte [esi + edi]
add edx, 0xffffe34d
mov dword [0x102f7154], edx
xor ch, cl
mov edx, dword [ebp - 0x20]
mov byte [edx + edi], ch
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x3c], ebx
je 0x10006bc4
mov eax, dword [0x102f7160]
mov ecx, dword [0x102f715c]
mov edx, dword [0x102f7154]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
jmp 0x10006a96
mov dword [0x102f7158], 0xaeb
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401000
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
xor edx, edi
or ecx, edi
and edx, ecx
add edi, esi
add ecx, 0x7d94a630
sub edi, 0x7d94f6dc
add ecx, edx
xchg esi, edi
call sub.kernel32.dll_GetCurrentThreadId
xchg edi, ecx
and edx, edi
sub edi, 0x7d96a50d
shr edx, 0xf
bswap esi
xor edi, ecx
add esi, ecx
cmp eax, 0xfffffeef
jne 0x401091
call sub.user32.dll_CheckMenuRadioItem
call sub.ole32.dll_OleLockRunning
call sub.ntdll.dll_KiFastSystemCall
call sub.ntdll.dll_KiFastSystemCall
call sub.ntdll.dll_KiFastSystemCall
call sub.user32.dll_CheckMenuRadioItem
call sub.user32.dll_CheckMenuRadioItem
call sub.user32.dll_CheckMenuRadioItem
call sub.user32.dll_CheckMenuRadioItem
call sub.user32.dll_CheckMenuRadioItem
call sub.user32.dll_CheckMenuRadioItem
call sub.user32.dll_CheckMenuRadioItem
call sub.ntdll.dll_KiFastSystemCall
call sub.user32.dll_CheckMenuRadioItem
call sub.user32.dll_CheckMenuRadioItem
call sub.ole32.dll_OleLockRunning
call sub.ole32.dll_OleLockRunning
ret
mov edx, ecx
or edi, ecx
invalid
ret 0x971
Function at 0x402240
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Terminate process

Disassembly:
push esi
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov esi, eax
test esi, esi
jns 0x40227a
push str.Open_sockfd_TCP__error_
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00401bf0
add esp, 8
mov ecx, eax
push 0x401dd0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 0x10
push dword [esp + 0xc]
push esi
call sub.WS2_32.dll_connect
test eax, eax
jns 0x402291
push str.Connect_sockfd_TCP__error_
jmp 0x402257
mov eax, esi
pop esi
ret
Function at 0x4034be
Capabilities:
Parse pe header

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