joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dec0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525b60
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x50], eax
xor edx, edx
mov eax, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], dx
lea esi, [eax + 2]
jmp 0x41df10
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x41df10
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.00402460
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], edi
call fcn.0041d990
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov esi, eax
call fcn.0041dba0
add esp, 0xc
mov eax, dword [ebp - 0x48]
xor ebx, ebx
cmp dword [ebp - 0x34], 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], edi
jae 0x41df5c
lea eax, [ebp - 0x48]
mov edx, dword [ebp + 0x10]
push edi
lea ecx, [ebp - 0x4c]
push ecx
push edi
or edx, 0x20006
push edx
push edi
push edi
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
je 0x41dfe6
jle 0x41df87
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push esi
push str.Failed_RegCreateKeyEx:_0x_08x.
push str.kupdate::KRegistry::WriteStr
push 0x83
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcutilKRegistry.cpp
push 5
call fcn.0041a9b0
mov ebx, 8
add esp, 0x18
cmp dword [ebp - 0x18], ebx
jb 0x41dfbe
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b9008
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], ebx
jb 0x41dfdf
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b9008
add esp, 4
mov eax, esi
jmp 0x41e097
mov esi, dword [ebp - 0x50]
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41dff0
mov ecx, dword [ebp - 0x2c]
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x18], 8
jae 0x41e00b
lea ecx, [ebp - 0x2c]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push edi
push ecx
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x4c]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x41e05e
jle 0x41e03d
and esi, 0xffff
or esi, 0x80070000
mov ebx, esi
push ebx
push str.Failed_RegSetValueEx:_0x_08x.
push str.kupdate::KRegistry::WriteStr
push 0x8d
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcutilKRegistry.cpp
push 5
call fcn.0041a9b0
add esp, 0x18
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x41e074
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b9008
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], esi
jb 0x41e095
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b9008
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret
Function at 0x41e0c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525b20
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x50], eax
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
lea esi, [eax + 2]
jmp 0x41e110
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41e110
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00402460
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 4], edi
call fcn.0041d990
mov esi, eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0041dba0
add esp, 0xc
mov eax, dword [ebp - 0x48]
mov ebx, 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], edi
cmp dword [ebp - 0x34], ebx
jae 0x41e15e
lea eax, [ebp - 0x48]
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x4c]
push edx
or ecx, 0x20019
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x41e1df
jle 0x41e185
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push esi
push str.Failed_RegOpenKeyExW:_0x_08x.
push str.kupdate::KRegistry::ReadDWord
push 0x9f
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcutilKRegistry.cpp
push 5
call fcn.0041a9b0
add esp, 0x18
cmp dword [ebp - 0x18], ebx
jb 0x41e1b7
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b9008
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], ebx
jb 0x41e1d8
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b9008
add esp, 4
mov eax, esi
jmp 0x41e273
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], 4
cmp dword [ebp - 0x18], ebx
jae 0x41e1f4
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x50]
lea edx, [ebp - 0x54]
push edx
push ecx
lea edx, [ebp - 0x58]
push edx
push edi
push eax
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x4c]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x41e23f
jle 0x41e22a
and esi, 0xffff
or esi, 0x80070000
push esi
push str.Failed_RegQueryValueEx:_0x_08x.
push str.kupdate::KRegistry::ReadDWord
push 0xaa
jmp 0x41e197
cmp dword [ebp - 0x18], ebx
jb 0x41e250
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b9008
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], ebx
jb 0x41e271
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b9008
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret
Function at 0x41e290
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526410
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov word [ebp - 0x48], ax
mov eax, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41e2d5
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00402460
lea ecx, [ebp - 0x48]
push ecx
mov dword [ebp - 4], ebx
call fcn.0041d990
lea edx, [ebp - 0x48]
mov esi, eax
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.0041dba0
add esp, 0xc
mov eax, dword [ebp - 0x48]
xor edi, edi
cmp dword [ebp - 0x34], 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], ebx
jae 0x41e321
lea eax, [ebp - 0x48]
mov edx, dword [ebp + 0x10]
push ebx
lea ecx, [ebp - 0x4c]
push ecx
push ebx
or edx, 0x20006
push edx
push ebx
push ebx
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
je 0x41e3ab
jle 0x41e34c
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push esi
push str.Failed_RegCreateKeyEx:_0x_08x.
push str.kupdate::KRegistry::WriteDWord
push 0xbf
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcutilKRegistry.cpp
push 5
call fcn.0041a9b0
mov edi, 8
add esp, 0x18
cmp dword [ebp - 0x18], edi
jb 0x41e383
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b9008
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], edi
jb 0x41e3a4
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b9008
add esp, 4
mov eax, esi
jmp 0x41e443
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41e3b7
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x4c]
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x41e40a
jle 0x41e3e9
and esi, 0xffff
or esi, 0x80070000
mov edi, esi
push edi
push str.Failed_RegSetValueEx:_0x_08x.
push str.kupdate::KRegistry::WriteDWord
push 0xc8
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcutilKRegistry.cpp
push 5
call fcn.0041a9b0
add esp, 0x18
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x41e420
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b9008
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], esi
jb 0x41e441
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b9008
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret
Function at 0x41e460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x54], eax
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
lea esi, [eax + 2]
jmp 0x41e4b0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41e4b0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00402460
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 4], edi
call fcn.0041d990
mov esi, eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0041dba0
add esp, 0xc
mov eax, dword [ebp - 0x48]
xor ebx, ebx
cmp dword [ebp - 0x34], 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], edi
jae 0x41e4fc
lea eax, [ebp - 0x48]
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x4c]
push edx
or ecx, 0x20019
push ecx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x41e582
jle 0x41e523
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push esi
push str.Failed_RegOpenKeyEx:_0x_08x.
push str.kupdate::KRegistry::QueryType
push 0xda
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcutilKRegistry.cpp
push 5
call fcn.0041a9b0
mov ebx, 8
add esp, 0x18
cmp dword [ebp - 0x18], ebx
jb 0x41e55a
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b9008
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], ebx
jb 0x41e57b
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b9008
add esp, 4
mov eax, esi
jmp 0x41e623
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x50], edi
jae 0x41e591
lea eax, [ebp - 0x2c]
push edi
push edi
lea edx, [ebp - 0x50]
push edx
push edi
push eax
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x4c]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov dword [eax], edx
cmp esi, edi
je 0x41e5ea
jle 0x41e5c9
and esi, 0xffff
or esi, 0x80070000
mov ebx, esi
push ebx
push str.Failed_RegQueryValueEx:_0x_08x.
push str.kupdate::KRegistry::QueryType
push 0xe6
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcutilKRegistry.cpp
push 5
call fcn.0041a9b0
add esp, 0x18
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x41e600
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b9008
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], esi
jb 0x41e621
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b9008
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret
Function at 0x41e640
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525bd8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e685
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00402460
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], 0
call fcn.0041d990
mov ecx, dword [ebp - 0x2c]
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x41e6cf
cmp dword [ebp - 0x18], 8
jae 0x41e6c3
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.0041d880
add esp, 8
jmp 0x41e6e0
cmp dword [ebp - 0x18], 8
jae 0x41e6d8
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jle 0x41e6ee
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
jns 0x41e713
push esi
push str.Failed_:_0x_08x.
push str.kupdate::KRegistry::DeleteKey
push 0x119
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcutilKRegistry.cpp
push 0
call fcn.0041a9b0
add esp, 0x18
cmp dword [ebp - 0x18], 8
jb 0x41e725
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b9008
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret
Function at 0x41e750
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526410
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov word [ebp - 0x48], ax
mov eax, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41e795
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00402460
lea ecx, [ebp - 0x48]
push ecx
mov dword [ebp - 4], ebx
call fcn.0041d990
lea edx, [ebp - 0x48]
mov esi, eax
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.0041dba0
add esp, 0xc
mov eax, dword [ebp - 0x48]
xor edi, edi
cmp dword [ebp - 0x34], 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], ebx
jae 0x41e7e1
lea eax, [ebp - 0x48]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x4c]
push ecx
or edx, 0x20006
push edx
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x41e866
jle 0x41e808
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
push esi
push str.Failed_RegCreateKeyExW:_0x_08x.
push str.kupdate::KRegistry::DeleteValue
push 0x12c
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcutilKRegistry.cpp
push ebx
call fcn.0041a9b0
mov edi, 8
add esp, 0x18
cmp dword [ebp - 0x18], edi
jb 0x41e83e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b9008
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], edi
jb 0x41e85f
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b9008
add esp, 4
mov eax, esi
jmp 0x41e8f4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41e872
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 0x4c]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x41e8bb
jle 0x41e89b
and esi, 0xffff
or esi, 0x80070000
mov edi, esi
push edi
push str.Failed_RegDeleteValue:_0x_08x.
push str.kupdate::KRegistry::DeleteValue
push 0x133
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcutilKRegistry.cpp
push ebx
call fcn.0041a9b0
add esp, 0x18
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x41e8d1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b9008
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], esi
jb 0x41e8f2
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b9008
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret
Function at 0x41e9f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525c08
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xor edi, edi
xor eax, eax
mov word [ebp - 0x48], ax
mov eax, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], edi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41ea35
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00402460
lea ecx, [ebp - 0x48]
push ecx
mov dword [ebp - 4], edi
call fcn.0041d990
lea edx, [ebp - 0x48]
mov esi, eax
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.0041dba0
mov eax, dword [ebp - 0x48]
mov ebx, 8
add esp, 0xc
mov dword [ebp - 0x50], edi
cmp dword [ebp - 0x34], ebx
jae 0x41ea7f
lea eax, [ebp - 0x48]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x50]
push ecx
or edx, 0x20019
push edx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41ead0
cmp dword [ebp - 0x18], ebx
jb 0x41eaab
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b9008
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], ebx
jb 0x41eacc
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b9008
add esp, 4
xor al, al
jmp 0x41eb25
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x41eadb
lea eax, [ebp - 0x2c]
push edi
push edi
push edi
push edi
push eax
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete byte [ebp - 0x49]
cmp dword [ebp - 0x18], ebx
jb 0x41eb01
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b9008
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], ebx
jb 0x41eb22
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b9008
add esp, 4
mov al, byte [ebp - 0x49]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret
Function at 0x41eca0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525c68
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x590cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
xor edi, edi
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
lea esi, [eax + 2]
jmp 0x41ecf0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41ecf0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00402460
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], edi
call fcn.0041d990
mov ecx, dword [ebp - 0x2c]
add esp, 4
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x30], edi
jae 0x41ed27
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
mov edx, dword [ebp + 0x18]
or edx, 0x20019
push edx
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x41ed69
jle 0x41ed4e
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp dword [ebp - 0x18], 8
jb 0x41ed62
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b9008
add esp, 4
mov eax, esi
jmp 0x41ee08
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x34]
push edx
push edi
lea eax, [ebp - 0x38]
push eax
push edi
push ecx
mov dword [ebp - 0x38], 0x104
mov dword [ebp - 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, eax
cmp esi, edi
je 0x41edc5
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jle 0x41ed50
and esi, 0xffff
or esi, 0x80070000
jmp 0x41ed50
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x30]
push ecx
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, edi
je 0x41edea
jle 0x41ede8
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 8
jb 0x41ee06
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b9008
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b9ff3
mov esp, ebp
pop ebp
ret
Function at 0x4203b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x4203cb
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x420402
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x4203fe
jmp 0x4203f0
cmp esi, eax
jae 0x420402
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4203f0
cmp esi, eax
jb 0x420409
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x420b50
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [0x594630]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_OpenMutexW]
push edi
push eax
push 1
push 0x1f0001
call esi
mov edi, eax
test edi, edi
jne 0x420be4
mov ebx, dword [sym.imp.KERNEL32.DLL_GetLastError]
call ebx
cmp eax, 5
je 0x420be4
mov ecx, dword [0x594638]
push ecx
push 1
push 0x1f0001
call esi
mov edi, eax
test edi, edi
jne 0x420be4
call ebx
cmp eax, 5
je 0x420be4
mov edx, dword [0x59463c]
push edx
push 1
push 0x1f0001
call esi
mov edi, eax
test edi, edi
jne 0x420be4
call ebx
cmp eax, 5
je 0x420be4
mov eax, dword [0x594634]
push eax
push 1
push 0x1f0001
call esi
mov esi, eax
test esi, esi
jne 0x420bd7
call ebx
cmp eax, 5
je 0x420bd7
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
ret
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
ret

Function at 0x420e60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0
mov esi, ecx
push esi
push 0x420e30
push 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret