joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51e3e0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
mov dl, byte [ebp + 8]
push esi
xor eax, eax
push edi
test dl, dl
sete al
push 4
lea edx, [esp + 0x10]
push edx
push 1
push 0xffff
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x40]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x51e45e
xor eax, eax
jmp 0x51e420
mov cl, byte [eax + str.Unable_to_set_NODELAY]
mov byte [esp + eax + 0x10], cl
inc eax
test cl, cl
jne 0x51e420
mov ecx, 0x21
lea esi, [esp + 0x10]
lea edi, [esp + 0x94]
mov dword [esp + 0x90], 0
rep movsd dword es:[edi], dword [esi]
push 0x63374c
lea ecx, [esp + 0x98]
push ecx
call fcn.0057a113
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x51e470
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
mov dl, byte [ebp + 8]
push esi
xor eax, eax
push edi
test dl, dl
setne al
push 4
lea edx, [esp + 0x10]
push edx
push 4
push 0xffff
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x40]
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x51e4ee
xor eax, eax
jmp 0x51e4b0
mov cl, byte [eax + str.Unable_to_set_REUSE]
mov byte [esp + eax + 0x10], cl
inc eax
test cl, cl
jne 0x51e4b0
mov ecx, 0x21
lea esi, [esp + 0x10]
lea edi, [esp + 0x94]
mov dword [esp + 0x90], 0
rep movsd dword es:[edi], dword [esi]
push 0x63374c
lea ecx, [esp + 0x98]
push ecx
call fcn.0057a113
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x51e500
Capabilities:
Resolve dns

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x51e536
push esi
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 4], eax
je 0x51e534
push 2
push 4
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
test eax, eax
jne 0x51e536
xor eax, eax
pop esi
pop ecx
ret
Function at 0x51e540
Capabilities:
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x108
push esi
push edi
push 6
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 0x40], eax
jne 0x51e5ae
xor eax, eax
jmp 0x51e570
mov cl, byte [eax + str.Can_t_open_socket]
mov byte [esp + eax + 8], cl
inc eax
test cl, cl
jne 0x51e570
push 0x63374c
lea eax, [esp + 0x90]
mov ecx, 0x21
lea esi, [esp + 0xc]
lea edi, [esp + 0x90]
mov dword [esp + 0x8c], 0
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0057a113
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x50]
push 0
mov ecx, esi
call fcn.0051e3e0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
lea edi, [esi + 0x28]
mov ecx, edi
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
lea eax, [esi + 0x44]
xor ecx, ecx
mov edx, eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov word [eax], 2
xor eax, eax
mov ax, word [esi + 0x2c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [edi]
push ecx
mov word [esi + 0x46], ax
call dword [sym.imp.WS2_32.dll_htonl]
pop edi
mov dword [esi + 0x48], eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x51e620
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34c
mov eax, dword [0x64aa84]
push ebx
push esi
push edi
mov dword [esp + 0x354], eax
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x51e77a
mov cl, byte [ebp + 0xc]
xor ebx, ebx
xor eax, eax
cmp cl, bl
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x120], ebx
mov edi, 1
je 0x51e696
mov ecx, dword [esi + 0x38]
mov eax, 0x10624dd3
imul ecx
mov ecx, dword [esi + 0x40]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x124], ecx
mov dword [esp + 0x120], edi
cmp byte [ebp + 8], bl
mov dword [esp + 0x228], ebx
je 0x51e6cb
mov ecx, dword [esi + 0x34]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0x22c], edx
mov dword [esp + 0x228], edi
neg eax
sbb eax, eax
lea ecx, [esp + 0x10]
and eax, ecx
push eax
push ebx
lea edx, [esp + 0x128]
push edx
lea eax, [esp + 0x234]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_select]
cmp eax, ebx
jne 0x51e72e
xor eax, eax
mov cl, byte [eax + str.Timeout]
mov byte [esp + eax + 0x18], cl
inc eax
cmp cl, bl
jne 0x51e6f4
mov ecx, 0x21
lea esi, [esp + 0x18]
lea edi, [esp + 0x9c]
mov dword [esp + 0x98], ebx
rep movsd dword es:[edi], dword [esi]
push 0x63375c
lea ecx, [esp + 0xa0]
push ecx
call fcn.0057a113
cmp eax, 0xffffffff
jne 0x51e7cf
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + str.select_failed.]
mov byte [esp + eax + 0x18], cl
inc eax
cmp cl, bl
jne 0x51e740
push 0x63374c
lea edx, [esp + 0xa0]
mov ecx, 0x21
lea esi, [esp + 0x1c]
lea edi, [esp + 0xa0]
mov dword [esp + 0x9c], ebx
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0057a113
push eax
lea eax, [esp + 0x338]
push 0x604dfc
push eax
call fcn.0057a44a
add esp, 0xc
xor ebx, ebx
xor eax, eax
mov cl, byte [esp + eax + 0x334]
mov byte [esp + eax + 0x18], cl
inc eax
cmp cl, bl
jne 0x51e794
mov ecx, 0x21
lea esi, [esp + 0x18]
lea edi, [esp + 0x9c]
mov dword [esp + 0x98], ebx
rep movsd dword es:[edi], dword [esi]
push 0x63374c
lea ecx, [esp + 0xa0]
push ecx
call fcn.0057a113
mov ecx, dword [esp + 0x354]
call fcn.0057981f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x51e7f0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34c
mov eax, dword [0x64aa84]
push ebx
push esi
push edi
mov dword [esp + 0x354], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor ebx, ebx
cmp eax, ebx
je 0x51e998
cmp eax, 0x2733
jne 0x51e94f
mov cl, byte [ebp + 0x10]
mov esi, dword [ebp + 8]
xor eax, eax
cmp cl, bl
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x120], ebx
mov edi, 1
je 0x51e86c
mov ecx, dword [ebp + 0x18]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x124], esi
mov dword [esp + 0x120], edi
cmp byte [ebp + 0xc], bl
mov dword [esp + 0x228], ebx
je 0x51e89e
mov ecx, dword [ebp + 0x14]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x22c], esi
mov dword [esp + 0x228], edi
neg eax
sbb eax, eax
lea ecx, [esp + 0x10]
and eax, ecx
push eax
push ebx
lea edx, [esp + 0x128]
push edx
lea eax, [esp + 0x234]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_select]
cmp eax, ebx
jne 0x51e90a
xor eax, eax
jmp 0x51e8d0
mov cl, byte [eax + str.Timeout]
mov byte [esp + eax + 0x18], cl
inc eax
cmp cl, bl
jne 0x51e8d0
mov ecx, 0x21
lea esi, [esp + 0x18]
lea edi, [esp + 0x9c]
mov dword [esp + 0x98], ebx
rep movsd dword es:[edi], dword [esi]
push 0x63375c
lea ecx, [esp + 0xa0]
push ecx
call fcn.0057a113
cmp eax, 0xffffffff
jne 0x51e998
xor eax, eax
mov cl, byte [eax + str.select_failed.]
mov byte [esp + eax + 0x18], cl
inc eax
cmp cl, bl
jne 0x51e915
push 0x63374c
lea edx, [esp + 0xa0]
mov ecx, 0x21
lea esi, [esp + 0x1c]
lea edi, [esp + 0xa0]
mov dword [esp + 0x9c], ebx
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0057a113
push eax
lea eax, [esp + 0x338]
push str.nErrorCode___d_n
push eax
call fcn.0057a44a
add esp, 0xc
lea ecx, [esp + 0x334]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004eddb0
push 0x63374c
lea edx, [esp + 0xa0]
mov esi, eax
mov ecx, 0x21
lea edi, [esp + 0xa0]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0057a113
mov ecx, dword [esp + 0x354]
call fcn.0057981f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x51ea30
Capabilities:
Connect socket

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x40]
push 0x10
lea eax, [esi + 0x44]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x51ea53
push 1
push 0
mov ecx, esi
call fcn.0051e620
pop esi
ret
Function at 0x51ea60
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
push ebx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
mov ebx, ecx
mov dword [esp + 0xc], 0
je 0x51eab9
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x40]
push 0
push esi
push edi
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x51eaa3
push 0
push 1
mov ecx, ebx
call fcn.0051e620
jmp 0x51eab5
test eax, eax
je 0x51eac6
mov ecx, dword [esp + 0xc]
add ecx, eax
sub esi, eax
mov dword [esp + 0xc], ecx
add edi, eax
test esi, esi
jne 0x51ea83
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor eax, eax
jmp 0x51ead0
mov cl, byte [eax + str.Closed_on_read]
mov byte [esp + eax + 0x10], cl
inc eax
test cl, cl
jne 0x51ead0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x90], ecx
push 0x6223ec
lea edx, [esp + 0x98]
mov ecx, 0x21
lea esi, [esp + 0x14]
lea edi, [esp + 0x98]
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.0057a113
int3

Function at 0x51ef20
Capabilities:
Get hostname

Disassembly:
sub esp, 0x108
mov eax, dword [0x64aa84]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
test eax, eax
jne 0x51ef55
push 0x100
lea eax, [esp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x51efb0
lea eax, [esp + 4]
push eax
call fcn.0051e500
add esp, 4
test eax, eax
je 0x51efb0
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
test eax, eax
je 0x51efb0
push 4
push eax
lea edx, [esp + 8]
push edx
call fcn.00579dc0
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov ch, al
movzx edx, ah
mov ax, word [esp + 0xe]
add esp, 0xc
or ecx, edx
movzx edx, al
shl ecx, 8
or ecx, edx
movzx eax, ah
shl ecx, 8
or eax, ecx
mov ecx, dword [esp + 0x104]
call fcn.0057981f
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor eax, eax
call fcn.0057981f
add esp, 0x108
ret
Function at 0x51ffe0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5db04e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0xc], esi
call fcn.0051ff30
mov dword [esp + 0x10], 0
push 0xa
lea ecx, [esi + 0x14]
mov dword [esi], 0x604f98
call fcn.005a9fc7
mov byte [esp + 0x10], 1
push 0xa
lea ecx, [esi + 0x30]
call fcn.005aae9d
mov byte [esp + 0x10], 2
mov dword [esi + 4], 1
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x520cd0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push edi
mov edi, dword [esp + 0xc]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x400000
mov dword [esp + 4], eax
jbe 0x520cef
xor eax, eax
pop edi
pop ecx
ret
push esi
push eax
call fcn.005abeeb
mov ecx, dword [esp + 0xc]
add esp, 4
push 0
mov esi, eax
lea eax, [esp + 0xc]
push eax
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
push edx
push eax
push esi
call fcn.00520af0
push esi
mov edi, eax
call fcn.005abee6
add esp, 0x10
pop esi
mov eax, edi
pop edi
pop ecx
ret

Function at 0x5214b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5db2d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
call fcn.00539320
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.00539320
mov ebx, dword [esp + 0x28]
xor eax, eax
push ebx
mov ecx, esi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
call fcn.00539260
push edi
call fcn.005288e0
mov ecx, eax
call fcn.0052f530
push ebx
mov ecx, edi
call fcn.005390a0
mov eax, dword [esp + 0x2c]
mov cx, word [esp + 0x30]
mov dx, word [esp + 0x34]
mov dword [esi + 0x20], eax
mov al, byte [esp + 0x38]
mov word [esi + 0x26], cx
mov ecx, dword [esp + 0x3c]
mov word [esi + 0x24], dx
mov edx, dword [esp + 0x40]
mov byte [esi + 0x39], al
mov al, byte [esp + 0x44]
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], edx
mov ecx, esi
mov byte [esi + 0x3c], al
call fcn.005211f0
push 1
push 0x67175c
lea ecx, [esp + 0x14]
call fcn.005789d4
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0057897a
mov eax, dword [0x671754]
mov ecx, dword [esp + 0x18]
inc eax
pop edi
mov dword [0x671754], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x20

Function at 0x521590
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5db2d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
call fcn.00539320
lea edi, [esi + 0x10]
mov ecx, edi
call fcn.00539320
mov ebx, dword [esp + 0x28]
xor eax, eax
push ebx
mov ecx, esi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
call fcn.00539260
mov eax, dword [esp + 0x38]
push eax
mov ecx, edi
call fcn.00538f20
push ebx
mov ecx, edi
call fcn.005390a0
mov ecx, dword [esp + 0x2c]
mov dx, word [esp + 0x30]
mov ax, word [esp + 0x34]
mov dword [esi + 0x20], ecx
mov cl, byte [esp + 0x3c]
mov word [esi + 0x26], dx
mov edx, dword [esp + 0x40]
mov word [esi + 0x24], ax
mov eax, dword [esp + 0x44]
mov byte [esi + 0x39], cl
mov cl, byte [esp + 0x48]
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], eax
mov byte [esi + 0x3c], cl
mov ecx, esi
call fcn.005211f0
push 1
push 0x67175c
lea ecx, [esp + 0x14]
call fcn.005789d4
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0057897a
mov eax, dword [0x671754]
mov ecx, dword [esp + 0x18]
inc eax
pop edi
mov dword [0x671754], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x24
Function at 0x521b50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
push 0x6050b8
push 0x588
push ebp
xor bl, bl
call dword [0x652ba8]
mov edi, eax
test edi, edi
je 0x521bc7
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x521bc7
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x521bc0
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0x20000
jne 0x521bc0
mov ecx, 0x8000
mov edi, 0x671768
rep movsd dword es:[edi], dword [esi]
cmp word [0x6717ea], 0x61
jne 0x521bc0
cmp word [0x67181c], 0x7a
jne 0x521bc0
pop esi
pop edi
pop ebp
mov al, 1
pop ebx
ret
pop esi
pop edi
pop ebp
mov al, bl
pop ebx
ret
pop edi
pop ebp
mov al, bl
pop ebx
ret

