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

Disassembly:
push ecx
push 8
mov dword [esp + 4], 0x25
call fcn.004dd79a
mov ecx, dword [esp + 0xc]
add esp, 4
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x477c75
push eax
push 0
push 0x477b70
mov dword [eax + 4], ecx
call fcn.004c2655
add esp, 0x10
ret
push eax
lea edx, [esp + 4]
push 0
push 0x477b70
mov dword [eax + 4], edx
call fcn.004c2655
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x5130bf
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 [0x5581a0]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esi + 4], eax
mov ecx, dword [0x5581a0]
mov dword [esi + 8], ecx
mov edx, dword [0x5581a0]
mov dword [esi + 0xc], edx
mov eax, dword [0x5581a0]
mov dword [esi + 0x10], eax
mov ecx, dword [0x5581a0]
mov dword [esi + 0x18], ecx
mov edx, dword [0x5581a0]
mov dword [esi + 0x1c], edx
mov eax, dword [0x5581a0]
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.004dd79a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x1c], 8
je 0x4783e2
mov ecx, eax
call fcn.0043ea00
jmp 0x4783e4
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 0x4786e0
Capabilities:
Encode data using xor

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

Disassembly:
push 0xffffffffffffffff
push 0x5132c1
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.004dd7c3
mov eax, dword [esi + 0xc]
add esp, 4
xor edi, edi
test eax, eax
jle 0x47b41a
mov eax, dword [esi + 8]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x47b412
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esi + 0xc]
inc edi
cmp edi, eax
jl 0x47b401
lea ecx, [esi + 0xc8]
mov byte [esp + 0x14], 0xd
call fcn.004dd151
lea ecx, [esi + 0xb0]
mov byte [esp + 0x14], 0xc
call fcn.004dd151
lea ecx, [esi + 0xac]
mov byte [esp + 0x14], 0xb
call fcn.004dd151
lea ecx, [esi + 0xa8]
mov byte [esp + 0x14], 0xa
call fcn.004dd151
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 9
call fcn.004dd151
lea ecx, [esi + 0x7c]
mov byte [esp + 0x14], 8
call fcn.004dd151
lea ecx, [esi + 0x78]
mov byte [esp + 0x14], 7
call fcn.004dd151
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 6
call fcn.004dd151
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 5
call fcn.004dd151
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 4
call fcn.004dd151
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 3
call fcn.004dd151
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 2
call fcn.004dd151
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 1
call fcn.004dd151
lea ecx, [esi + 4]
mov byte [esp + 0x14], 0
call fcn.004d6fc2
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x47b510
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x513381
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.004d6f8f
mov eax, dword [0x5581a0]
lea ecx, [esi + 0x18]
mov dword [ecx], eax
mov edx, dword [0x5581a0]
lea ebx, [esi + 0x1c]
mov dword [ebx], edx
mov eax, dword [0x5581a0]
lea ebp, [esi + 0x20]
mov dword [ebp], eax
mov edx, dword [0x5581a0]
mov dword [esi + 0x24], edx
mov eax, dword [0x5581a0]
mov dword [esi + 0x28], eax
mov edx, dword [0x5581a0]
mov dword [esi + 0x44], edx
mov eax, dword [0x5581a0]
mov dword [esi + 0x78], eax
mov edx, dword [0x5581a0]
mov dword [esi + 0x7c], edx
mov eax, dword [0x5581a0]
mov dword [esi + 0x80], eax
mov edx, dword [0x5581a0]
mov dword [esi + 0xa8], edx
mov eax, dword [0x5581a0]
mov dword [esi + 0xac], eax
mov edx, dword [0x5581a0]
mov dword [esi + 0xb0], edx
mov eax, dword [0x5581a0]
mov dword [esi + 0xc8], eax
push 0x55cec0
mov byte [esp + 0x20], 0xe
mov dword [esi], method.CCommandLineInfo.virtual_0
call fcn.004dd2da
push 0x55cec0
mov ecx, ebx
call fcn.004dd2da
push 0x55cec0
mov ecx, ebp
call fcn.004dd2da
push 0x55cec0
lea ecx, [esi + 0x24]
call fcn.004dd2da
push 0x55cec0
lea ecx, [esi + 0x28]
call fcn.004dd2da
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 0x55cec0
lea ecx, [esi + 0x44]
mov dword [esi + 0x40], edi
call fcn.004dd2da
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], 0x15
push 0x55cec0
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.004dd2da
push 0x55cec0
lea ecx, [esi + 0x7c]
call fcn.004dd2da
push 0x55cec0
lea ecx, [esi + 0x80]
call fcn.004dd2da
push 0x55cec0
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.004dd2da
push 0x55cec0
lea ecx, [esi + 0xac]
call fcn.004dd2da
push 0x55cec0
lea ecx, [esi + 0xb0]
call fcn.004dd2da
push 0x55cec0
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.004dd2da
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 0x47cdc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5134e8
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.0047ba60
push 0x10
call fcn.004dd79a
add esp, 4
test eax, eax
je 0x47cdfc
mov ecx, eax
call fcn.00478280
mov esi, eax
jmp 0x47cdfe
xor esi, esi
lea eax, [esp + 0x18]
or ebx, 0xffffffff
push 0xe8fb
push eax
mov dword [esi + 0xc], ebx
call fcn.0042e0a0
add esp, 8
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x7c], 0
call fcn.004dd28a
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], ebx
call fcn.004dd151
mov edi, dword [ebp + 0x1c]
lea ecx, [ebp + 0x14]
push esi
push edi
call fcn.004d6f13
lea ecx, [esp + 0x1c]
call fcn.004de1bf
mov ecx, dword [esp + 0x80]
push 0
push 0x10
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x84], 1
call fcn.004de371
test eax, eax
je 0x47cf02
push 0
push 0x1000
lea edx, [esp + 0x24]
push 1
push edx
lea ecx, [esp + 0x3c]
call fcn.004e18d0
lea eax, [esp + 0x12]
push 2
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 2
call fcn.004e1a42
xor esi, esi
cmp word [esp + 0x12], si
jle 0x47cee2
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.00477e80
mov eax, dword [esp + 0x14]
push edi
mov ecx, ebp
mov eax, dword [eax + 4]
push eax
call fcn.0047cf30
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x47ced8
mov edx, dword [ecx]
push 1
call dword [edx + 4]
movsx eax, word [esp + 0x12]
inc esi
cmp esi, eax
jl 0x47ceaa
lea ecx, [esp + 0x1c]
call fcn.004de58c
lea ecx, [esp + 0x2c]
call fcn.004e1a34
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 1
call fcn.004e19ac
lea ecx, [esp + 0x1c]
mov dword [esp + 0x78], ebx
call fcn.004de2b4
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 0x47e7a8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5137e6
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.004f2bd7
push fcn.004dd151
push 0x417850
push 3
lea eax, [esi + 0x1fc]
xor edi, edi
push 4
push eax
mov dword [esp + 0x40], edi
call fcn.004c3760
lea ecx, [esi + 0x234]
mov byte [esp + 0x2c], 1
call fcn.004de1bf
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.004e0476
push edi
mov byte [esp + 0x30], 3
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call fcn.004e052d
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], vtable.CFont.0
push 0x55e8bc
mov byte [esp + 0x30], 4
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x10]
call fcn.004e10d3
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.004e06c1
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.004e06c1
mov dword [esp + 0xc], vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 5
call fcn.004e112a
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.004e05ab
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x487970
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
call fcn.00488960
push ecx
mov eax, esp
mov dword [esp + 0xc], esp
push 0xe818
push eax
call fcn.0042e0a0
add esp, 8
mov ecx, esi
call fcn.00488990
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push 4
push esi
push 0x4879d0
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 0x4879f0
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00488960
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 4
push esi
push 0x487a30
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 0x488960
Capabilities:
Terminate thread

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

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

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

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

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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x514e70
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xc
test eax, eax
push ebx
je 0x48c9f5
cmp byte [eax], 0
je 0x48c9f5
push eax
lea ecx, [esp + 0x24]
call fcn.004dd1bf
mov eax, dword [0x5581a0]
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.004d375b
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x2f
je 0x48c9c5
push 0x2f
lea ecx, [esp + 0x24]
call fcn.004dd554
mov eax, dword [esp + 0x20]
push 0x5525ac
push eax
call fcn.004c27fe
add esp, 8
test eax, eax
jne 0x48ca07
lea ecx, [esp + 4]
mov byte [esp + 0x18], al
call fcn.004dd151
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.004dd151
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.004dd618
mov edi, eax
lea ecx, [esp + 0x14]
lea esi, [edi + 1]
push esi
push ecx
lea ecx, [esp + 0x34]
call fcn.004d3a81
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.004dd569
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.004dd151
mov edx, dword [esp + 0x10]
push edx
call fcn.0048c920
add esp, 4
test eax, eax
jne 0x48ca64
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 0x48caa0
lea edx, [esp + 0x18]
push esi
push edx
lea ecx, [esp + 0x34]
call fcn.004d394c
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 3
call fcn.004dd28a
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.004dd151
jmp 0x48ca10
mov eax, dword [esp + 0x10]
push eax
call fcn.0048c920
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x24], 0
call fcn.004dd151
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.004dd151
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 0x48d060
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 0x48d09c
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 0x48d0ed
mov ecx, dword [esp + 0x11c]
lea edx, [esp + 0x10]
push edx
call fcn.004dd2da
jmp 0x48d0ef
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 0x48d110
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 0x48d167
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 0x48d167
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 0x48d1a0
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 0x48d1d3
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 0x48d234
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 0x48d250
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 0x48d2a7
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 0x48d2a7
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 0x48d2e0
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 0x48d31c
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 0x48d36d
mov ecx, dword [esp + 0x11c]
lea edx, [esp + 0x10]
push edx
call fcn.004dd2da
jmp 0x48d36f
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 0x48f440
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5151e9
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.004d9167
mov edx, dword [0x5581a0]
lea ecx, [esi + 0x5c]
mov dword [esp + 0x18], 0
mov dword [ecx], edx
mov eax, dword [0x5581a0]
lea edi, [esi + 0x60]
mov dword [edi], eax
mov edx, dword [0x5581a0]
lea ebx, [esi + 0x64]
mov dword [ebx], edx
push 0x55cec0
mov byte [esp + 0x1c], 3
mov dword [esi], method.CDialog.virtual_0
call fcn.004dd2da
mov eax, dword [esp + 0x24]
mov ecx, edi
push eax
call fcn.004dd2da
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, ebx
call fcn.004dd2da
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 0x4979e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x515e08
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 0x497aff
mov edx, dword [esp + 0x50]
cmp dword [edx - 8], ebx
je 0x497aff
mov ecx, dword [esi + 0xc]
or edi, 0xffffffff
cmp ecx, edi
je 0x497a4f
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.004da5e5
test eax, eax
jne 0x497a65
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], bl
call fcn.004dd151
mov dword [esp + 0x44], edi
jmp 0x497b14
mov ecx, dword [0x5581a0]
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.004d3ecc
add esp, 0x20
call fcn.004f7df8
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.004e567c
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 1
call fcn.004dd151
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], bl
call fcn.004dd151
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], edi
call fcn.004dd151
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.004dd151
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.004dd151
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8