joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475db6
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x49c1d4
call fcn.00497cb0
sub esp, 0x31c
push ebx
xor eax, eax
push esi
push edi
mov bl, cl
mov esi, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
push esi
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.004704e6
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x24]
mov byte [ebp - 0xd], 0
call fcn.00402f23
test eax, eax
jbe 0x475f86
mov edi, dword [ebp - 0x20]
add edi, 8
cmp byte [ebp - 0xd], 0
jne 0x475e7f
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0x10
jb 0x475e3a
mov eax, dword [eax + 8]
jmp 0x475e3d
add eax, 8
cmp dword [edi + 0x14], 0x10
jb 0x475e47
mov ecx, dword [edi]
jmp 0x475e49
mov ecx, edi
push eax
push ecx
call dword [sym.imp.MSVCR71.dll__stricmp]
test eax, eax
pop ecx
pop ecx
jne 0x475e62
mov eax, dword [ebp - 0x14]
inc eax
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x28], eax
inc dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
add edi, 0x24
call fcn.00402f23
cmp dword [ebp - 0x14], eax
jb 0x475e26
cmp byte [ebp - 0xd], 0
je 0x475f86
push dword [ebp + 0xc]
mov edi, dword [sym.imp.MSVCR71.dll_sprintf]
push str.Domain
lea eax, [ebp - 0x68]
push str._s_d
push eax
call edi
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c8]
push str.User
push str._s_d
push eax
call edi
add esp, 0x20
cmp dword [esi + 0x40], 0x10
jb 0x475ebc
mov eax, dword [esi + 0x2c]
jmp 0x475ebf
lea eax, [esi + 0x2c]
push eax
push 0x15e
lea eax, [ebp - 0x328]
push eax
push str.1_la
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
push 0
lea eax, [ebp - 0x328]
push 0x7c
push eax
call fcn.00483d45
add esp, 0x10
test eax, eax
je 0x475f2d
test bl, bl
setne cl
add cl, 0x30
mov byte [eax + 1], cl
cmp dword [esi + 0x40], 0x10
jb 0x475f11
mov eax, dword [esi + 0x2c]
jmp 0x475f14
lea eax, [esi + 0x2c]
push eax
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x1c8]
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0x10
jb 0x475f3b
mov eax, dword [eax + 8]
jmp 0x475f3e
add eax, 8
push dword [ebp + 0xc]
push eax
push 0x4a7d00
lea eax, [ebp - 0x1c8]
push str._s_s_d
push eax
call edi
add esp, 0x14
neg bl
sbb ebx, ebx
not ebx
and ebx, 0x4a4924
cmp dword [esi + 0x40], 0x10
jb 0x475f6f
mov esi, dword [esi + 0x2c]
jmp 0x475f72
add esi, 0x2c
push esi
push ebx
push str.Enable
lea eax, [ebp - 0x1c8]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea esi, [ebp - 0x4c]
call fcn.00480846
and dword [ebp - 0x3c], 0
lea esi, [ebp - 0x38]
call fcn.00480846
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004030d1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x476286
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
push ebx
push esi
mov esi, dword [sym.imp.MSVCR71.dll_sprintf]
push edi
push dword [ebp + 0xc]
mov edi, eax
push str.Domain
mov ebx, str._s_d
lea eax, [ebp - 0x40]
push ebx
push eax
mov byte [ebp - 1], 0
mov byte [ebp - 2], 0
call esi
add esp, 0x10
mov dword [ebp - 8], 1
push dword [ebp - 8]
lea eax, [ebp - 0x24]
push str.User
push ebx
push eax
call esi
add esp, 0x10
cmp dword [edi + 0x40], 0x10
jb 0x4762dd
mov eax, dword [edi + 0x2c]
jmp 0x4762e0
lea eax, [edi + 0x2c]
push eax
push 0x12c
lea eax, [ebp - 0x16c]
push eax
push 0x4a4630
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x16c], 0
je 0x4763c6
push 0
push 0
lea eax, [ebp - 0x16c]
push 0x7c
push eax
call fcn.00483d45
add esp, 0x10
test eax, eax
je 0x476330
lea ecx, [ebp - 0x16c]
sub eax, ecx
jmp 0x47633d
lea eax, [ebp - 0x16c]
push eax
call sub.MSVCR71.dll_strlen
pop ecx
cmp byte [ebp - 1], 0
jne 0x47637d
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x18]
jne 0x4763be
cmp dword [ecx + 0x1c], 0x10
jb 0x476356
mov ecx, dword [ecx + 8]
jmp 0x476359
add ecx, 8
push eax
push ecx
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.MSVCR71.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x4763be
mov byte [ebp - 1], 1
mov byte [ebp - 2], 1
mov byte [ebp - 0x16c], al
cmp byte [ebp - 0x16c], 0
je 0x4763be
mov eax, dword [ebp - 8]
dec eax
push eax
push str.User
lea eax, [ebp - 0x24]
push ebx
push eax
call esi
add esp, 0x10
cmp dword [edi + 0x40], 0x10
jb 0x4763a5
mov eax, dword [edi + 0x2c]
jmp 0x4763a8
lea eax, [edi + 0x2c]
push eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
inc dword [ebp - 8]
jmp 0x4762c0
cmp byte [ebp - 2], 0
je 0x4763ff
mov eax, dword [ebp - 8]
dec eax
push eax
push str.User
lea eax, [ebp - 0x24]
push ebx
push eax
call esi
add esp, 0x10
cmp dword [edi + 0x40], 0x10
jb 0x4763eb
mov eax, dword [edi + 0x2c]
jmp 0x4763ee
lea eax, [edi + 0x2c]
push eax
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0x10
jb 0x47640d
mov eax, dword [eax + 8]
jmp 0x476410
add eax, 8
push dword [ebp + 0xc]
push eax
push 0x4a7d00
lea eax, [ebp - 0x24]
push str._s_s_d
push eax
call esi
add esp, 0x14
cmp dword [edi + 0x40], 0x10
jb 0x476432
mov edi, dword [edi + 0x2c]
jmp 0x476435
add edi, 0x2c
push edi
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x476cd6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [esi], 0xabb6
cmp dword [eax + 0x40], 0x10
jb 0x476ced
mov eax, dword [eax + 0x2c]
jmp 0x476cf0
add eax, 0x2c
push eax
push 0x64
lea eax, [ebp - 0x68]
push eax
push 0x4a4630
push str.LocalSetupPortNo
push str.GLOBAL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x476d42
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x68]
push 0x4a4e30
push eax
mov dword [ebp - 4], 0x15
call dword [sym.imp.MSVCR71.dll_sscanf]
add esp, 0xc
cmp eax, 1
jne 0x476d42
mov eax, dword [ebp - 4]
test eax, eax
jle 0x476d42
cmp eax, 0x10000
jge 0x476d42
mov dword [esi], eax
leave
ret

Function at 0x476d44
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
push edi
mov esi, eax
mov eax, dword [ebx]
mov edi, 0x4a4630
push edi
mov ecx, ebx
call dword [eax + 8]
cmp dword [esi + 0x40], 0x10
jb 0x476d66
mov esi, dword [esi + 0x2c]
jmp 0x476d69
add esi, 0x2c
push esi
push 0x64
lea eax, [ebp - 0x64]
push eax
push edi
push str.LocalSetupPassword
push str.GLOBAL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
pop edi
pop esi
je 0x476d92
mov eax, dword [ebx]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, ebx
call dword [eax + 8]
leave
ret
Function at 0x477024
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push esi
push dword [edi + 0xc0]
lea eax, [ebp - 0xe0]
push str.SOFTWARECat_SoftServ_UDomains_
push str._s_d
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
lea eax, [ebp - 0xe0]
push eax
mov esi, reloc.WS2_32.dll_bind
push esi
call fcn.00482bb3
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0x20006
push 0
push str.SOFTWARECat_SoftServ_UDomainsDomainList
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
pop esi
jne 0x4770a4
push 0xa
lea eax, [ebp - 0x18]
push eax
push dword [edi + 0xc0]
call dword [sym.imp.MSVCR71.dll__itoa]
add esp, 0xc
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x4770a6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [esi + 0xb8]
or dword [esi + 0xc4], 0xffffffff
push ebx
push edi
xor ebx, ebx
xor edi, edi
sub eax, ebx
je 0x4770d6
dec eax
je 0x4770d1
dec eax
jne 0x4770d8
push 2
pop edi
jmp 0x4770d8
xor edi, edi
inc edi
jmp 0x4770d8
xor edi, edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.SOFTWARECat_SoftServ_UDomainsDomainList
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x477193
push 0xa
lea eax, [ebp - 0xd0]
push eax
push dword [esi + 0xc0]
call dword [sym.imp.MSVCR71.dll__itoa]
add esp, 0xc
cmp dword [esi + 0x68], 0x10
jb 0x477124
mov edx, dword [esi + 0x54]
jmp 0x477127
lea edx, [esi + 0x54]
cmp dword [esi + 0x44], 0x10
jb 0x477132
mov ecx, dword [esi + 0x30]
jmp 0x477135
lea ecx, [esi + 0x30]
cmp dword [esi + 0x20], 0x10
jb 0x477140
mov eax, dword [esi + 0xc]
jmp 0x477143
lea eax, [esi + 0xc]
push edi
push edx
push dword [esi + 0xd0]
push ecx
push eax
lea eax, [ebp - 0x2c4]
push str._s_s_d_s_d
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
lea eax, [ebp - 0x2c4]
push eax
call sub.MSVCR71.dll_strlen
add esp, 0x20
inc eax
push eax
lea eax, [ebp - 0x2c4]
push eax
push 1
push ebx
lea eax, [ebp - 0xd0]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
leave
ret
Function at 0x4780d5
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x49ae4e
call fcn.00497cb0
sub esp, 0x3b8
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 4]
push ebx
push eax
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00402f79
push str.GroupList
push dword [ebp + 0xc]
lea eax, [ebp - 0x1d0]
push str.SOFTWARECat_SoftServ_UDomains_
push str._s_d_s
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x14
lea eax, [ebp - 0x18]
push eax
push 0x20019
xor ebx, ebx
push ebx
lea eax, [ebp - 0x1d0]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4781d8
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3c4]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x108]
push eax
mov dword [ebp + 0xc], ebx
push ebx
jmp 0x4781b7
cmp byte [ebp - 0x108], bl
je 0x478199
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x40]
call fcn.00483361
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], ebx
call fcn.00402f39
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004835c3
inc dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x3c4]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 0x1f4
mov dword [ebp - 0x10], 0xc8
call esi
test eax, eax
je 0x478167
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4781e7
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x49a9de
call fcn.00497cb0
sub esp, 0x3c4
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 4]
push ebx
push esi
push eax
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00402f79
mov esi, dword [ebp + 0xc]
mov ebx, dword [esi + 8]
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.004647fa
push dword [eax + 4]
push dword [eax]
xor eax, eax
push ebx
push eax
lea ebx, [ebp - 0x28]
mov eax, esi
call fcn.00464842
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
lea ebx, [ebp - 0x1c]
mov esi, edi
call fcn.004647d5
push str.UserList
push dword [ebp + 0x10]
lea eax, [ebp - 0x3d0]
push str.SOFTWARECat_SoftServ_UDomains_
push str._s_d_s
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x14
lea eax, [ebp - 0x18]
push eax
push 0x20019
xor ebx, ebx
push ebx
lea eax, [ebp - 0x3d0]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x478375
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x308]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x24], ebx
push ebx
jmp 0x47834d
cmp byte [ebp - 0x114], bl
je 0x47832f
cmp byte [ebp - 0x308], 0x30
mov byte [ebp - 0x1c], 1
mov dword [ebp + 0x10], ebx
jne 0x4782c6
mov byte [ebp - 0x1c], bl
cmp byte [ebp - 0x307], 0x7c
jne 0x4782f0
cmp byte [ebp - 0x306], 0x30
je 0x4782f0
lea eax, [ebp - 0x306]
push eax
call dword [sym.imp.MSVCR71.dll_atol]
cmp eax, ebx
pop ecx
mov dword [ebp + 0x10], eax
jge 0x4782f0
mov dword [ebp + 0x10], ebx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00483361
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 4], ebx
call fcn.00402f39
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004835c3
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
call fcn.00464818
lea esi, [ebp + 0x10]
mov eax, edi
call fcn.004647a0
inc dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x308]
push eax
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x18]
mov dword [ebp - 0x14], 0x1f4
mov dword [ebp - 0x10], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x4782ab
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x478385
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x49ae4e
call fcn.00497cb0
sub esp, 0x8fc
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.00402f79
push dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push str.UserSettings
push dword [ebp + 8]
push str.SOFTWARECat_SoftServ_UDomains_
push str._s_d_s_s
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x478457
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x908]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push str.Group
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x47844e
cmp dword [ebp - 0x18], 1
jne 0x47844e
cmp dword [ebp - 0x14], eax
je 0x47844e
lea eax, [ebp - 0x908]
push eax
lea ecx, [ebp - 0x40]
call fcn.00483361
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.0048323b
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x40]
call fcn.004835c3
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 8
Function at 0x47ad54
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xcc
push ebx
push esi
push edi
mov edi, dword [sym.imp.MSVCR71.dll_sprintf]
push str.UserList
push dword [ebp + 0x7c]
mov esi, eax
push str.SOFTWARECat_SoftServ_UDomains_
lea eax, [ebp - 0x58]
push str._s_d_s
push eax
call edi
add esp, 0x14
lea eax, [ebp + 0x70]
push eax
push 0x20006
push 0
lea eax, [ebp - 0x58]
push eax
mov ebx, reloc.WS2_32.dll_bind
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47adf9
cmp dword [esi + 0x1c], 0x10
jb 0x47adaf
mov eax, dword [esi + 8]
jmp 0x47adb2
lea eax, [esi + 8]
push eax
push dword [ebp + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi + 0x1c], 0x10
jb 0x47add0
mov esi, dword [esi + 8]
jmp 0x47add3
add esi, 8
push esi
push str.UserSettings
push dword [ebp + 0x7c]
lea eax, [ebp - 0x58]
push str.SOFTWARECat_SoftServ_UDomains_
push str._s_d_s_s
push eax
call edi
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.00482bb3
add esp, 0x20
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4
Function at 0x47b3e6
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xcc
push ebx
push esi
push edi
mov edi, dword [sym.imp.MSVCR71.dll_sprintf]
push str.GroupList
push dword [ebp + 0x7c]
mov esi, eax
push str.SOFTWARECat_SoftServ_UDomains_
lea eax, [ebp - 0x58]
push str._s_d_s
push eax
call edi
add esp, 0x14
lea eax, [ebp + 0x70]
push eax
push 0x20006
push 0
lea eax, [ebp - 0x58]
push eax
mov ebx, reloc.WS2_32.dll_bind
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x47b48b
cmp dword [esi + 0x1c], 0x10
jb 0x47b441
mov eax, dword [esi + 8]
jmp 0x47b444
lea eax, [esi + 8]
push eax
push dword [ebp + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi + 0x1c], 0x10
jb 0x47b462
mov esi, dword [esi + 8]
jmp 0x47b465
add esi, 8
push esi
push str.GroupSettings
push dword [ebp + 0x7c]
lea eax, [ebp - 0x58]
push str.SOFTWARECat_SoftServ_UDomains_
push str._s_d_s_s
push eax
call edi
lea eax, [ebp - 0x58]
push eax
push ebx
call fcn.00482bb3
add esp, 0x20
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4

Function at 0x47b495
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
push ebx
push esi
push str.UserList
push dword [ebp + 8]
mov esi, eax
push str.SOFTWARECat_SoftServ_UDomains_
lea eax, [ebp - 0xd0]
push str._s_d_s
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x14
lea eax, [ebp + 8]
push eax
push 0x20019
xor ebx, ebx
push ebx
lea eax, [ebp - 0xd0]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x47b4ea
xor al, al
jmp 0x47b530
cmp dword [esi + 0x1c], 0x10
mov dword [ebp - 8], 0x12c
jb 0x47b4fc
mov esi, dword [esi + 8]
jmp 0x47b4ff
add esi, 8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x47b525
cmp dword [ebp - 4], 1
jne 0x47b525
mov bl, 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop esi
pop ebx
leave
ret 4
Function at 0x47b536
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
push ebx
push esi
push str.GroupList
push dword [ebp + 8]
mov esi, eax
push str.SOFTWARECat_SoftServ_UDomains_
lea eax, [ebp - 0xd0]
push str._s_d_s
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x14
lea eax, [ebp + 8]
push eax
push 0x20019
xor ebx, ebx
push ebx
lea eax, [ebp - 0xd0]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x47b58b
xor al, al
jmp 0x47b5d1
cmp dword [esi + 0x1c], 0x10
mov dword [ebp - 8], 0x12c
jb 0x47b59d
mov esi, dword [esi + 8]
jmp 0x47b5a0
add esi, 8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x47b5c6
cmp dword [ebp - 4], 1
jne 0x47b5c6
mov bl, 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop esi
pop ebx
leave
ret 4
Function at 0x47e9fb
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 8]
xor ebx, ebx
cmp byte [esi + 0x15], bl
push edi
mov edi, dword [esi + 4]
mov dword [ebp - 4], eax
jne 0x47ea9d
push 1
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 8], eax
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x47ea41
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push ebx
push ebx
push 0x12
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
test eax, eax
je 0x47ea87
push 0xffffffffffffffff
push dword [ebp - 8]
mov byte [esi + 0x14], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x47ea7a
cmp dword [ebp - 4], 0x103
jne 0x47ea94
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 4]
push eax
push edi
call esi
test eax, eax
jne 0x47ea69
jmp 0x47ea94
push ebx
push dword [esi + 4]
mov dword [esi + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4827ea
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], ebx
xor esi, esi
mov dword [edx], ebx
mov byte [ebp - 1], bl
mov byte [ebp - 9], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xc], bl
xor ecx, ecx
cmp byte [ebp - 1], bl
jne 0x48287b
mov eax, dword [ebp - 0x10]
mov al, byte [eax + edi]
inc dword [ebp - 0x10]
xor ebx, ebx
cmp al, bl
je 0x482872
cmp al, 0x41
jl 0x482833
cmp al, 0x5a
jg 0x482833
sub al, 0x41
jmp 0x482849
cmp al, 0x61
jl 0x48283f
cmp al, 0x7a
jg 0x48283f
sub al, 0x47
jmp 0x482849
cmp al, 0x30
jl 0x48284f
cmp al, 0x39
jg 0x48284f
add al, 4
mov byte [ebp + ecx - 0xc], al
jmp 0x48286a
cmp al, 0x2b
jne 0x48285a
mov byte [ebp + ecx - 0xc], 0x3e
jmp 0x48286a
cmp al, 0x2f
jne 0x482865
mov byte [ebp + ecx - 0xc], 0x3f
jmp 0x48286a
cmp al, 0x3d
jne 0x48286b
inc esi
inc ecx
cmp ecx, 4
jl 0x482813
jmp 0x48287b
push 4
pop esi
mov byte [ebp - 1], 1
sub esi, ecx
cmp ecx, ebx
jne 0x482884
cmp byte [ebp - 1], bl
jne 0x4828e9
mov al, byte [ebp - 0xb]
mov cl, byte [ebp - 0xc]
mov bl, al
shr bl, 4
and bl, 3
shl cl, 2
or bl, cl
mov cl, byte [ebp - 0xa]
mov byte [ebp - 8], bl
mov bl, cl
shl al, 4
shr bl, 2
and bl, 0xf
or bl, al
mov al, byte [ebp - 9]
and al, 0x3f
shl cl, 6
or al, cl
mov byte [ebp - 6], al
push 3
pop eax
mov byte [ebp - 7], bl
xor ebx, ebx
sub eax, esi
xor ecx, ecx
cmp eax, ebx
jle 0x4828dc
mov edx, dword [edx]
mov bl, byte [ebp + ecx - 8]
mov byte [edi + edx], bl
mov edx, dword [ebp + 0xc]
inc dword [edx]
inc ecx
cmp ecx, eax
jl 0x4828c7
xor ebx, ebx
cmp esi, ebx
jne 0x4828e9
cmp byte [ebp - 1], bl
je 0x482805
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4828ee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b8484]
push esi
push edi
push 8
pop ecx
mov esi, str.__43k_0l_:_nklsj_902mlkn__l
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test esi, esi
sete byte [ebp + 0xf]
test esi, esi
mov dword [ebp - 4], eax
jne 0x482924
push edi
call sub.MSVCR71.dll_strlen
pop ecx
mov esi, eax
xor ecx, ecx
test esi, esi
jle 0x482940
push ebx
mov eax, ecx
cdq
push 0x20
pop ebx
idiv ebx
mov al, byte [ebp + edx - 0x24]
xor byte [ecx + edi], al
inc ecx
cmp ecx, esi
jl 0x48292b
pop ebx
cmp byte [ebp + 0xf], 0
je 0x48294f
push esi
push edi
call fcn.00482718
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
call fcn.00497c9c
leave
ret