Function at 0x522390
Capabilities:
Terminate process

Disassembly:
cmp word [0x6717ea], 0x61
je 0x5223af
push 0
push 0
push 0x605190
call fcn.005b8043
push 1
call fcn.0057dc83
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi]
mov edx, dword [eax - 4]
mov ecx, 1
sub ecx, edx
mov edx, dword [eax - 8]
push edi
mov edi, dword [eax - 0xc]
sub edx, edi
or ecx, edx
jge 0x5223d5
push edi
mov ecx, esi
call fcn.00402690
mov eax, dword [esi]
movzx ecx, word [eax]
mov cx, word [ecx*2 + 0x671768]
test cx, cx
mov word [eax], cx
je 0x522407
lea ebx, [ebx]
movzx edx, word [eax + 2]
mov cx, word [edx*2 + 0x671768]
add eax, 2
test cx, cx
mov word [eax], cx
jne 0x5223f0
cmp edi, 0xffffffff
mov eax, edi
jne 0x52241d
mov eax, dword [esi]
test eax, eax
je 0x522421
push eax
call fcn.0057a0fd
add esp, 4
test eax, eax
jl 0x522436
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x522436
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
pop edi
mov word [ecx + eax*2], 0
pop esi
ret
push 0x80070057
call fcn.00401180
int3

Function at 0x524210
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5db6e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x10]
mov dword [esp + 0xc], esi
mov dword [esi], 0x6053b4
call fcn.00539320
lea ecx, [esi + 0x20]
call fcn.00539320
push 0xa
lea ecx, [esi + 0x40]
call fcn.00523950
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea edi, [esi + 0x5c]
mov ecx, edi
call fcn.00523b90
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov byte [esp + 0x18], 1
mov dword [esi + 8], ebx
mov word [esi + 0xc], bx
mov word [esi + 0xe], bx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], bl
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x5256a0
Capabilities:
Resume thread

Disassembly:
push esi
push 0
push 4
push 0
push 0xffffffffffffffff
mov esi, ecx
push 0x605484
mov byte [esi + 0x8d], 0
call fcn.005b171e
mov dword [eax + 0x40], esi
mov eax, dword [eax + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
ret
Function at 0x52e450
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dc5b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
mov eax, dword [0x64aa84]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x150], 0x20
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [ebp - 0x148]
mov dword [0x6917d4], ecx
mov edx, dword [ebp - 0x138]
mov dword [0x6917d8], edx
mov dword [ebp - 0x128], 0x114
lea eax, [ebp - 0x128]
push eax
call dword [0x652c10]
xor eax, eax
mov ecx, 2
cmp dword [ebp - 0x118], ecx
sete al
xor edi, edi
cmp eax, edi
mov eax, dword [ebp - 0x124]
jne 0x52e4f5
cmp eax, 5
jae 0x52e4f8
mov dword [0x6917d0], 1
mov dword [0x6917e0], edi
jmp 0x52e552
cmp eax, 5
jne 0x52e543
mov eax, dword [ebp - 0x120]
cmp eax, 1
jne 0x52e531
mov dword [0x6917d0], 3
push 0xf
push str.Service_Pack_2
lea ecx, [ebp - 0x114]
push ecx
call fcn.0057ab90
add esp, 0xc
neg eax
sbb eax, eax
inc eax
mov dword [0x6917e0], eax
jmp 0x52e552
cmp eax, edi
jne 0x52e552
mov dword [0x6917d0], ecx
mov dword [0x6917e0], edi
jmp 0x52e552
cmp eax, 6
jb 0x52e552
mov dword [0x6917d0], 4
mov dword [ebp - 0x12c], edi
mov dword [ebp - 4], edi
push str.detectSystem.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov dword [ebp - 0x12c], esi
cmp esi, edi
je 0x52e59c
mov dword [ebp - 0x130], edi
push str.cpunormspeed
push esi
call dword [0x652bf0]
mov dword [ebp - 0x130], eax
cmp eax, edi
je 0x52e595
call eax
mov dword [0x6917dc], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
mov dword [0x6917cc], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0057981f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x52f7c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5dc708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov ecx, dword [0x6613bc]
mov edx, dword [ecx + 0x668]
mov eax, dword [0x64aa84]
mov ecx, dword [esp + 0x30]
push esi
xor esi, esi
or edx, esi
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 8], edx
or eax, ecx
push 8
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], eax
call fcn.0048be80
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
xor eax, esi
xor eax, edx
xor eax, ecx
xor edx, edx
mov ecx, 0xfffffffe
div ecx
mov esi, edx
inc esi
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x52f85e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
call fcn.0057981f
add esp, 0x2c
ret
Function at 0x5343d0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5dcc57
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x44]
mov dword [esp + 0xc], esi
call fcn.00539320
lea edi, [esi + 0x54]
mov ecx, edi
call fcn.004260b0
xor ebx, ebx
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dword [esp + 0x1c], ebx
lea edi, [esi + 0x60]
mov dword [esp + 0x10], edi
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x1c], 2
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.00533590
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov byte [esp + 0x1c], 3
lea ecx, [esi + 0x70]
call fcn.0052d8a0
mov byte [esp + 0x1c], 4
lea ecx, [esi + 0x7c]
call fcn.0052d8a0
mov byte [esp + 0x1c], 5
lea ecx, [esi + 0x88]
call fcn.0052d8a0
mov byte [esp + 0x1c], 6
lea ecx, [esi + 0x94]
call fcn.0052d8a0
mov byte [esp + 0x1c], 7
lea edi, [esi + 0xa0]
mov ecx, edi
call fcn.0052a9a0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov byte [esp + 0x1c], 8
lea ecx, [esi + 0xac]
call fcn.0052d8a0
mov byte [esp + 0x1c], 9
push ebx
call fcn.0057bbd0
or edi, 0xffffffff
push ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x34], edi
mov byte [esi + 0x10], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
call fcn.0057bbd0
add esp, 8
mov dword [esi + 0x30], eax
mov dword [esi + 4], eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x538900
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5dd201
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov esi, ecx
push ebx
push ebx
lea ecx, [esi + 4]
mov dword [esp + 0x18], esi
mov dword [esi], 0x606acc
call fcn.005788a0
mov dword [esp + 0x18], ebx
lea edi, [esi + 0xc]
mov ecx, edi
call fcn.00538790
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov byte [esp + 0x18], 1
lea edi, [esi + 0x24]
mov ecx, edi
call fcn.00538790
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov byte [esp + 0x18], 2
or eax, 0xffffffff
mov dword [esi + 0x1c], ebx
mov word [esi + 0x18], bx
mov dword [esi + 0x20], eax
mov dword [esi + 0x30], ebx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x5394b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5dd260
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [0x64aa84]
push esi
push 0x20
mov esi, ecx
mov dword [esp + 0x44], eax
push 0
lea ecx, [esp + 0xc]
call fcn.00409a50
mov dword [esp + 0x4c], 0
push 0x10
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xc]
call fcn.005649c0
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00538f60
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [esp + 4]
call fcn.00409940
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
call fcn.0057981f
add esp, 0x4c
ret
Function at 0x541600
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x541623
jmp 0x541610
imul eax, eax, 0xf4243
movzx ecx, cl
xor eax, ecx
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x541610
ret