joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c860
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598b50
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x63ec50]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x21c], esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x63c8b8]
cmp eax, dword [ecx + 4]
jg 0x42c994
mov ecx, dword [0x63c8b4]
cmp dword [ecx - 0xc], 0
je 0x42c8ca
add ecx, 0xfffffff0
push ecx
jmp 0x42c961
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x42c958
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42c8f0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, 0x63c8b4
call fcn.0042a000
mov eax, dword [0x63c8b4]
mov edx, dword [eax - 0xc]
test edx, edx
je 0x42c947
lea ecx, [edx - 1]
test ecx, ecx
js 0x42c98a
cmp ecx, edx
jg 0x42c98a
movzx eax, word [eax + ecx*2]
cmp eax, 0x5c
je 0x42c947
cmp eax, 0x2f
je 0x42c947
push 1
push 0x5b4804
mov ecx, 0x63c8b4
call fcn.00429970
push 8
push str.drivers_
mov ecx, 0x63c8b4
call fcn.00429970
mov eax, dword [0x63c8b4]
add eax, 0xfffffff0
push eax
call fcn.00429b20
add esp, 4
add eax, 0x10
mov dword [esi], eax
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.00557e89
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00429b00
push 0x63c8b8
call fcn.00558348
add esp, 4
cmp dword [0x63c8b8], 0xffffffff
jne 0x42c8b5
mov dword [ebp - 4], 0
call fcn.004291f0
mov ecx, eax
test ecx, ecx
jne 0x42c9ca
push 0x80004005
call fcn.00429b00
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
push 0x5af720
mov dword [0x63c8b4], eax
call fcn.0055865a
push 0x63c8b8
call fcn.005582fe
add esp, 8
jmp 0x42c8b5
Function at 0x42d860
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598d0d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, 0x80004005
cmp dword [eax + 0x14], 0
je 0x42d989
mov esi, dword [eax + 0x1c]
mov dword [ebp + 8], esi
test esi, esi
je 0x42da26
mov eax, dword [esi + 4]
mov ebx, dword [ebp + 0x10]
add eax, ebx
cmp eax, 0x1f400000
ja 0x42da21
push 0xc
call fcn.00557fd4
mov edi, eax
add esp, 4
test edi, edi
je 0x42d8e1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp 0x42d8e3
xor edi, edi
add dword [esi + 4], ebx
mov eax, dword [edi + 4]
mov ecx, eax
mov edx, dword [edi]
sub ecx, edx
mov dword [ebp + 0x10], eax
cmp ebx, ecx
jae 0x42d8fb
lea eax, [edx + ebx]
jmp 0x42d92e
jbe 0x42d931
mov eax, dword [edi + 8]
sub eax, edx
cmp ebx, eax
jbe 0x42d914
lea eax, [ebp + 0x13]
mov ecx, edi
push eax
push ebx
call fcn.0042a710
jmp 0x42d931
mov esi, ebx
sub esi, ecx
push esi
push 0
push dword [ebp + 0x10]
call fcn.0055c530
mov eax, dword [ebp + 0x10]
add esp, 0xc
add eax, esi
mov esi, dword [ebp + 8]
mov dword [edi + 4], eax
push ebx
push dword [ebp + 0xc]
push dword [edi]
call fcn.0055bfb0
mov ebx, dword [esi + 8]
add esi, 8
add esp, 0xc
cmp dword [esi + 4], 0x15555555
je 0x42da3c
mov dword [ebp - 0x18], esi
push 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.00557fd4
mov ecx, eax
add esp, 4
mov dword [ecx + 8], edi
inc dword [esi + 4]
mov eax, dword [ebx + 4]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov dword [ebx + 4], ecx
xor ebx, ebx
mov dword [eax], ecx
jmp 0x42da26
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x42da26
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x10]
mov esi, dword [ebp + 0xc]
mov edi, ecx
push 0
push edx
push ecx
push esi
push eax
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42d9dd
lea ebx, [ebx]
add esi, dword [ebp - 0x10]
sub edi, dword [ebp - 0x10]
je 0x42da1a
push 0
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42d9c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.795_tCommonFuncs::WriteFile_tWriteFile_Faild_with_lastError:__u
push str.H:pub_9qls_rc_bug_mas_v12_2407Coding_support_newsetup3rdparty7zCPP7zipArchiveks_package7zExtractImpl.cpp
push str._INFO_
push 0x63cbb0
call fcn.0046bb20
add esp, 0x14
xor esi, esi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x42da11
push dword [ebp + 0x10]
call eax
xor eax, eax
test esi, esi
cmovne ebx, eax
jmp 0x42da26
mov esi, 1
jmp 0x42da02
mov ebx, 0x80004005
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.list_too_long
call fcn.005595eb
int3
Function at 0x436b10
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x436b9f
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x436b9f
push ebx
push edi
xor edi, edi
xor ebx, ebx
xor eax, eax
mov edx, 2
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea ebx, [ebx]
lea ecx, [edx - 2]
mov eax, esi
shr eax, cl
lea ecx, [edx - 1]
and eax, 1
add edi, eax
mov eax, esi
shr eax, cl
mov ecx, edx
and eax, 1
add dword [ebp - 8], eax
mov eax, esi
shr eax, cl
lea ecx, [edx + 1]
and eax, 1
add edx, 4
add dword [ebp - 4], eax
mov eax, esi
shr eax, cl
and eax, 1
lea ecx, [edx - 2]
add ebx, eax
cmp ecx, 0x20
jb 0x436b50
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
add ecx, ebx
add eax, ecx
add eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x1c]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4386c0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599310
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 6
lea edi, [esi + 4]
mov dword [esi], 0
mov dword [edi], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
push 0
mov dword [esi + 0x10], 0x80004005
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [esi + 0x10], eax
push esi
push 0x5b5648
push 1
push 0
push 0x5b5638
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [esi]
test ecx, ecx
je 0x438744
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x48]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4397f0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59948d
mov eax, dword fs:[0]
push eax
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
add eax, 0xffffff9b
cmp eax, 4
ja case.default.0x439823
jmp dword [eax*4 + 0x439a38]
cmp dword [0x60e108], ecx
jne 0x439849
push 0x80000001
call fcn.0043bab0
push 0x80000001
call fcn.0043c5f0
add esp, 8
mov ecx, 1
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0x80000001
call fcn.0043c370
push 0x5b6e0c
push 0x5b6e10
push dword [0x60e0d4]
push 0x80000001
call fcn.00464350
add esp, 0x14
call fcn.0043b570
mov eax, dword [0x63caa4]
mov ecx, str.th_TH
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4398bb
test dx, dx
je 0x4398b7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4398bb
add eax, 4
add ecx, 4
test dx, dx
jne 0x439895
xor eax, eax
jmp 0x4398c0
sbb eax, eax
or eax, 1
mov dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x43990a
cmp dword [0x63ca5c], eax
je 0x43990a
push str.Tahoma
push str.FontFace
push dword [0x60e0f8]
push 0x80000001
call fcn.00464350
push 0xde
push str.FontCharSet
push dword [0x60e0f8]
push 0x80000001
call fcn.00464280
add esp, 0x20
mov ecx, 1
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
cmp dword [0x60e10c], ecx
jne 0x43992d
call fcn.0043e830
call fcn.0043d8c0
call fcn.0043e210
push 0
push str.wpslive
push dword [0x60e098]
push 0x80000001
call fcn.00463e10
push 0
push str.wpslive
push dword [0x60e0ec]
push 0x80000001
call fcn.00463ef0
push 0
push 0x80000001
call fcn.0043e740
push 0x80000001
call fcn.0043e500
mov ecx, 1
add esp, 0x2c
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push str.office6_addonsqingqingbangong.dll
push dword [0x63ca70]
lea eax, [ebp + 8]
push eax
call fcn.00448eb0
add esp, 0xc
cmp dword [0x60e108], 0
mov dword [ebp - 4], 1
jne 0x4399e0
push dword [ebp + 8]
push str.LibPath
push dword [0x60e0e8]
push 0x80000001
call fcn.00464350
push 0x80000001
call fcn.0043c190
add esp, 0x14
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439849
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 1
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0x80000001
call fcn.0043e500
add esp, 4
mov ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x439920
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59948d
mov eax, dword fs:[0]
push eax
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
add eax, 0xffffff9b
cmp eax, 4
ja case.default.0x439823
jmp dword [eax*4 + 0x439a38]
cmp dword [0x60e108], ecx
jne 0x439849
push 0x80000001
call fcn.0043bab0
push 0x80000001
call fcn.0043c5f0
add esp, 8
mov ecx, 1
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0x80000001
call fcn.0043c370
push 0x5b6e0c
push 0x5b6e10
push dword [0x60e0d4]
push 0x80000001
call fcn.00464350
add esp, 0x14
call fcn.0043b570
mov eax, dword [0x63caa4]
mov ecx, str.th_TH
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4398bb
test dx, dx
je 0x4398b7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4398bb
add eax, 4
add ecx, 4
test dx, dx
jne 0x439895
xor eax, eax
jmp 0x4398c0
sbb eax, eax
or eax, 1
mov dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x43990a
cmp dword [0x63ca5c], eax
je 0x43990a
push str.Tahoma
push str.FontFace
push dword [0x60e0f8]
push 0x80000001
call fcn.00464350
push 0xde
push str.FontCharSet
push dword [0x60e0f8]
push 0x80000001
call fcn.00464280
add esp, 0x20
mov ecx, 1
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
cmp dword [0x60e10c], ecx
jne 0x43992d
call fcn.0043e830
call fcn.0043d8c0
call fcn.0043e210
push 0
push str.wpslive
push dword [0x60e098]
push 0x80000001
call fcn.00463e10
push 0
push str.wpslive
push dword [0x60e0ec]
push 0x80000001
call fcn.00463ef0
push 0
push 0x80000001
call fcn.0043e740
push 0x80000001
call fcn.0043e500
mov ecx, 1
add esp, 0x2c
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push str.office6_addonsqingqingbangong.dll
push dword [0x63ca70]
lea eax, [ebp + 8]
push eax
call fcn.00448eb0
add esp, 0xc
cmp dword [0x60e108], 0
mov dword [ebp - 4], 1
jne 0x4399e0
push dword [ebp + 8]
push str.LibPath
push dword [0x60e0e8]
push 0x80000001
call fcn.00464350
push 0x80000001
call fcn.0043c190
add esp, 0x14
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439849
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 1
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0x80000001
call fcn.0043e500
add esp, 4
mov ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x43a160
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599530
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x63434c]
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, ecx
mov dword [ebp - 0x22c], eax
mov ebx, dword [eax + 4]
mov ecx, dword [ebp + 8]
or ebx, 0x2001f
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
lea edx, [ebp - 0x224]
mov dword [ebp - 0x224], 0
push edx
push ebx
push 0
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [ebp - 0x21c]
test esi, esi
jne 0x43a2ee
xor esi, esi
test eax, eax
je 0x43a204
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x224]
and ebx, 0x300
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], ebx
test esi, esi
jne 0x43a2ee
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x234]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], 0x100
push ecx
lea ecx, [ebp - 0x210]
push ecx
push esi
push eax
call ebx
test eax, eax
jne 0x43a2a7
jmp 0x43a260
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x21c]
call fcn.0043a160
mov esi, eax
test esi, esi
jne 0x43a2e8
lea eax, [ebp - 0x234]
mov dword [ebp - 0x220], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x21c]
call ebx
test eax, eax
je 0x43a260
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x43a2be
push eax
call edi
mov dword [ebp - 0x21c], 0
push dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x218], 0
call fcn.00439fa0
mov ecx, dword [ebp - 0x21c]
mov esi, eax
test ecx, ecx
je 0x43a2f5
push ecx
jmp 0x43a2f3
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x43a2f5
push eax
call edi
mov eax, esi
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.00557e89
mov esp, ebp
pop ebp
ret 4
Function at 0x43a320
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599587
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x63434c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x21c], 1
call fcn.0055c530
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
je 0x43a3cd
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a3c0
jmp 0x43a41b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x43a42e
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0055c530
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x43a42e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a410
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0042e2d0
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.00557e89
mov esp, ebp
pop ebp
ret
Function at 0x43b570
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599745
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x63434c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x63caa4]
mov ecx, str.ja_JP
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43b5c8
test dx, dx
je 0x43b5c4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43b5c8
add eax, 4
add ecx, 4
test dx, dx
jne 0x43b5a2
xor eax, eax
jmp 0x43b5cd
sbb eax, eax
or eax, 1
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x43b5ec
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [0x60e0b4]
mov dword [ebp - 0x10], 0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov byte [ebp - 4], 2
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x43b762
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x10]
mov ebx, 1
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
test eax, eax
je 0x43b6fd
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push str.StartWithType
push eax
call edi
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x43b67d
cmp eax, 2
jne 0x43b6fa
lea ecx, [ebp - 0x14]
call fcn.00429bc0
mov edx, dword [ebp - 0x18]
shr edx, 1
add edx, ebx
js 0x43b758
mov esi, dword [ebp - 0x14]
mov ecx, ebx
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or ecx, eax
jge 0x43b6af
push edx
lea ecx, [ebp - 0x14]
call fcn.00429e50
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0
push str.StartWithType
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x43b6fa
mov eax, dword [ebp - 0x18]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
push dword [esi - 8]
push esi
call fcn.00566c13
add esp, 8
test eax, eax
js 0x43b758
cmp eax, dword [esi - 8]
jg 0x43b758
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
je 0x43b6fa
xor edi, edi
jmp 0x43b71e
mov eax, dword [ebp - 0x10]
xor edi, edi
test eax, eax
je 0x43b71e
push 4
push 0x5b4868
push 1
push edi
push str.StartWithType
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
cmove edi, ebx
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43b736
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x43b744
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00429b00
push 0x80004005
call fcn.00429b00
int3
Function at 0x43f2d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x43f2e5
mov eax, 1
pop edi
pop ebp
ret 4
mov eax, dword [ebp + 8]
push esi
push dword [eax]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
je 0x43f31c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x43f315
mov dword [edi], esi
mov eax, 1
pop esi
pop edi
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop edi
pop ebp
ret 4

