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

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x464223
push esi
call fcn.00468fc0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46421c
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 0x4642a9
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x464292
mov eax, dword [esi + 8]
test eax, eax
je 0x464247
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 0x46428e
cmp eax, 2
je 0x464292
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46423a
cmp eax, 3
je 0x46426d
cmp eax, 1
jne 0x46423a
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 0x46423a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46423a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004642e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4642c9
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.004642e0
add esp, 4
pop esi
ret

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

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x494e0b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x494f0e
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 + 0x4effa0]
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 + 0x4effa0]
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 + 0x4effa0]
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 + 0x4effa0]
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 + 0x4effa0]
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 + 0x4effa0]
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 + 0x4effa0]
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 + 0x4effa0]
xor eax, edx
inc ecx
dec edi
jne 0x494e26
pop edi
test esi, esi
je 0x494f30
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4effa0]
xor eax, edx
inc ecx
dec esi
jne 0x494f12
pop esi
pop ebx
not eax
ret
Function at 0x4cdbb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4e7790
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004c29fa
mov eax, dword [0x507628]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004c292c
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004ce690
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4cdc57
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4cdc4e
cmp al, 0xff
je 0x4cdc4e
dec al
mov byte [ecx], al
jmp 0x4cdc57
push ecx
call fcn.004d73d0
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4cdc88
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4cdc7f
cmp al, 0xff
je 0x4cdc7f
dec al
mov byte [ecx], al
jmp 0x4cdc88
push ecx
call fcn.004d73d0
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4d9a0d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4d9a45
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.004d7ac1
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d7a99
jmp 0x4d9a51
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4db0fb
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 0x4db13d
call fcn.004e0eb8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4db13d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4db134
xor eax, eax
jmp 0x4db145
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004db14b
pop edi
pop esi
pop ebx
ret 4

Function at 0x4e13e8
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 0x4e1416
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e1434
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004e134e
jmp 0x4e1434
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e1434
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004e134e
test edi, edi
mov eax, edi
jne 0x4e141e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401740
Capabilities:
Create service
Persist via windows service

Disassembly:
sub esp, 0x104
push esi
push edi
mov esi, ecx
call fcn.004016f0
test eax, eax
jne 0x4017fc
push 0xf003f
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x401789
add esi, 0x84
push eax
push esi
push 0x433120
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
xor eax, eax
pop esi
add esp, 0x104
ret
lea eax, [esp + 8]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push str.RPCSS
push 0
lea ecx, [esp + 0x18]
push 0
push ecx
push 1
push 2
add esi, 0x84
push 0x110
push 0xf01ff
push esi
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
test eax, eax
jne 0x4017f0
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0
push esi
push 0x433108
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
xor eax, eax
pop esi
add esp, 0x104
ret
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call esi
push edi
call esi
pop edi
mov eax, 1
pop esi
add esp, 0x104
ret

Function at 0x401810
Capabilities:
Delete service
Stop service

Disassembly:
sub esp, 0x1c
push ebp
push esi
push edi
mov ebp, ecx
call fcn.004016f0
test eax, eax
jne 0x40182d
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x1c
ret
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x40185f
add ebp, 0x84
push eax
push ebp
push 0x433120
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret
add ebp, 0x84
push 0x10020
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x401896
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
push ebp
push 0x433158
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret
lea eax, [esp + 0xc]
push ebx
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
call esi
push edi
call esi
test ebx, ebx
pop ebx
je 0x4018cb
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x1c
ret
push 0
push ebp
push 0x433134
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret
Function at 0x4018f0
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0x104
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push esi
push eax
lea edx, [esp + 0xc]
push ecx
push edx
call fcn.0040cc15
lea eax, [esp + 0x14]
add esp, 0xc
mov dword [esp + 4], eax
mov eax, dword [esp + 0x10c]
mov ecx, dword [eax + 0x1a8]
test ecx, ecx
je 0x40196a
add eax, 0x84
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x401977
lea ecx, [esp + 4]
push 0
push ecx
push 0
push 1
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
add esp, 0x104
ret
lea edx, [esp + 8]
push edx
call fcn.0040cb9d
add esp, 4
pop esi
add esp, 0x104
ret

