joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477c00
Capabilities:
Create thread

Disassembly:
push ecx
push 8
mov dword [esp + 4], 0x25
call fcn.004dd75a
mov ecx, dword [esp + 0xc]
add esp, 4
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x477c35
push eax
push 0
push 0x477b30
mov dword [eax + 4], ecx
call fcn.004c2615
add esp, 0x10
ret
push eax
lea edx, [esp + 4]
push 0
push 0x477b30
mov dword [eax + 4], edx
call fcn.004c2615
add esp, 0x10
ret

Function at 0x4782c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x51307f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov eax, dword [0x5580a0]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esi + 4], eax
mov ecx, dword [0x5580a0]
mov dword [esi + 8], ecx
mov edx, dword [0x5580a0]
mov dword [esi + 0xc], edx
mov eax, dword [0x5580a0]
mov dword [esi + 0x10], eax
mov ecx, dword [0x5580a0]
mov dword [esi + 0x18], ecx
mov edx, dword [0x5580a0]
mov dword [esi + 0x1c], edx
mov eax, dword [0x5580a0]
mov dword [esi + 0x20], eax
or eax, 0xffffffff
mov ebx, 2
push 0x64
mov byte [esp + 0x20], 7
mov dword [esi], 0x523e9c
mov dword [esi + 0x14], 1
mov dword [esi + 0x24], 0x15
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], 3
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 1
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x64], ebx
call fcn.004dd75a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x1c], 8
je 0x4783a2
mov ecx, eax
call fcn.0043e9e0
jmp 0x4783a4
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x84], 5
mov dword [esi + 0x94], 1
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4786a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov cl, byte [eax]
test cl, cl
je 0x4786b7
xor cl, 0xc8
mov byte [eax], cl
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4786aa
ret
Function at 0x47b380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x513281
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CCommandLineInfo.virtual_0
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 0xe
push eax
call fcn.004dd783
mov eax, dword [esi + 0xc]
add esp, 4
xor edi, edi
test eax, eax
jle 0x47b3da
mov eax, dword [esi + 8]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x47b3d2
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esi + 0xc]
inc edi
cmp edi, eax
jl 0x47b3c1
lea ecx, [esi + 0xc8]
mov byte [esp + 0x14], 0xd
call fcn.004dd111
lea ecx, [esi + 0xb0]
mov byte [esp + 0x14], 0xc
call fcn.004dd111
lea ecx, [esi + 0xac]
mov byte [esp + 0x14], 0xb
call fcn.004dd111
lea ecx, [esi + 0xa8]
mov byte [esp + 0x14], 0xa
call fcn.004dd111
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 9
call fcn.004dd111
lea ecx, [esi + 0x7c]
mov byte [esp + 0x14], 8
call fcn.004dd111
lea ecx, [esi + 0x78]
mov byte [esp + 0x14], 7
call fcn.004dd111
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 6
call fcn.004dd111
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 5
call fcn.004dd111
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 4
call fcn.004dd111
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 3
call fcn.004dd111
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 2
call fcn.004dd111
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 1
call fcn.004dd111
lea ecx, [esi + 4]
mov byte [esp + 0x14], 0
call fcn.004d6f82
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x47b4d0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x513341
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
xor edi, edi
lea ecx, [esi + 4]
mov dword [esp + 0x1c], edi
call fcn.004d6f4f
mov eax, dword [0x5580a0]
lea ecx, [esi + 0x18]
mov dword [ecx], eax
mov edx, dword [0x5580a0]
lea ebx, [esi + 0x1c]
mov dword [ebx], edx
mov eax, dword [0x5580a0]
lea ebp, [esi + 0x20]
mov dword [ebp], eax
mov edx, dword [0x5580a0]
mov dword [esi + 0x24], edx
mov eax, dword [0x5580a0]
mov dword [esi + 0x28], eax
mov edx, dword [0x5580a0]
mov dword [esi + 0x44], edx
mov eax, dword [0x5580a0]
mov dword [esi + 0x78], eax
mov edx, dword [0x5580a0]
mov dword [esi + 0x7c], edx
mov eax, dword [0x5580a0]
mov dword [esi + 0x80], eax
mov edx, dword [0x5580a0]
mov dword [esi + 0xa8], edx
mov eax, dword [0x5580a0]
mov dword [esi + 0xac], eax
mov edx, dword [0x5580a0]
mov dword [esi + 0xb0], edx
mov eax, dword [0x5580a0]
mov dword [esi + 0xc8], eax
push 0x55cdc0
mov byte [esp + 0x20], 0xe
mov dword [esi], method.CCommandLineInfo.virtual_0
call fcn.004dd29a
push 0x55cdc0
mov ecx, ebx
call fcn.004dd29a
push 0x55cdc0
mov ecx, ebp
call fcn.004dd29a
push 0x55cdc0
lea ecx, [esi + 0x24]
call fcn.004dd29a
push 0x55cdc0
lea ecx, [esi + 0x28]
call fcn.004dd29a
mov dword [esi + 0x2c], 8
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 1
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], 2
push 0x55cdc0
lea ecx, [esi + 0x44]
mov dword [esi + 0x40], edi
call fcn.004dd29a
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], 0x15
push 0x55cdc0
lea ecx, [esi + 0x78]
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
call fcn.004dd29a
push 0x55cdc0
lea ecx, [esi + 0x7c]
call fcn.004dd29a
push 0x55cdc0
lea ecx, [esi + 0x80]
call fcn.004dd29a
push 0x55cdc0
lea ecx, [esi + 0xa8]
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
call fcn.004dd29a
push 0x55cdc0
lea ecx, [esi + 0xac]
call fcn.004dd29a
push 0x55cdc0
lea ecx, [esi + 0xb0]
call fcn.004dd29a
push 0x55cdc0
lea ecx, [esi + 0xc8]
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xc4], edi
call fcn.004dd29a
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x47cd80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5134a8
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.0047ba20
push 0x10
call fcn.004dd75a
add esp, 4
test eax, eax
je 0x47cdbc
mov ecx, eax
call fcn.00478240
mov esi, eax
jmp 0x47cdbe
xor esi, esi
lea eax, [esp + 0x18]
or ebx, 0xffffffff
push 0xe8fb
push eax
mov dword [esi + 0xc], ebx
call fcn.0042e080
add esp, 8
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x7c], 0
call fcn.004dd24a
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], ebx
call fcn.004dd111
mov edi, dword [ebp + 0x1c]
lea ecx, [ebp + 0x14]
push esi
push edi
call fcn.004d6ed3
lea ecx, [esp + 0x1c]
call fcn.004de17f
mov ecx, dword [esp + 0x80]
push 0
push 0x10
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x84], 1
call fcn.004de331
test eax, eax
je 0x47cec2
push 0
push 0x1000
lea edx, [esp + 0x24]
push 1
push edx
lea ecx, [esp + 0x3c]
call fcn.004e1890
lea eax, [esp + 0x12]
push 2
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 2
call fcn.004e1a02
xor esi, esi
cmp word [esp + 0x12], si
jle 0x47cea2
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.00477e40
mov eax, dword [esp + 0x14]
push edi
mov ecx, ebp
mov eax, dword [eax + 4]
push eax
call fcn.0047cef0
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x47ce98
mov edx, dword [ecx]
push 1
call dword [edx + 4]
movsx eax, word [esp + 0x12]
inc esi
cmp esi, eax
jl 0x47ce6a
lea ecx, [esp + 0x1c]
call fcn.004de54c
lea ecx, [esp + 0x2c]
call fcn.004e19f4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 1
call fcn.004e196c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x78], ebx
call fcn.004de274
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 4
Function at 0x47e768
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5137a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004f2b97
push fcn.004dd111
push 0x417850
push 3
lea eax, [esi + 0x1fc]
xor edi, edi
push 4
push eax
mov dword [esp + 0x40], edi
call fcn.004c3720
lea ecx, [esi + 0x234]
mov byte [esp + 0x2c], 1
call fcn.004de17f
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
mov dword [esi], 0x5242f8
mov dword [esi + 0x218], edi
mov dword [esi + 0x21c], 1
mov dword [esi + 0x1f4], edi
mov dword [esi + 0x230], 1
call fcn.004e0436
push edi
mov byte [esp + 0x30], 3
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call fcn.004e04ed
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], vtable.CFont.0
push 0x55e7bc
mov byte [esp + 0x30], 4
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x10]
call fcn.004e1093
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.004e0681
mov edi, eax
mov eax, dword [esp + 0x1c]
lea edx, [esi + 0x1bc]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
push edi
lea ecx, [esp + 0x18]
call fcn.004e0681
mov dword [esp + 0xc], vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 5
call fcn.004e10ea
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.004e056b
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x487930
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
call fcn.00488920
push ecx
mov eax, esp
mov dword [esp + 0xc], esp
push 0xe818
push eax
call fcn.0042e080
add esp, 8
mov ecx, esi
call fcn.00488950
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push 4
push esi
push 0x487990
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi + 0xb64], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
add esp, 8
ret

Function at 0x4879b0
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00488920
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 4
push esi
push 0x4879f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi + 0xb64], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ecx
ret

Function at 0x488920
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xb64]
test eax, eax
je 0x488936
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
mov dword [esi + 0xb64], 0
call fcn.00488aa0
pop esi
ret

Function at 0x48c8b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x48c8d6
cmp byte [eax], 0
je 0x48c8d6
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x48c8d6
and eax, 0x10
xor ecx, ecx
cmp al, 0x10
setne cl
mov eax, ecx
ret
xor eax, eax
ret

Function at 0x48c8e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x48c906
cmp byte [eax], 0
je 0x48c906
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x48c906
and eax, 0x10
xor ecx, ecx
cmp al, 0x10
sete cl
mov eax, ecx
ret
xor eax, eax
ret
Function at 0x48c910
Capabilities:
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x514e30
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xc
test eax, eax
push ebx
je 0x48c9b5
cmp byte [eax], 0
je 0x48c9b5
push eax
lea ecx, [esp + 0x24]
call fcn.004dd17f
mov eax, dword [0x5580a0]
mov dword [esp + 0x18], 0
mov dword [esp + 4], eax
mov bl, 1
push 0x2f
push 0x5c
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], bl
call fcn.004d371b
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x2f
je 0x48c985
push 0x2f
lea ecx, [esp + 0x24]
call fcn.004dd514
mov eax, dword [esp + 0x20]
push 0x5525ac
push eax
call fcn.004c27be
add esp, 8
test eax, eax
jne 0x48c9c7
lea ecx, [esp + 4]
mov byte [esp + 0x18], al
call fcn.004dd111
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.004dd111
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
push edi
push 0x2f
lea ecx, [esp + 0x30]
call fcn.004dd5d8
mov edi, eax
lea ecx, [esp + 0x14]
lea esi, [edi + 1]
push esi
push ecx
lea ecx, [esp + 0x34]
call fcn.004d3a41
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.004dd529
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.004dd111
mov edx, dword [esp + 0x10]
push edx
call fcn.0048c8e0
add esp, 4
test eax, eax
jne 0x48ca24
push eax
mov eax, dword [esp + 0x14]
push eax
call ebp
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 8]
dec eax
cmp edi, eax
je 0x48ca60
lea edx, [esp + 0x18]
push esi
push edx
lea ecx, [esp + 0x34]
call fcn.004d390c
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 3
call fcn.004dd24a
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.004dd111
jmp 0x48c9d0
mov eax, dword [esp + 0x10]
push eax
call fcn.0048c8e0
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x24], 0
call fcn.004dd111
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.004dd111
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x48d020
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
mov eax, dword [esp + 0x110]
lea ecx, [esp]
push ecx
push 0x20019
mov eax, dword [eax]
push 0
push eax
push reloc.WSOCK32.dll_accept
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x48d05c
xor al, al
add esp, 0x10c
ret
lea edx, [esp + 8]
push ebx
push edx
mov edx, dword [esp + 0x11c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0x10]
push 0
mov ebx, 1
push eax
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [esp + 8], ebx
jne 0x48d0ad
mov ecx, dword [esp + 0x11c]
lea edx, [esp + 0x10]
push edx
call fcn.004dd29a
jmp 0x48d0af
xor bl, bl
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
add esp, 0x10c
ret
Function at 0x48d0d0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
lea ecx, [esp + 4]
mov dword [esp + 4], 0
mov eax, dword [esi]
push ecx
push 0x20006
push 0
push eax
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x48d127
mov eax, dword [esi]
lea edx, [esp + 4]
push 0
push edx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x48d127
xor al, al
pop esi
pop ecx
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ebx
mov eax, dword [eax]
mov edx, dword [edx]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [esp + 0x10]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
test eax, eax
push ecx
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
pop esi
pop ecx
ret

Function at 0x48d160
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
lea ecx, [esp]
push ecx
push 0x20019
mov eax, dword [eax]
push 0
push eax
push reloc.WSOCK32.dll_accept
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x48d193
xor al, al
add esp, 0xc
ret
push ebx
push edi
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x20]
mov edx, dword [edi]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x14]
push 0
push ecx
push edx
mov dword [esp + 0x30], 4
mov bl, 1
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [esp + 0x18], 4
jne 0x48d1f4
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push ecx
mov dword [edi], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 8]
xor bl, bl
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop ebx
add esp, 0xc
ret

Function at 0x48d210
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
lea ecx, [esp + 4]
mov dword [esp + 4], 0
mov eax, dword [esi]
push ecx
push 0x20006
push 0
push eax
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x48d267
mov eax, dword [esi]
lea edx, [esp + 4]
push 0
push edx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x48d267
xor al, al
pop esi
pop ecx
ret
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 4]
push ebx
lea ecx, [esp + 0x18]
mov eax, dword [eax]
push 4
push ecx
push 4
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
mov eax, dword [esp + 8]
push eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
pop esi
pop ecx
ret
Function at 0x48d2a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
mov eax, dword [esp + 0x110]
lea ecx, [esp]
push ecx
push 0x20019
mov eax, dword [eax]
push 0
push eax
push reloc.WSOCK32.dll_bind
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x48d2dc
xor al, al
add esp, 0x10c
ret
lea edx, [esp + 8]
push ebx
push edx
mov edx, dword [esp + 0x11c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0x10]
push 0
mov ebx, 1
push eax
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [esp + 8], ebx
jne 0x48d32d
mov ecx, dword [esp + 0x11c]
lea edx, [esp + 0x10]
push edx
call fcn.004dd29a
jmp 0x48d32f
xor bl, bl
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
add esp, 0x10c
ret

Function at 0x48f400
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5151a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
push edi
mov esi, ecx
push eax
push 0x160
mov dword [esp + 0x14], esi
call fcn.004d9127
mov edx, dword [0x5580a0]
lea ecx, [esi + 0x5c]
mov dword [esp + 0x18], 0
mov dword [ecx], edx
mov eax, dword [0x5580a0]
lea edi, [esi + 0x60]
mov dword [edi], eax
mov edx, dword [0x5580a0]
lea ebx, [esi + 0x64]
mov dword [ebx], edx
push 0x55cdc0
mov byte [esp + 0x1c], 3
mov dword [esi], method.CDialog.virtual_0
call fcn.004dd29a
mov eax, dword [esp + 0x24]
mov ecx, edi
push eax
call fcn.004dd29a
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, ebx
call fcn.004dd29a
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], edx
mov dword [esi + 0x70], 0
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x4979a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x515dc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [esp + 0x4c]
xor ebx, ebx
mov eax, 1
mov edx, dword [ecx - 8]
mov dword [esp + 0x44], eax
cmp edx, ebx
je 0x497abf
mov edx, dword [esp + 0x50]
cmp dword [edx - 8], ebx
je 0x497abf
mov ecx, dword [esi + 0xc]
or edi, 0xffffffff
cmp ecx, edi
je 0x497a0f
mov ecx, dword [esi + 8]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], ebx
push eax
mov dword [esp + 0x14], 0x2c
call fcn.004da5a5
test eax, eax
jne 0x497a25
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], bl
call fcn.004dd111
mov dword [esp + 0x44], edi
jmp 0x497ad4
mov ecx, dword [0x5580a0]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esi + 0x68]
push edx
push eax
push ecx
lea edx, [esp + 0x24]
push str._ld__ld__ld__ld__ld__ld_
push edx
mov byte [esp + 0x64], 2
call fcn.004d3e8c
add esp, 0x20
call fcn.004f7db8
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x50]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push ecx
mov ecx, eax
call fcn.004e563c
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 1
call fcn.004dd111
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], bl
call fcn.004dd111
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], edi
call fcn.004dd111
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], bl
call fcn.004dd111
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.004dd111
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8