joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ae40
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push edi
xor eax, eax
push 4
push eax
mov ecx, 0x80
lea edi, [ebp - 0x21c]
push eax
rep stosd dword es:[edi], eax
call dword [0x472050]
mov edi, eax
test edi, edi
jne 0x40ae97
call dword [0x4722b8]
push eax
lea eax, [ebp - 0x21c]
push str.bGlobalServiceAlive._failed_to_open_SCM._err_d
push eax
call fcn.00460f01
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004113d0
add esp, 0x10
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [0x49b638], 7
mov eax, str.Ati_HotKey_Poller
jbe 0x40aeaa
mov eax, str.Ati_External_Event_Utility
push esi
push 4
push eax
push edi
call dword [0x472054]
mov esi, eax
test esi, esi
jne 0x40aef1
call dword [0x4722b8]
push eax
lea edx, [ebp - 0x21c]
push str.bGlobalServiceAlive._failed_to_OpenService._err_d
push edx
call fcn.00460f01
lea eax, [ebp - 0x21c]
push eax
call fcn.004113d0
add esp, 0x10
push edi
call dword [0x472058]
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
push edx
mov dword [ebp - 8], ecx
push esi
mov dword [ebp - 4], ecx
call dword [0x472044]
test eax, eax
jne 0x40af52
call dword [0x4722b8]
push eax
lea eax, [ebp - 0x21c]
push str.bGlobalServiceAlive._failed_to_QueryServiceStatus._err_d
push eax
call fcn.00460f01
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004113d0
add esp, 0x10
push edi
mov edi, dword [0x472058]
call edi
push esi
call edi
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [0x472058]
call edi
push esi
call edi
mov ecx, dword [ebp - 0x18]
xor eax, eax
cmp ecx, 4
pop esi
sete al
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40b5a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov ecx, dword [0x49b704]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
push esi
push eax
push ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0xc], eax
call fcn.00424c50
mov esi, eax
add esp, 8
test esi, esi
je 0x40b61e
lea edx, [ebp - 0x28]
push edx
push esi
call fcn.00426530
add esp, 8
test eax, eax
jne 0x40b61e
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
push esi
mov dword [ebp - 0xc], eax
call dword [0x4722c0]
xor esi, esi
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40b62a
mov eax, 0x80000001
lea ecx, [ebp - 4]
push ecx
push 0x2001f
push 0
push str.Control_PanelDesktop_
push eax
call dword [0x472074]
test eax, eax
jne 0x40b6a2
push edi
mov ecx, 0x41
lea edi, [ebp - 0x134]
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x2c]
push edx
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 0
push str.ScreenSaverIsSecure
push edx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0x104
call dword [0x472078]
test eax, eax
pop edi
jne 0x40b698
lea eax, [ebp - 0x134]
push eax
call fcn.00461605
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [0x47207c]
test esi, esi
je 0x40b6ba
lea edx, [ebp - 0x28]
push edx
push esi
call fcn.00426630
add esp, 8
push esi
call dword [0x4722c0]
mov ecx, dword [ebp - 8]
xor eax, eax
test ecx, ecx
setne al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40e290
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push edi
xor eax, eax
mov ecx, 0x80
lea edi, [ebp - 0x208]
rep stosd dword es:[edi], eax
test dword [0x49a0e8], 0x10000
mov dword [ebp - 8], 1
je 0x40e2ca
push str.WinMain:_StartBlobalService_Trigger__n
call fcn.0040acd0
add esp, 4
push 4
push 0
push 0
call dword [0x472050]
mov esi, eax
test esi, esi
mov dword [ebp - 4], esi
jne 0x40e30e
call dword [0x4722b8]
push eax
lea eax, [ebp - 0x208]
push str.bGlobalServiceAlive._failed_to_open_SCM._err_d
push eax
call fcn.00460f01
lea ecx, [ebp - 0x208]
push ecx
call fcn.004113d0
add esp, 0x10
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [0x49b638], 7
mov eax, str.Ati_HotKey_Poller
jbe 0x40e321
mov eax, str.Ati_External_Event_Utility
push 0x10
push eax
push esi
call dword [0x472054]
mov edi, eax
test edi, edi
jne 0x40e367
call dword [0x4722b8]
push eax
lea edx, [ebp - 0x208]
push str.StartGlobalService._failed_to_OpenService._err_d
push edx
call fcn.00460f01
lea eax, [ebp - 0x208]
push eax
call fcn.004113d0
add esp, 0x10
push esi
call dword [0x472058]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [0x47203c]
xor esi, esi
push 0
push 0
push edi
inc esi
call ebx
test eax, eax
jne 0x40e38c
push 0x1f4
call dword [0x4722b0]
cmp esi, 0xa
jl 0x40e370
cmp esi, 0xa
jne 0x40e3bc
call dword [0x4722b8]
push eax
lea ecx, [ebp - 0x208]
push str.StartGlobalService._failed_to_StartService._err_d
push ecx
call fcn.00460f01
lea edx, [ebp - 0x208]
push edx
call fcn.004113d0
add esp, 0x10
xor ebx, ebx
jmp 0x40e3bf
mov ebx, dword [ebp - 8]
mov esi, dword [0x472058]
push edi
call esi
mov eax, dword [ebp - 4]
push eax
call esi
test dword [0x49a0e8], 0x10000
je 0x40e3e7
push str.WinMain:_StartBlobalService_Finish__n
call fcn.0040acd0
add esp, 4
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x411590
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push str.Entering_CNTService::Initialize__
mov esi, ecx
call fcn.0040acd0
mov eax, dword [esi + 0x4c]
push 2
push eax
push str.CNTService::SetStatus__lu___lu_
call fcn.0040acd0
mov ecx, dword [esi + 0x4c]
add esp, 0x10
lea ebx, [esi + 0x50]
push ebx
push ecx
mov dword [esi + 0x54], 2
call dword [0x47202c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov edi, eax
call dword [0x4722b8]
xor ecx, ecx
cmp edi, ecx
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x6c]
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
jne 0x411654
cmp eax, ecx
jne 0x41160b
lea eax, [esi + 4]
push eax
push ecx
call dword [0x472030]
mov dword [esi + 0x6c], eax
xor ecx, ecx
mov eax, dword [esi + 0x6c]
cmp eax, ecx
je 0x411626
push ecx
lea edx, [ebp - 0xc]
push edx
push ecx
push ecx
push ecx
push 0x68
push ecx
push 1
push eax
call dword [0x472034]
mov eax, dword [esi + 0x4c]
push 1
push eax
push str.CNTService::SetStatus__lu___lu_
call fcn.0040acd0
mov ecx, dword [esi + 0x4c]
add esp, 0xc
push ebx
push ecx
mov dword [esi + 0x54], 1
call dword [0x47202c]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, ecx
jne 0x411668
lea edx, [esi + 4]
push edx
push ecx
call dword [0x472030]
mov dword [esi + 0x6c], eax
xor ecx, ecx
mov eax, dword [esi + 0x6c]
cmp eax, ecx
je 0x411683
push ecx
lea edx, [ebp - 0xc]
push edx
push ecx
push ecx
push ecx
push 0x69
push ecx
push 4
push eax
call dword [0x472034]
mov eax, dword [esi + 0x4c]
push 4
push eax
push str.CNTService::SetStatus__lu___lu_
call fcn.0040acd0
mov ecx, dword [esi + 0x4c]
add esp, 0xc
push ebx
push ecx
mov dword [esi + 0x54], 4
call dword [0x47202c]
push str.Leaving_CNTService::Initialize__
call fcn.0040acd0
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4116d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ebp + 0xc]
push esi
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], str.WinSta0Default
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x28], esi
mov word [ebp - 0x24], si
mov dword [ebp - 0x20], esi
mov word [ebp - 0x22], si
mov eax, str.Ati2evxx.exe__NoLogOnClient
jne 0x411718
mov eax, str.Ati2evxx.exe__Client
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x54]
push edx
push esi
push esi
push 0x20
push esi
push esi
push esi
push eax
mov eax, dword [ebp + 8]
push esi
push eax
call dword [0x472028]
test eax, eax
jne 0x41174d
push str.Failed_to_Create_Ati2evxx.exe_process_n
call fcn.0040acd0
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
push str.Client_Ati2evxx.exe_created_n
call fcn.0040acd0
mov eax, dword [ebp - 0x10]
add esp, 4
cmp eax, esi
je 0x41176e
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x4722c0]
mov eax, dword [ebp - 0x10]
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x411800
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x4a8ae4]
push edi
mov edi, dword [ebp + 8]
push edi
push str.CNTService::Handler__lu_
call fcn.0040acd0
lea eax, [edi - 1]
add esp, 8
cmp eax, 4
ja case.default.0x41182b
jmp dword [eax*4 + 0x411958]
push 3
mov ecx, esi
call fcn.00411550
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esi + 0x6c]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
jne 0x411869
lea eax, [esi + 4]
push eax
push edi
call dword [0x472030]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x6c]
cmp eax, edi
je 0x411884
push edi
lea ecx, [ebp - 0xc]
push ecx
push edi
push edi
push edi
push 0x6c
push edi
push 4
push eax
call dword [0x472034]
mov ecx, 0x4a87a8
call fcn.00416110
jmp 0x41192b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
jmp 0x41192b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
jmp 0x41192b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
jmp 0x41192b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov dword [esi + 0x54], 1
jmp 0x41192b
cmp edi, 0x80
jb 0x4118f0
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x24]
test eax, eax
jne 0x41192b
mov eax, dword [esi + 0x6c]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
jne 0x411910
lea eax, [esi + 4]
push eax
jmp 0x411906
mov eax, dword [esi + 0x6c]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
jne 0x411910
lea edx, [esi + 4]
push edx
push edi
call dword [0x472030]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x6c]
cmp eax, edi
je 0x41192b
push edi
lea ecx, [ebp - 0xc]
push ecx
push edi
push edi
push edi
push 0x6a
push edi
push 1
push eax
call dword [0x472034]
mov edx, dword [esi + 0x54]
mov eax, dword [esi + 0x4c]
push edx
push eax
push str.Updating_status___lu___lu_
call fcn.0040acd0
mov edx, dword [esi + 0x4c]
add esp, 0xc
lea ecx, [esi + 0x50]
push ecx
push edx
call dword [0x47202c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x411ab0
Capabilities:
Access the windows event log
Create service
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push ebx
push esi
push 6
push 0
mov ebx, ecx
push 0
mov dword [ebp - 0x14], ebx
call dword [0x472050]
mov esi, eax
test esi, esi
mov dword [ebp - 0xc], esi
je 0x411b1f
push 0x104
lea eax, [ebp - 0x124]
push eax
push 0
call dword [0x47225c]
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x124]
push ecx
push 1
push 2
push 0x110
push 0x10
add ebx, 4
push ebx
push ebx
push esi
call dword [0x472020]
test eax, eax
mov dword [ebp - 8], eax
jne 0x411b27
push esi
call dword [0x472058]
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov ecx, 0xe
mov esi, str.SYSTEMCurrentControlSetServicesEventLogApplication_
lea edi, [ebp - 0x224]
mov eax, ebx
mov dword [ebp - 4], 0
rep movsd dword es:[edi], dword [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411b45
lea edi, [ebp - 0x224]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x411b55
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x224]
push eax
and ecx, 3
push 0x80000002
rep movsb byte es:[edi], byte [esi]
call dword [0x472024]
test eax, eax
je 0x411ba2
mov ecx, dword [ebp - 8]
mov esi, dword [0x472058]
push ecx
call esi
mov edx, dword [ebp - 0xc]
push edx
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x124]
lea edx, [eax + 1]
jmp 0x411bb0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411bb0
mov ecx, dword [ebp - 4]
mov esi, dword [0x472040]
sub eax, edx
inc eax
push eax
lea eax, [ebp - 0x124]
push eax
push 2
xor edi, edi
push edi
push str.EventMessageFile
push ecx
call esi
mov eax, dword [ebp - 4]
push 4
lea edx, [ebp - 0x10]
push edx
push 4
push edi
push str.TypesSupported
push eax
mov dword [ebp - 0x10], 7
call esi
mov ecx, dword [ebp - 4]
push ecx
call dword [0x47207c]
xor esi, esi
cmp ebx, edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
je 0x411c11
mov esi, 1
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0x6c]
test eax, eax
jne 0x411c27
push ebx
push 0
call dword [0x472030]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x411c46
push 0
lea edx, [ebp - 0x20]
push edx
push 0
push esi
push 0
push 0x64
push 0
push 4
push eax
call dword [0x472034]
mov eax, dword [ebp - 8]
mov esi, dword [0x472058]
push eax
call esi
mov ecx, dword [ebp - 0xc]
push ecx
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411c70
Capabilities:
Access the windows event log
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
push 4
xor ebx, ebx
push ebx
push ebx
mov edi, ecx
call dword [0x472050]
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x411c95
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x10000
lea esi, [edi + 4]
push esi
push eax
mov dword [ebp - 8], ebx
call dword [0x472054]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x411d52
push eax
call dword [0x47201c]
test eax, eax
mov eax, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], eax
je 0x411d0f
cmp eax, ebx
je 0x411cd8
mov dword [ebp - 4], 1
cmp dword [edi + 0x6c], ebx
jne 0x411ce8
push esi
push ebx
call dword [0x472030]
mov dword [edi + 0x6c], eax
mov edi, dword [edi + 0x6c]
cmp edi, ebx
je 0x411d06
mov ecx, dword [ebp - 4]
push ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push ecx
push ebx
push 0x65
push ebx
push 4
push edi
call dword [0x472034]
mov dword [ebp - 8], 1
jmp 0x411d48
cmp eax, ebx
je 0x411d1a
mov dword [ebp - 4], 1
cmp dword [edi + 0x6c], ebx
jne 0x411d2a
push esi
push ebx
call dword [0x472030]
mov dword [edi + 0x6c], eax
mov edi, dword [edi + 0x6c]
cmp edi, ebx
je 0x411d48
mov eax, dword [ebp - 4]
push ebx
lea edx, [ebp - 0x1c]
push edx
push ebx
push eax
push ebx
push 0x66
push ebx
push 1
push edi
call dword [0x472034]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x472058]
mov edx, dword [ebp - 0x10]
push edx
call dword [0x472058]
mov eax, dword [ebp - 8]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x412630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
test eax, eax
push edi
mov edi, dword [ebp + 0x14]
mov dword [edi], 0
jbe 0x4126ae
push ebx
push esi
mov esi, dword [ebp + 0xc]
add esi, 4
mov dword [ebp - 4], eax
mov ebx, 4
lea eax, [ebp + 0x14]
push eax
mov eax, dword [esi - 4]
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 8]
push edx
push 0
push eax
push ecx
mov dword [ebp - 8], ebx
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], ebx
call dword [0x472078]
test eax, eax
jne 0x412695
cmp dword [ebp + 0x14], ebx
jne 0x412695
cmp dword [ebp + 0x10], 1
jne 0x4126a0
mov edx, dword [esi]
or dword [edi], edx
jmp 0x4126a0
mov eax, dword [esi + 4]
test eax, eax
je 0x4126a0
mov eax, dword [esi]
or dword [edi], eax
mov eax, dword [ebp - 4]
add esi, 0xc
dec eax
mov dword [ebp - 4], eax
jne 0x412657
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4126c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4128ef
cmp byte [esi], 0
je 0x4128ef
lea eax, [ebp + 8]
push eax
push 0x2001f
push 0
push esi
push 0x80000002
call dword [0x472074]
test eax, eax
jne 0x4128ef
mov ecx, dword [0x49a0e8]
test dword [0x49a27c], ecx
je 0x412716
push esi
push str.RegPatg__s
call fcn.0040acd0
add esp, 8
push ebx
lea edx, [ebp - 4]
push edx
mov edx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push str.ATIPOLL
mov ebx, 4
push edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], 0
mov dword [ebp - 4], ebx
call dword [0x472078]
test eax, eax
jne 0x412767
cmp dword [ebp - 4], ebx
jne 0x412767
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
push edx
mov dword [eax], ecx
call dword [0x47207c]
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [edi], 0
mov dword [esi], 0
mov eax, dword [0x49b638]
cmp eax, 8
jbe 0x41278b
mov eax, 0x478610
jmp 0x412797
mov eax, 0x4784a8
je 0x412797
mov eax, 0x478830
push edi
push 0x1e
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00412630
mov eax, dword [0x49b638]
add esp, 0x10
cmp eax, 9
jb 0x4127b7
and dword [edi], 0xfffefffd
test dword [edi], 0x10000
je 0x4127ea
cmp dword [0x49b638], 8
mov eax, 0x478778
jae 0x4127d2
mov eax, 0x478998
mov ecx, dword [ebp + 8]
push esi
push 0xf
push eax
push ecx
call fcn.00412630
mov edx, dword [esi]
push edx
call fcn.00412380
add esp, 0x14
test byte [edi], 2
je 0x41280e
mov eax, dword [ebp + 8]
lea edi, [esi + 4]
push edi
push 2
push 0x478a4c
push eax
call fcn.00412630
mov ecx, dword [edi]
push ecx
call fcn.00412380
add esp, 0x14
cmp dword [0x49b638], 9
jae 0x41282e
mov eax, dword [ebp + 8]
lea edx, [esi + 8]
push edx
push 2
push 0x478a64
push eax
call fcn.00412630
add esp, 0x10
mov ecx, dword [esi + 8]
push ecx
call fcn.00412380
mov edx, dword [ebp + 8]
lea edi, [esi + 0xc]
push edi
push 7
push 0x478a80
push edx
call fcn.00412630
mov eax, dword [0x49b638]
add esp, 0x14
cmp eax, 8
jb 0x4128a8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push str.EnableLassoSupport
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], ebx
call dword [0x472078]
test eax, eax
jne 0x4128a8
cmp dword [ebp - 0xc], ebx
jne 0x4128a8
mov eax, dword [ebp - 0x10]
cmp eax, 1
jne 0x41289a
mov eax, dword [edi]
or eax, 0x40
jmp 0x4128a6
cmp eax, 2
jne 0x4128a8
mov eax, dword [edi]
or eax, 0x80
mov dword [edi], eax
mov ecx, dword [edi]
push ecx
call fcn.00412380
mov edx, dword [ebp + 8]
lea edi, [esi + 0x10]
push edi
push 1
push 0x478ad4
push edx
call fcn.00412630
mov eax, dword [edi]
push eax
call fcn.00412380
mov ecx, dword [ebp + 8]
add esi, 0x14
push esi
push 1
push 0x478ae0
push ecx
call fcn.00412630
mov edx, dword [ebp + 8]
add esp, 0x28
push edx
call dword [0x47207c]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x413550
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
mov esi, dword [ebx + 0xc]
mov dword [ebp - 4], 0
call fcn.00413070
mov esi, eax
test esi, esi
jne 0x413579
mov eax, 8
pop esi
mov esp, ebp
pop ebp
ret
push edi
xor eax, eax
mov ecx, 0x41
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0xc]
lea eax, [ebp - 0x108]
push eax
push ecx
xor eax, eax
call fcn.00413340
add esp, 8
test eax, eax
pop edi
jne 0x413611
push eax
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [ebx + 8]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x108]
push ecx
push esi
call fcn.00413170
add esp, 0x24
test eax, eax
je 0x4135d1
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 4]
push edx
mov edx, dword [ebx + 0x10]
push eax
mov eax, dword [ebp - 4]
push ecx
push 0
push edx
push eax
call dword [0x472040]
test eax, eax
je 0x413605
mov ecx, dword [ebp - 4]
push ecx
call dword [0x47207c]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push edx
call dword [0x47207c]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x413740
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
mov esi, dword [ebp + 8]
call fcn.00413070
mov ebx, eax
test ebx, ebx
je 0x413799
push edi
xor eax, eax
mov ecx, 0x41
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x108]
push eax
push esi
xor eax, eax
call fcn.00413340
add esp, 8
test eax, eax
pop edi
jne 0x4137e3
lea ecx, [ebp - 4]
push ecx
push 1
push eax
lea edx, [ebp - 0x108]
push edx
push ebx
call dword [0x472074]
test eax, eax
je 0x4137a4
pop esi
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4137d7
mov ecx, dword [ebp - 4]
push 0
push 0
push 0
push 0
push eax
push ecx
call dword [0x472078]
test eax, eax
je 0x4137d7
mov edx, dword [ebp - 4]
push edx
call dword [0x47207c]
pop esi
mov eax, 9
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
push eax
call dword [0x47207c]
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4137f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
mov esi, dword [ebx + 0xc]
mov dword [ebp - 4], 0
call fcn.00413070
mov esi, eax
test esi, esi
jne 0x413819
mov eax, 8
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
push eax
push ecx
call fcn.00413740
add esp, 8
test eax, eax
jne 0x4138f4
push edi
mov ecx, 0x41
lea edi, [ebp - 0x10c]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0xc]
lea edx, [ebp - 0x10c]
push edx
push eax
xor eax, eax
call fcn.00413340
add esp, 8
test eax, eax
jne 0x4138f3
mov edx, dword [ebx + 8]
push eax
lea ecx, [ebp - 4]
push ecx
push eax
push edx
push eax
push eax
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
call fcn.00413170
add esp, 0x24
test eax, eax
je 0x413888
pop edi
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test esi, esi
mov ecx, dword [ecx]
mov dword [ebp - 8], ecx
je 0x4138a9
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edx, dword [ebx + 0x10]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push esi
lea ecx, [ebx + 4]
push ecx
push 0
push edx
push eax
call dword [0x472078]
test eax, eax
je 0x4138db
mov ecx, dword [ebp - 4]
push ecx
call dword [0x47207c]
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
push edx
call dword [0x47207c]
test esi, esi
jne 0x4138f1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x413a70
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
mov esi, dword [ebp + 8]
call fcn.00413070
mov ebx, eax
test ebx, ebx
jne 0x413a94
pop esi
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push esi
call fcn.00413740
add esp, 8
test eax, eax
jne 0x413b1a
push edi
mov ecx, 0x41
lea edi, [ebp - 0x108]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x108]
push eax
push esi
xor eax, eax
call fcn.00413340
add esp, 8
test eax, eax
pop edi
jne 0x413b1a
push eax
lea ecx, [ebp - 4]
push ecx
push eax
push 2
push eax
push eax
push eax
lea edx, [ebp - 0x108]
push edx
push ebx
call fcn.00413170
add esp, 0x24
test eax, eax
jne 0x413b03
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push eax
push ecx
call dword [0x472060]
test eax, eax
je 0x413b0e
mov edx, dword [ebp - 4]
push edx
call dword [0x47207c]
pop esi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
push eax
call dword [0x47207c]
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret