joyce8/EMBER2024-capa huggingface dataset:
Function at 0x476f50
Capabilities:
Encode data using xor
Terminate process

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [0x556e5c]
xor esi, esi
test edi, edi
nop
nop
mov esi, dword [0x55f3f8]
jmp 0x476f8b
mov eax, dword [0x55f3f8]
mov ebp, dword [sym.imp.USER32.dll_PostMessageA]
cmp eax, esi
je 0x47701e
mov eax, dword [0x55f3fc]
test eax, eax
jne 0x47701e
mov eax, dword [0x55f400]
test eax, eax
jne 0x47701e
mov eax, dword [0x556e8c]
mov ecx, dword [0x556e88]
mov edx, dword [0x556e84]
push 0xc350
push eax
push ecx
push edx
push 0xffffffffffffffff
call fcn.00476c60
add esp, 0x14
mov dword [0x55f3fc], 1
call fcn.004ddcd1
test eax, eax
je 0x477072
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
je 0x477072
call fcn.004ddcd1
test eax, eax
je 0x477007
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x477009
xor eax, eax
mov eax, dword [eax + 0x1c]
push 0x983f
push 0x192f
push 0x9673
push eax
call ebp
push 0
call fcn.004c279b
push eax
call fcn.004c2abf
add esp, 8
xor eax, eax
mov dl, al
xor dl, 0xb1
mov byte [esp + eax + 0x10], dl
inc eax
cmp eax, 0xa
jl 0x477030
push 0x28
call fcn.004c2acc
push eax
call fcn.004c4ce5
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
lea eax, [edx + edx*4 + 0x32]
add esp, 8
lea esi, [eax + eax*4]
mov eax, dword [ebx + 4]
shl esi, 2
cmp eax, 0x9675
jne 0x47709b
push 0
call fcn.004c5744
mov ecx, dword [0x556e80]
and ecx, 0x2000
cmp ecx, 0x2000
jne 0x477094
push 0xffffffffffffffff
push 0x10
push 0x1aa
call fcn.004e5802
push 0
call fcn.004c5744
cmp eax, 0x9a31
jne 0x4770e3
call fcn.004ddcd1
test eax, eax
je 0x4770dc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
je 0x4770dc
call fcn.004ddcd1
test eax, eax
je 0x4770ca
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
jne 0x4770ce
xor eax, eax
jmp 0x4770d1
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4770e3
push 0
call fcn.004c5744
mov eax, dword [0x55f404]
imul eax, esi
cmp eax, 0xbb8
jbe 0x4770f4
shr esi, 1
cmp esi, 0x640
jb 0x477101
mov esi, 0x640
mov eax, dword [ebx + 4]
cmp eax, 0x10
nop
jmp 0x4772c5
cmp eax, 0x9673
nop
jmp 0x477384
cmp eax, 0x9674
jne 0x477435
cmp dword [ebx + 8], 0x284f
jne 0x477435
cmp dword [ebx + 0xc], 0x875f
jne 0x477435
call fcn.004ddcd1
test eax, eax
je 0x477428
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
je 0x477428
call fcn.004ddcd1
test eax, eax
je 0x4773cf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x4773d1
xor eax, eax
mov eax, dword [eax + 0x1c]
push esi
push 0x2f0f
push 0x10f0
push 0x10
push eax
call fcn.00476c60
add esp, 0x14
call fcn.004ddcd1
test eax, eax
je 0x4773fc
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x4773fe
xor eax, eax
mov edx, dword [eax + 0x1c]
lea ecx, [esi + esi + 0xafc8]
push ecx
push 0
push 0
push 0x9a31
push edx
call fcn.00476c60
add esp, 0x14
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
call fcn.004c5744
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x477f50
Capabilities:
Create thread

Disassembly:
push ecx
push 8
mov dword [esp + 4], 0x25
call fcn.004dda96
mov ecx, dword [esp + 0xc]
add esp, 4
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x477f85
push eax
push 0
push 0x477eb0
mov dword [eax + 4], ecx
call fcn.004c2945
add esp, 0x10
ret
push eax
lea edx, [esp + 4]
push 0
push 0x477eb0
mov dword [eax + 4], edx
call fcn.004c2945
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x5133ff
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 [0x5580c0]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esi + 4], eax
mov ecx, dword [0x5580c0]
mov dword [esi + 8], ecx
mov edx, dword [0x5580c0]
mov dword [esi + 0xc], edx
mov eax, dword [0x5580c0]
mov dword [esi + 0x10], eax
mov ecx, dword [0x5580c0]
mov dword [esi + 0x18], ecx
mov edx, dword [0x5580c0]
mov dword [esi + 0x1c], edx
mov eax, dword [0x5580c0]
mov dword [esi + 0x20], eax
or eax, 0xffffffff
mov ebx, 2
push 0x64
mov byte [esp + 0x20], 7
mov dword [esi], 0x523e94
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.004dda96
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x1c], 8
je 0x4786f2
mov ecx, eax
call fcn.0043ed20
jmp 0x4786f4
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 0x4789f0
Capabilities:
Encode data using xor

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

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

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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x513828
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.0047bd70
push 0x10
call fcn.004dda96
add esp, 4
test eax, eax
je 0x47d10c
mov ecx, eax
call fcn.00478590
mov esi, eax
jmp 0x47d10e
xor esi, esi
lea eax, [esp + 0x18]
or ebx, 0xffffffff
push 0xe8fb
push eax
mov dword [esi + 0xc], ebx
call fcn.0042e2e0
add esp, 8
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x7c], 0
call fcn.004dd586
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], ebx
call fcn.004dd44d
mov edi, dword [ebp + 0x1c]
lea ecx, [ebp + 0x14]
push esi
push edi
call fcn.004d71f9
lea ecx, [esp + 0x1c]
call fcn.004de4bb
mov ecx, dword [esp + 0x80]
push 0
push 0x10
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x84], 1
call fcn.004de66d
test eax, eax
je 0x47d212
push 0
push 0x1000
lea edx, [esp + 0x24]
push 1
push edx
lea ecx, [esp + 0x3c]
call fcn.004e1bcc
lea eax, [esp + 0x12]
push 2
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 2
call fcn.004e1d3e
xor esi, esi
cmp word [esp + 0x12], si
jle 0x47d1f2
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.00478190
mov eax, dword [esp + 0x14]
push edi
mov ecx, ebp
mov eax, dword [eax + 4]
push eax
call fcn.0047d240
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x47d1e8
mov edx, dword [ecx]
push 1
call dword [edx + 4]
movsx eax, word [esp + 0x12]
inc esi
cmp esi, eax
jl 0x47d1ba
lea ecx, [esp + 0x1c]
call fcn.004de888
lea ecx, [esp + 0x2c]
call fcn.004e1d30
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 1
call fcn.004e1ca8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x78], ebx
call fcn.004de5b0
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 0x47eab8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x513b26
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.004f2ece
push fcn.004dd44d
push 0x47ebd0
push 3
lea eax, [esi + 0x1fc]
xor edi, edi
push 4
push eax
mov dword [esp + 0x40], edi
call fcn.004c3a50
lea ecx, [esi + 0x234]
mov byte [esp + 0x2c], 1
call fcn.004de4bb
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
mov dword [esi], 0x5242f0
mov dword [esi + 0x218], edi
mov dword [esi + 0x21c], 1
mov dword [esi + 0x1f4], edi
mov dword [esi + 0x230], 1
call fcn.004e0772
push edi
mov byte [esp + 0x30], 3
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call fcn.004e0829
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], vtable.CFont.0
push 0x55e7dc
mov byte [esp + 0x30], 4
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x10]
call fcn.004e13cf
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.004e09bd
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.004e09bd
mov dword [esp + 0xc], vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 5
call fcn.004e1426
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.004e08a7
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x487cc0
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
call fcn.00488cb0
push ecx
mov eax, esp
mov dword [esp + 0xc], esp
push 0xe818
push eax
call fcn.0042e2e0
add esp, 8
mov ecx, esi
call fcn.00488ce0
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push 4
push esi
push 0x487d20
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 0x487d40
Capabilities:
Create thread
Resume thread

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

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

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

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

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

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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5151a0
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xc
test eax, eax
push ebx
je 0x48cd25
cmp byte [eax], 0
je 0x48cd25
push eax
lea ecx, [esp + 0x24]
call fcn.004dd4bb
mov eax, dword [0x5580c0]
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.004d3a57
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x2f
je 0x48ccf5
push 0x2f
lea ecx, [esp + 0x24]
call fcn.004dd850
mov eax, dword [esp + 0x20]
push 0x5525ac
push eax
call fcn.004c2aee
add esp, 8
test eax, eax
jne 0x48cd37
lea ecx, [esp + 4]
mov byte [esp + 0x18], al
call fcn.004dd44d
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.004dd44d
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.004dd914
mov edi, eax
lea ecx, [esp + 0x14]
lea esi, [edi + 1]
push esi
push ecx
lea ecx, [esp + 0x34]
call fcn.004d3d7d
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.004dd865
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.004dd44d
mov edx, dword [esp + 0x10]
push edx
call fcn.0048cc50
add esp, 4
test eax, eax
jne 0x48cd94
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 0x48cdd0
lea edx, [esp + 0x18]
push esi
push edx
lea ecx, [esp + 0x34]
call fcn.004d3c48
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 3
call fcn.004dd586
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.004dd44d
jmp 0x48cd40
mov eax, dword [esp + 0x10]
push eax
call fcn.0048cc50
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x24], 0
call fcn.004dd44d
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.004dd44d
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 0x48d390
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 0x48d3cc
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 0x48d41d
mov ecx, dword [esp + 0x11c]
lea edx, [esp + 0x10]
push edx
call fcn.004dd5d6
jmp 0x48d41f
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 0x48d440
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 0x48d497
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 0x48d497
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 0x48d4d0
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 0x48d503
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 0x48d564
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 0x48d580
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 0x48d5d7
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 0x48d5d7
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 0x48d610
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 0x48d64c
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 0x48d69d
mov ecx, dword [esp + 0x11c]
lea edx, [esp + 0x10]
push edx
call fcn.004dd5d6
jmp 0x48d69f
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 0x48f7b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x515519
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.004d9463
mov edx, dword [0x5580c0]
lea ecx, [esi + 0x5c]
mov dword [esp + 0x18], 0
mov dword [ecx], edx
mov eax, dword [0x5580c0]
lea edi, [esi + 0x60]
mov dword [edi], eax
mov edx, dword [0x5580c0]
lea ebx, [esi + 0x64]
mov dword [ebx], edx
push 0x55cde0
mov byte [esp + 0x1c], 3
mov dword [esi], method.CDialog.virtual_0
call fcn.004dd5d6
mov eax, dword [esp + 0x24]
mov ecx, edi
push eax
call fcn.004dd5d6
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, ebx
call fcn.004dd5d6
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