Function at 0x401bd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42787c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x66
mov dword [esp + 0x18], esi
call fcn.0041cc6d
lea edi, [esi + 0x5c]
mov dword [esp + 0x1c], 0
mov ecx, edi
call fcn.0041d21c
mov dword [edi], vtable.CListCtrl.0
mov ecx, dword [0x4334c4]
lea ebx, [esi + 0x98]
mov dword [ebx], ecx
mov edx, dword [0x4334c4]
lea ebp, [esi + 0x9c]
mov dword [ebp], edx
mov eax, dword [0x4334c4]
mov dword [esi + 0x108], eax
mov ecx, dword [0x4334c4]
mov dword [esi + 0x10c], ecx
mov edx, dword [0x4334c4]
mov dword [esi + 0x110], edx
mov eax, dword [0x4334c4]
mov dword [esi + 0x114], eax
push fcn.0041b881
push 0x403fb0
push 0x100
lea ecx, [esi + 0x130]
push 4
push ecx
mov byte [esp + 0x30], 7
call fcn.0040cd44
lea edi, [esi + 0x534]
push 0
mov ecx, edi
mov byte [esp + 0x20], 8
call fcn.00405bac
mov dword [edi], 0x429ae4
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0x55c]
mov byte [esp + 0x1c], 9
call fcn.00401230
lea ecx, [esi + 0x978]
mov byte [esp + 0x1c], 0xa
call fcn.00404670
push 0x4355e8
mov ecx, ebx
mov byte [esp + 0x20], 0xb
mov dword [esi], method.CDialog.virtual_0
call fcn.0041b9c6
push 0x4355e8
mov ecx, ebp
call fcn.0041b9c6
xor edi, edi
mov dword [esi + 0xa0], edi
call fcn.00423c2b
call fcn.00423c2b
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0xa4], eax
lea edx, [esp + 0x24]
mov dword [esi + 0x118], edi
push edx
push 0x20019
push edi
push str.SYSTEMCurrentControlSetServicesgslServer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0xa0], eax
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x402360
Capabilities:
Set socket configuration

Disassembly:
push ecx
push esi
push edi
mov esi, ecx
call fcn.00402430
test eax, eax
jne 0x402372
pop edi
pop esi
pop ecx
ret
push 0
lea edi, [esi + 0x978]
push 0x3f
push 2
push 0x13ba
mov ecx, edi
mov dword [esp + 0x18], 1
call fcn.00426a5f
test eax, eax
jne 0x4023a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov edx, dword [esi + 0x97c]
lea ecx, [esp + 8]
push 4
push ecx
push 0x20
push 0xffff
push edx
call sub.WSOCK32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x4023db
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 0x10c]
lea edi, [esi + 0x55c]
push eax
push 0x3f
push 1
push 0x4b0
mov ecx, edi
call fcn.00426a5f
test eax, eax
jne 0x40240f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x10]
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 0x560]
push 5
push eax
call sub.WSOCK32.dll_listen
mov dword [esi + 0x974], esi
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x402430
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x5a4
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x104
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x420]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
lea ecx, [esp + 0xc]
push 0x411
push ecx
call sub.WSOCK32.dll_gethostname
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0xc]
push edx
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
jne 0x402495
call sub.WSOCK32.dll_WSACleanup
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x5a4
ret
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax]
push ecx
call sub.WSOCK32.dll_inet_ntoa
test eax, eax
jne 0x4024b7
call sub.WSOCK32.dll_WSACleanup
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x5a4
ret
push eax
lea edx, [ebx + 0x10c]
push 0x4330d8
push edx
call fcn.0041aafb
mov esi, dword [esi]
add esp, 0xc
test esi, esi
jne 0x4024e3
call sub.WSOCK32.dll_WSACleanup
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x5a4
ret
push esi
add ebx, 0x108
push 0x4330d8
push ebx
call fcn.0041aafb
add esp, 0xc
call sub.WSOCK32.dll_WSACleanup
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x5a4
ret
Function at 0x403090
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x427ae6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x414
mov eax, dword [0x4334c4]
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x428], 0
mov dword [esp + 0xc], eax
push str.SoftwareGoldenLock
lea ecx, [esp + 0x1c]
mov byte [esp + 0x42c], 1
call fcn.0041b9c6
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x20]
push 0x4332c4
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
call fcn.0041b9c6
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x28], 0x400
call ebp
lea ecx, [esp + 0x20]
lea edx, [esi + 0x110]
push ecx
push 0x4330d8
push edx
call fcn.0041aafb
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x2c]
add esp, 0xc
rep stosd dword es:[edi], eax
push 0x4332cc
lea ecx, [esp + 0x10]
call fcn.0041b9c6
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x28], 0x400
call ebp
lea edx, [esp + 0x20]
lea eax, [esi + 0x114]
push edx
push 0x4330d8
push eax
call fcn.0041aafb
add esp, 0xc
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
push str.Mode
lea ecx, [esp + 0x10]
call fcn.0041b9c6
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
push eax
push 0
push ecx
push edx
mov dword [esp + 0x28], 2
call ebp
test eax, eax
jne 0x40320b
lea eax, [esp + 0x20]
push eax
call fcn.0040cf00
add esp, 4
mov dword [esi + 0x128], eax
jmp 0x403215
mov dword [esi + 0x128], 1
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x428], 0
call fcn.0041b881
lea ecx, [esp + 0x18]
mov dword [esp + 0x428], 0xffffffff
call fcn.0041b881
mov ecx, dword [esp + 0x420]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x420
ret
Function at 0x403270
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x427b18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x4334c4]
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], 0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
push str.SoftwareGoldenLock
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.0041b9c6
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0x4332c4
lea ecx, [esp + 0xc]
call fcn.0041b9c6
lea eax, [esi + 0x110]
lea ecx, [esp + 4]
push eax
call fcn.0041b976
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0041b5f6
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x34], 3
call fcn.0041b5f6
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x30], 2
push ecx
mov ecx, esi
call fcn.00403500
push 0x4332cc
lea ecx, [esp + 0xc]
call fcn.0041b9c6
lea edx, [esi + 0x114]
lea ecx, [esp + 4]
push edx
call fcn.0041b976
push ecx
lea eax, [esp + 8]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0041b5f6
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x34], 4
call fcn.0041b5f6
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
mov byte [esp + 0x34], 2
call fcn.00403500
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 4]
mov esi, eax
mov byte [esp + 0x28], 1
call fcn.0041b881
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0041b881
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0041b881
mov ecx, dword [esp + 0x20]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret
Function at 0x40328d
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x427b18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x4334c4]
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], 0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
push str.SoftwareGoldenLock
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.0041b9c6
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0x4332c4
lea ecx, [esp + 0xc]
call fcn.0041b9c6
lea eax, [esi + 0x110]
lea ecx, [esp + 4]
push eax
call fcn.0041b976
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0041b5f6
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x34], 3
call fcn.0041b5f6
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x30], 2
push ecx
mov ecx, esi
call fcn.00403500
push 0x4332cc
lea ecx, [esp + 0xc]
call fcn.0041b9c6
lea edx, [esi + 0x114]
lea ecx, [esp + 4]
push edx
call fcn.0041b976
push ecx
lea eax, [esp + 8]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0041b5f6
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x34], 4
call fcn.0041b5f6
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
mov byte [esp + 0x34], 2
call fcn.00403500
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 4]
mov esi, eax
mov byte [esp + 0x28], 1
call fcn.0041b881
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0041b881
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0041b881
mov ecx, dword [esp + 0x20]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret
Function at 0x4033e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x427b50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x4334c4]
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], 0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
push str.SoftwareGoldenLock
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0041b9c6
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push str.Mode
lea ecx, [esp + 0xc]
call fcn.0041b9c6
mov eax, dword [esi + 0x128]
lea ecx, [esp + 4]
push eax
push 0x4332f4
push ecx
call fcn.0041aafb
add esp, 8
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0041b5f6
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x34], 3
call fcn.0041b5f6
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x30], 2
push ecx
mov ecx, esi
call fcn.00403500
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 4]
mov esi, eax
mov byte [esp + 0x28], 1
call fcn.0041b881
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0041b881
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0041b881
mov ecx, dword [esp + 0x20]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret

Function at 0x4033fd
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x427b50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x4334c4]
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], 0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
push str.SoftwareGoldenLock
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0041b9c6
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push str.Mode
lea ecx, [esp + 0xc]
call fcn.0041b9c6
mov eax, dword [esi + 0x128]
lea ecx, [esp + 4]
push eax
push 0x4332f4
push ecx
call fcn.0041aafb
add esp, 8
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0041b5f6
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x34], 3
call fcn.0041b5f6
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x30], 2
push ecx
mov ecx, esi
call fcn.00403500
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 4]
mov esi, eax
mov byte [esp + 0x28], 1
call fcn.0041b881
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0041b881
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0041b881
mov ecx, dword [esp + 0x20]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret