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

Disassembly:
mov eax, 0x49a150
call fcn.00497a30
sub esp, 0x348
mov eax, dword [esi + 8]
push edi
mov edi, ecx
mov ecx, dword [esi + 4]
push eax
push ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.00402f3b
push dword [ebp + 8]
lea eax, [ebp - 0x160]
push dword [ebp + 0xc]
push str.User
push 0x4a7cdc
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x14
cmp dword [edi + 0x40], 0x10
jb 0x47009e
mov edi, dword [edi + 0x2c]
jmp 0x4700a1
add edi, 0x2c
push edi
push 0x1f4
lea eax, [ebp - 0x354]
push eax
push 0x4a4630
push str.Group
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x354], 0
pop edi
je 0x4700fa
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x34]
call fcn.00483141
and dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.0048301b
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
call fcn.004833a3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4713e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x40], 0x10
push edi
jb 0x4713f5
mov eax, dword [esi + 0x2c]
jmp 0x4713f8
lea eax, [esi + 0x2c]
push eax
push 5
lea eax, [ebp - 8]
push eax
push 0x4a4630
mov ebx, str.PASVPortRange
push ebx
mov edi, str.GLOBAL
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
test eax, eax
pop ecx
je 0x471459
cmp eax, 5
jle 0x471459
push 5
lea eax, [ebp - 8]
push 0x4a4e30
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0xc
cmp dword [esi + 0x40], 0x10
jb 0x471449
mov esi, dword [esi + 0x2c]
jmp 0x47144c
add esi, 0x2c
push esi
lea eax, [ebp - 8]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47386e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
push esi
mov esi, dword [sym.imp.MSVCR71.dll_sprintf]
push edi
push dword [ebp + 0xc]
mov edi, str._s_d
push str.Domain
lea eax, [ebp - 0x3c]
push edi
push eax
mov dword [ebp - 4], 1
call esi
add esp, 0x10
push dword [ebp - 4]
lea eax, [ebp - 0x20]
push str.User
push edi
push eax
call esi
add esp, 0x10
cmp dword [ebx + 0x40], 0x10
jb 0x4738ba
mov eax, dword [ebx + 0x2c]
jmp 0x4738bd
lea eax, [ebx + 0x2c]
push eax
push 0x12c
lea eax, [ebp - 0x168]
push eax
push 0x4a4630
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x168], 0
je 0x47392f
push 0
push 0
lea eax, [ebp - 0x168]
push 0x7c
push eax
call fcn.00483b18
add esp, 0x10
test eax, eax
je 0x473902
mov byte [eax], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0x10
jb 0x473910
mov eax, dword [eax + 8]
jmp 0x473913
add eax, 8
lea ecx, [ebp - 0x168]
push ecx
push eax
call dword [sym.imp.MSVCR71.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x473933
inc dword [ebp - 4]
jmp 0x47389d
xor al, al
jmp 0x473935
mov al, 1
pop edi
pop esi
leave
ret 8

Function at 0x47393b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
push esi
mov esi, dword [sym.imp.MSVCR71.dll_sprintf]
push edi
push dword [ebp + 0xc]
mov edi, str._s_d
push str.Domain
lea eax, [ebp - 0x3c]
push edi
push eax
mov dword [ebp - 4], 1
call esi
add esp, 0x10
push dword [ebp - 4]
lea eax, [ebp - 0x20]
push str.Group
push edi
push eax
call esi
add esp, 0x10
cmp dword [ebx + 0x40], 0x10
jb 0x473987
mov eax, dword [ebx + 0x2c]
jmp 0x47398a
lea eax, [ebx + 0x2c]
push eax
push 0x12c
lea eax, [ebp - 0x168]
push eax
push 0x4a4630
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x168], 0
je 0x4739fc
push 0
push 0
lea eax, [ebp - 0x168]
push 0x7c
push eax
call fcn.00483b18
add esp, 0x10
test eax, eax
je 0x4739cf
mov byte [eax], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0x10
jb 0x4739dd
mov eax, dword [eax + 8]
jmp 0x4739e0
add eax, 8
lea ecx, [ebp - 0x168]
push ecx
push eax
call dword [sym.imp.MSVCR71.dll__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x473a00
inc dword [ebp - 4]
jmp 0x47396a
xor al, al
jmp 0x473a02
mov al, 1
pop edi
pop esi
leave
ret 8
Function at 0x4757a7
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x49bf54
call fcn.00497a30
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.0046fed7
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x24]
mov byte [ebp - 0xd], 0
call fcn.00402ee5
test eax, eax
jbe 0x475977
mov edi, dword [ebp - 0x20]
add edi, 8
cmp byte [ebp - 0xd], 0
jne 0x475870
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0x10
jb 0x47582b
mov eax, dword [eax + 8]
jmp 0x47582e
add eax, 8
cmp dword [edi + 0x14], 0x10
jb 0x475838
mov ecx, dword [edi]
jmp 0x47583a
mov ecx, edi
push eax
push ecx
call dword [sym.imp.MSVCR71.dll__stricmp]
test eax, eax
pop ecx
pop ecx
jne 0x475853
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.00402ee5
cmp dword [ebp - 0x14], eax
jb 0x475817
cmp byte [ebp - 0xd], 0
je 0x475977
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 0x4758ad
mov eax, dword [esi + 0x2c]
jmp 0x4758b0
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.00483b18
add esp, 0x10
test eax, eax
je 0x47591e
test bl, bl
setne cl
add cl, 0x30
mov byte [eax + 1], cl
cmp dword [esi + 0x40], 0x10
jb 0x475902
mov eax, dword [esi + 0x2c]
jmp 0x475905
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 0x47592c
mov eax, dword [eax + 8]
jmp 0x47592f
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 0x475960
mov esi, dword [esi + 0x2c]
jmp 0x475963
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.00454b8d
and dword [ebp - 0x3c], 0
lea esi, [ebp - 0x38]
call fcn.00454b8d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00403093
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x475c77
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 0x475cce
mov eax, dword [edi + 0x2c]
jmp 0x475cd1
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 0x475db7
push 0
push 0
lea eax, [ebp - 0x16c]
push 0x7c
push eax
call fcn.00483b18
add esp, 0x10
test eax, eax
je 0x475d21
lea ecx, [ebp - 0x16c]
sub eax, ecx
jmp 0x475d2e
lea eax, [ebp - 0x16c]
push eax
call sub.MSVCR71.dll_strlen
pop ecx
cmp byte [ebp - 1], 0
jne 0x475d6e
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x18]
jne 0x475daf
cmp dword [ecx + 0x1c], 0x10
jb 0x475d47
mov ecx, dword [ecx + 8]
jmp 0x475d4a
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 0x475daf
mov byte [ebp - 1], 1
mov byte [ebp - 2], 1
mov byte [ebp - 0x16c], al
cmp byte [ebp - 0x16c], 0
je 0x475daf
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 0x475d96
mov eax, dword [edi + 0x2c]
jmp 0x475d99
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 0x475cb1
cmp byte [ebp - 2], 0
je 0x475df0
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 0x475ddc
mov eax, dword [edi + 0x2c]
jmp 0x475ddf
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 0x475dfe
mov eax, dword [eax + 8]
jmp 0x475e01
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 0x475e23
mov edi, dword [edi + 0x2c]
jmp 0x475e26
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 0x4766c7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [esi], 0xabb6
cmp dword [eax + 0x40], 0x10
jb 0x4766de
mov eax, dword [eax + 0x2c]
jmp 0x4766e1
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 0x476733
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 0x476733
mov eax, dword [ebp - 4]
test eax, eax
jle 0x476733
cmp eax, 0x10000
jge 0x476733
mov dword [esi], eax
leave
ret

Function at 0x476735
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 0x476757
mov esi, dword [esi + 0x2c]
jmp 0x47675a
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 0x476783
mov eax, dword [ebx]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, ebx
call dword [eax + 8]
leave
ret
Function at 0x476a15
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.00482993
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 0x476a95
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 0x476a97
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 0x476ac7
dec eax
je 0x476ac2
dec eax
jne 0x476ac9
push 2
pop edi
jmp 0x476ac9
xor edi, edi
inc edi
jmp 0x476ac9
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 0x476b84
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 0x476b15
mov edx, dword [esi + 0x54]
jmp 0x476b18
lea edx, [esi + 0x54]
cmp dword [esi + 0x44], 0x10
jb 0x476b23
mov ecx, dword [esi + 0x30]
jmp 0x476b26
lea ecx, [esi + 0x30]
cmp dword [esi + 0x20], 0x10
jb 0x476b31
mov eax, dword [esi + 0xc]
jmp 0x476b34
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 0x477ac6
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x49abce
call fcn.00497a30
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.00402f3b
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 0x477bc9
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 0x477ba8
cmp byte [ebp - 0x108], bl
je 0x477b8a
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x40]
call fcn.00483141
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], ebx
call fcn.00402efb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004833a3
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 0x477b58
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 0x477bd8
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x49a75e
call fcn.00497a30
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.00402f3b
mov esi, dword [ebp + 0xc]
mov ebx, dword [esi + 8]
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.0046446b
push dword [eax + 4]
push dword [eax]
xor eax, eax
push ebx
push eax
lea ebx, [ebp - 0x28]
mov eax, esi
call fcn.004644b3
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
lea ebx, [ebp - 0x1c]
mov esi, edi
call fcn.004649bb
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 0x477d66
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 0x477d3e
cmp byte [ebp - 0x114], bl
je 0x477d20
cmp byte [ebp - 0x308], 0x30
mov byte [ebp - 0x1c], 1
mov dword [ebp + 0x10], ebx
jne 0x477cb7
mov byte [ebp - 0x1c], bl
cmp byte [ebp - 0x307], 0x7c
jne 0x477ce1
cmp byte [ebp - 0x306], 0x30
je 0x477ce1
lea eax, [ebp - 0x306]
push eax
call dword [sym.imp.MSVCR71.dll_atol]
cmp eax, ebx
pop ecx
mov dword [ebp + 0x10], eax
jge 0x477ce1
mov dword [ebp + 0x10], ebx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00483141
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 4], ebx
call fcn.00402efb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004833a3
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
call fcn.00464489
lea esi, [ebp + 0x10]
mov eax, edi
call fcn.00464436
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 0x477c9c
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 0x477d76
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x49abce
call fcn.00497a30
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.00402f3b
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 0x477e48
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 0x477e3f
cmp dword [ebp - 0x18], 1
jne 0x477e3f
cmp dword [ebp - 0x14], eax
je 0x477e3f
lea eax, [ebp - 0x908]
push eax
lea ecx, [ebp - 0x40]
call fcn.00483141
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.0048301b
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x40]
call fcn.004833a3
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 0x47a745
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 0x47a7ea
cmp dword [esi + 0x1c], 0x10
jb 0x47a7a0
mov eax, dword [esi + 8]
jmp 0x47a7a3
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 0x47a7c1
mov esi, dword [esi + 8]
jmp 0x47a7c4
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.00482993
add esp, 0x20
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4
Function at 0x47add7
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 0x47ae7c
cmp dword [esi + 0x1c], 0x10
jb 0x47ae32
mov eax, dword [esi + 8]
jmp 0x47ae35
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 0x47ae53
mov esi, dword [esi + 8]
jmp 0x47ae56
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.00482993
add esp, 0x20
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4

Function at 0x47ae86
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 0x47aedb
xor al, al
jmp 0x47af21
cmp dword [esi + 0x1c], 0x10
mov dword [ebp - 8], 0x12c
jb 0x47aeed
mov esi, dword [esi + 8]
jmp 0x47aef0
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 0x47af16
cmp dword [ebp - 4], 1
jne 0x47af16
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 0x47af27
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 0x47af7c
xor al, al
jmp 0x47afc2
cmp dword [esi + 0x1c], 0x10
mov dword [ebp - 8], 0x12c
jb 0x47af8e
mov esi, dword [esi + 8]
jmp 0x47af91
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 0x47afb7
cmp dword [ebp - 4], 1
jne 0x47afb7
mov bl, 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop esi
pop ebx
leave
ret 4