joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445590
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4455c3
push esi
call fcn.00448550
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4455bc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x445649
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x445632
mov eax, dword [esi + 8]
test eax, eax
je 0x4455e7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44562e
cmp eax, 2
je 0x445632
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4455da
cmp eax, 3
je 0x44560d
cmp eax, 1
jne 0x4455da
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4455da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4455da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00445670
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x445658
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00445670
add esp, 4
pop esi
ret

Function at 0x4513b0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x451453
test eax, eax
jbe 0x451453
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x451453
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4513fe
xor esi, esi
jmp 0x451404
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45142f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00408470
add esi, eax
push esi
mov ebx, esi
call fcn.00408470
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x451410
pop ebp
test edi, edi
pop edi
jne 0x451453
test ebx, ebx
je 0x451453
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004bb5f0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x451595
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4516ad
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4516ad
mov eax, dword [esi + 0x3c]
push eax
call fcn.004cd6c0
mov esi, eax
test esi, esi
je 0x4516ad
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4516ad
mov ecx, esi
call fcn.00451500
cmp edi, eax
jge 0x4516ad
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x451633
mov dword [esp + 0x34], 1
jmp 0x45168e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4516ad
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00450a70
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x45d6f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4da670
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.0045dac0
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0
call fcn.0045dac0
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x3c], 1
call fcn.0045db30
lea ecx, [esp + 0x10]
call fcn.00430250
cmp eax, 1
jae 0x45d798
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0
push 0
call ebx
mov edi, eax
test edi, edi
je 0x45d803
lea ecx, [edi + 1]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x45d803
push esi
push edi
call ebx
push esi
lea ecx, [esp + 0x14]
call fcn.0045db30
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x10]
call fcn.00430250
cmp eax, 1
jb 0x45d803
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.0045d590
test eax, eax
je 0x45d803
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.0045d870
mov edi, dword [esp + 0x44]
xor esi, esi
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
call fcn.0045db90
push edi
lea ecx, [esp + 0x24]
call fcn.0045dbb0
push esi
lea ecx, [esp + 0x24]
call fcn.0045dc50
push str..tmp
lea ecx, [esp + 0x24]
call fcn.0045dbb0
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
call fcn.0045d570
test eax, eax
je 0x45d839
inc esi
cmp esi, 0x7a0a1f00
jb 0x45d7ba
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.0045dae0
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045dae0
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
call fcn.0045db90
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.0045dae0
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045dae0
mov eax, 1
jmp 0x45d824
Function at 0x45dfc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4da728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.0045dac0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.0045db30
push 0
mov ecx, esi
call fcn.0045df40
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x45e0f8
lea ecx, [esp + 0xc]
call fcn.00430250
cmp eax, 1
jae 0x45e047
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0045dae0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x34]
lea edi, [esi + 0xc]
test eax, eax
jne 0x45e094
push 0
lea ecx, [esp + 0x10]
call fcn.00430240
push eax
push edi
mov ecx, 0x603744
call fcn.0045d6f0
test eax, eax
jne 0x45e09c
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0045dae0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push eax
mov ecx, edi
call fcn.0045db30
push edi
mov ecx, 0x603744
call fcn.0045d650
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.00430230
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x45e0f8
push 0
push ebx
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 4], eax
je 0x45e0f8
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 8], eax
jne 0x45e128
push 1
mov ecx, esi
call fcn.0045df40
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.0045dae0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.0045dae0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x45ea60
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.0045db30
pop edi
add esp, 0x104
ret 4
Function at 0x45f770
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x45f7a3
push esi
call fcn.00464620
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45f79c
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x45f829
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45f812
mov eax, dword [esi + 8]
test eax, eax
je 0x45f7c7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45f80e
cmp eax, 2
je 0x45f812
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45f7ba
cmp eax, 3
je 0x45f7ed
cmp eax, 1
jne 0x45f7ba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45f7ba
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45f7ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045f860
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45f849
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.0045f860
add esp, 4
pop esi
ret

Function at 0x4903a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4903ab
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4904ae
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4e7638]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4e7638]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4e7638]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4e7638]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4e7638]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4e7638]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4e7638]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4e7638]
xor eax, edx
inc ecx
dec edi
jne 0x4903c6
pop edi
test esi, esi
je 0x4904d0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4e7638]
xor eax, edx
inc ecx
dec esi
jne 0x4904b2
pop esi
pop ebx
not eax
ret
Function at 0x4ce064
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ce09c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004cc11b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004cc0f3
jmp 0x4ce0a8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4cf75a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4cf79c
call fcn.004d5213
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4cf79c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4cf793
xor eax, eax
jmp 0x4cf7a4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004cf7aa
pop edi
pop esi
pop ebx
ret 4

Function at 0x4d5743
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4d5771
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4d578f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004d56a9
jmp 0x4d578f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4d578f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004d56a9
test edi, edi
mov eax, edi
jne 0x4d5779
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405870
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x405889
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4058c4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4058c0
lea ebx, [ebx]
cmp esi, eax
jae 0x4058c4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4058b0
cmp esi, eax
jb 0x4058ca
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40de00
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x18
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40de6a
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x40de6a
mov eax, dword [esp + 4]
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x40de6a
mov ecx, dword [esp + 0x1c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
xor eax, eax
add esp, 0x18
ret 4
Function at 0x4108b0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x5d1bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
mov ecx, dword [0x647fdc]
push 3
lea eax, [esp + 0x18]
push eax
add ecx, 0x3c
call fcn.00404c40
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
mov dword [esp + 0x4c], 0
mov ebx, dword [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x4109f8
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push 0
push 0x64
push esi
push edi
call fcn.004fbce0
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.00500d80
shrd edi, esi, 0x14
mov dword [ebp + 0xf8], eax
shr esi, 0x14
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410965
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x4c], eax
push 0x5f0
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x4c], 1
call fcn.00422da0
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 2
call fcn.00404ec0
mov byte [esp + 0x44], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4109bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
push ebx
push str._n_n_s_n_n_d_M
add ebp, 0xfc
push ebp
call fcn.004056d0
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4109f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x44], 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410a1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4
Function at 0x411900
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x647fdc]
cmp byte [eax + 0xfc], 0
je 0x411933
cmp dword [0x647fc4], 0
jbe 0x411933
push 0
push 0
push 0
push 0x451960
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret 8
Function at 0x421f50
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebp
xor ebp, ebp
cmp edi, ebp
je 0x421fc9
cmp byte [edi], 0
je 0x421fc9
cmp esi, ebp
je 0x421fc9
push ebx
push esi
mov dword [esp + 0xc], ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x14]
mov ebx, eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push ebp
push 2
push ebp
push ebp
push ebp
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x421fb2
add ebx, 1
push ebx
push esi
push 1
push eax
mov eax, dword [esp + 0x18]
push 0x60518f
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x421fb2
mov ebp, 1
mov eax, dword [esp + 8]
test eax, eax
pop ebx
je 0x421fc2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop ebp
add esp, 8
ret
push 0x80070057
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop ebp
add esp, 8
ret

Function at 0x421fe0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x150
mov eax, dword [0x628560]
xor eax, esp
mov dword [esp + 0x14c], eax
push esi
lea eax, [esp + 4]
push eax
mov esi, ecx
lea ecx, [esp + 0xc]
push ecx
push str..rec
push connect
mov dword [esp + 0x14], 0x41
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x422035
xor eax, eax
pop esi
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.004f2a78
add esp, 0x150
ret
cmp byte [esp + 8], 0
je 0x42201d
lea eax, [esp + 8]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x422043
mov edx, dword [str.DefaultIcon]
mov ecx, dword [0x606b6c]
mov dword [eax], edx
mov edx, dword [0x606b70]
mov dword [eax + 4], ecx
mov cl, byte [0x606b74]
mov dword [eax + 8], edx
lea edx, [esp + 0x4c]
mov byte [eax + 0xc], cl
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x422078
lea eax, [esp + 0x4c]
add eax, 0xffffffff
jmp 0x422090
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x422090
mov edx, dword [str.____0]
mov cx, word [0x606b7c]
mov dword [eax], edx
push 0x105
lea edx, [esp + 0x50]
push edx
mov word [eax + 4], cx
push 1
lea eax, [esp + 0x14]
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push 0
mov esi, eax
push 0
neg esi
push 0x2000
sbb esi, esi
push 0x8000000
add esi, 1
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [esp + 0x150]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004f2a78
add esp, 0x150
ret
Function at 0x429a00
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x628560]
xor eax, esp
mov dword [esp + 0x10c], eax
push 0
push 0x60518f
mov ecx, esi
call fcn.004051d0
lea eax, [esp]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.WS2_32.dll_bind
mov dword [esp + 0x10], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push str.ProcessorNameString
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0xc]
push eax
push 0x604f14
push esi
call fcn.004056d0
mov ecx, dword [esp + 0x118]
add esp, 0xc
xor ecx, esp
xor eax, eax
call fcn.004f2a78
add esp, 0x110
ret

Function at 0x429aa0
Capabilities:
Get memory capacity

Disassembly:
push 0xffffffffffffffff
push 0x5d03b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 0
push 0x60518f
mov ecx, esi
call fcn.004051d0
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x429aec
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0xc], edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
push ecx
mov dword [esp + 0x14], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esp + 0x24]
shr edx, 0x14
push edx
push 0x6050ec
push esi
call fcn.004056d0
add esp, 0xc
push 2
push 0x608054
mov ecx, esi
call fcn.0041cc70
lea eax, [edi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429b5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x34
ret
Function at 0x429b80
Capabilities:
Get memory capacity

Disassembly:
push 0xffffffffffffffff
push 0x5d03b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 0
push 0x60518f
mov ecx, esi
call fcn.004051d0
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x429bcc
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0xc], edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
push ecx
mov dword [esp + 0x14], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esp + 0x18]
shr edx, 0x14
push edx
push 0x6050ec
push esi
call fcn.004056d0
add esp, 0xc
push 2
push 0x608054
mov ecx, esi
call fcn.0041cc70
lea eax, [edi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429c3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x34
ret