Function at 0x43f800
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599c6d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x63434c]
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 + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], eax
cmp esi, eax
je 0x43f94e
sub esp, 0x18
mov ecx, esp
push dword [ebp + 0x14]
call fcn.0043f9e0
lea eax, [ebp - 0x40]
push eax
call fcn.0043fb70
add esp, 0x1c
mov edi, eax
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], 0
jb 0x43f86c
mov edi, dword [edi]
sub esp, 0x18
mov ecx, esp
push esi
call fcn.0043f9e0
lea eax, [ebp - 0x28]
push eax
call fcn.0043fb70
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x43f88b
mov eax, dword [eax]
push edi
push eax
call fcn.00566ed2
mov edx, dword [ebp - 0x14]
add esp, 8
test eax, eax
sete bl
cmp edx, 8
jb 0x43f8d4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f8ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f977
push edx
push ecx
call fcn.00558004
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x43f925
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f91b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f977
push edx
push ecx
call fcn.00558004
add esp, 8
test bl, bl
je 0x43f93f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43f933
mov eax, dword [esi]
push eax
mov eax, dword [ebp + 0x18]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
add esi, 0x18
cmp esi, dword [ebp - 0x44]
jne 0x43f842
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebp + 0x14]
mov eax, ebx
mov edx, dword [ebp + 0x18]
mov dword [ebx], ecx
mov dword [ebx + 4], edx
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.00557e89
mov esp, ebp
pop ebp
ret
call fcn.00566a14
int3