joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40af13
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push 0x814
push 0x440000
call fcn.0041c080
push 0x435a32
call fcn.004012da
pop ecx
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push dword [ebp + 8]
push 0x446e04
mov ecx, 0x446e34
call fcn.00409e64
mov dword [ebp + 8], 1
mov dword [ebp - 0x1c], ebx
mov esi, 0x435b08
lea edi, [ebp - 0x24]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.004041b8
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
je 0x40b05f
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.UnregServer
push esi
call edi
test eax, eax
je 0x40b14d
push str.RegServer
push esi
call edi
test eax, eax
je 0x40b05c
push 4
push str.auto
push esi
call fcn.0041c5aa
add esp, 0xc
test eax, eax
jne 0x40afc6
mov dword [0x444b50], ebx
mov dword [str.jau_m], 0x435b2c
jmp 0x40b044
push 9
push str.scheduled
push esi
call fcn.0041c5aa
add esp, 0xc
test eax, eax
jne 0x40afe6
mov dword [0x446e28], 1
jmp 0x40b044
push 7
push str.pending
push esi
call fcn.0041c5aa
add esp, 0xc
test eax, eax
jne 0x40b006
mov dword [0x446e2c], 1
jmp 0x40b044
push 8
push 0x435b44
push esi
call fcn.0041c5aa
add esp, 0xc
test eax, eax
jne 0x40b026
mov dword [0x446e30], 1
jmp 0x40b044
push 4
push str.test
push esi
call fcn.0041c5aa
add esp, 0xc
test eax, eax
jne 0x40b044
lea eax, [esi + 5]
push eax
call fcn.0040d2d1
pop ecx
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.004041b8
pop ecx
pop ecx
mov esi, eax
cmp esi, ebx
jne 0x40af80
jmp 0x40b05f
mov dword [ebp + 8], ebx
cmp dword [ebp + 8], ebx
je 0x40b14d
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
push str.SunJavaUpdateCheckerMutex
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x40b10f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40b10f
call fcn.004198eb
call fcn.004192b5
test eax, eax
jne 0x40b0f1
mov edi, 0x400
push edi
lea eax, [ebp - 0x424]
push eax
push 0x72
push dword [0x4470b0]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
call esi
push edi
lea eax, [ebp - 0x824]
push eax
push 0x75
push dword [0x4470b0]
call esi
push 0x10
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x824]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x1c], 0x80004005
jmp 0x40b144
push dword [0x444b54]
push 0x435b74
push ebx
call fcn.00417597
add esp, 0xc
call fcn.0040aec5
mov dword [ebp - 0x1c], eax
jmp 0x40b144
mov dword [ebp - 0x1c], 0x64
cmp dword [ebp - 0x20], ebx
je 0x40b144
cmp dword [0x444b50], ebx
jne 0x40b12b
cmp dword [0x446e28], ebx
je 0x40b144
push dword [0x444b54]
push 0x435b7c
push ebx
call fcn.00417597
add esp, 0xc
call fcn.0040d4f7
or dword [ebp - 4], 0xffffffff
call fcn.0040b16a
mov ecx, 0x446e34
call fcn.00409f7f
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1c]
call fcn.0041c0bb
ret 0x10
Function at 0x40bdaf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4334a7
call fcn.0041bbcc
sub esp, 0x418
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x424], ebx
mov byte [ebp - 4], 1
cmp dword [ebp + 8], ebx
je 0x40be44
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.00401b8a
add esp, 0xc
test eax, eax
js 0x40be44
mov esi, dword [ebp - 0x14]
cmp esi, 0x400
jg 0x40be28
push esi
call fcn.00402b7a
pop ecx
test al, al
je 0x40be28
mov eax, esi
call fcn.0041bbf0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x40be34
push esi
lea ecx, [ebp - 0x18]
call fcn.00403096
mov edi, dword [ebp - 0x18]
push 3
push esi
push dword [ebp + 8]
push eax
call fcn.0040143a
cmp eax, ebx
jne 0x40be76
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x40be68
lea ecx, [ebp - 0x424]
call fcn.0040a8bf
jmp 0x40be68
push edi
mov edi, dword [edi]
call fcn.0041bc1c
pop ecx
cmp edi, ebx
jne 0x40be5f
mov eax, 0x8007000e
jmp 0x40bf74
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x40be95
call fcn.0040411a
mov esi, eax
jmp 0x40bf4a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x40beb2
call fcn.0040411a
jmp 0x40bf3f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x40bea8
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp + 8], esi
cmp eax, esi
jae 0x40bedc
mov esi, 0x8007000e
jmp 0x40bf41
push eax
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 2
call fcn.0040b1ce
mov dword [ebp - 4], 1
jmp 0x40bf08
cmp dword [ebp - 0x424], 0
je 0x40bed5
push esi
push dword [ebp + 0x10]
push esi
push dword [ebp - 0x424]
call fcn.00401c09
mov eax, dword [ebp - 0x424]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], 0
push dword [ebp - 0x424]
lea ecx, [ebp - 0x20]
call fcn.0040bcb2
mov esi, eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x40bf6e
lea ecx, [ebp - 0x424]
call fcn.0040a8bf
jmp 0x40bf6e
push edi
mov edi, dword [edi]
call fcn.0041bc1c
pop ecx
test edi, edi
jne 0x40bf65
mov eax, esi
lea esp, [ebp - 0x430]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x40c8a6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
cmp edi, ebx
jne 0x40c8bf
push 0x80004005
call fcn.00401bb9
mov esi, dword [ebp + 8]
push edi
push esi
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
mov dword [ebp + 0x10], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp esi, ebx
je 0x40c90e
mov ecx, dword [edi]
cmp ecx, ebx
jbe 0x40c90c
cmp dword [ebp + 0x10], ebx
jbe 0x40c909
cmp dword [ebp + 0x10], 2
jbe 0x40c915
cmp dword [ebp + 0x10], 7
jne 0x40c909
cmp ecx, 1
jb 0x40c909
lea edx, [ecx + esi]
cmp byte [edx - 1], bl
jne 0x40c909
cmp ecx, 1
jbe 0x40c90e
cmp byte [edx - 2], bl
je 0x40c90e
push 0xd
pop eax
mov byte [esi], bl
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
cmp byte [ecx + esi - 1], bl
jmp 0x40c907
Function at 0x40d838
Capabilities:
Create thread
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
call fcn.00419097
test eax, eax
jne 0x40d849
leave
ret
push ebx
push 4
pop eax
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 4]
push ebx
push eax
mov dword [ebp - 8], ebx
call fcn.0041753e
pop ecx
pop ecx
test eax, eax
jne 0x40d874
inc eax
jmp 0x40d991
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x43663c
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
jne 0x40d8c8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x43664c
push dword [ebp - 4]
call edi
neg eax
sbb eax, eax
inc eax
jne 0x40d8c8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x40d990
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x43665c
push dword [ebp - 4]
call edi
neg eax
sbb esi, esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push 0x436668
push dword [ebp - 4]
inc esi
call edi
neg eax
sbb eax, eax
inc eax
cmp esi, ebx
jne 0x40d942
cmp eax, ebx
jne 0x40d942
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x436674
push dword [ebp - 4]
call esi
push 0x436684
push dword [ebp - 4]
call esi
push 0x436698
push dword [ebp - 4]
call esi
push 0x4366ac
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40d953
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x446f94], ebx
je 0x40d958
xor eax, eax
inc eax
jmp 0x40d98f
xor esi, esi
inc esi
cmp dword [ebp + 8], ebx
jne 0x40d981
push 0x446f94
push ebx
push ebx
push fcn.0040d5eb
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x40d98d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40d98d
push ebx
mov dword [0x446f94], esi
call fcn.0040d5eb
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret
Function at 0x40da5e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push 0x4367d8
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], 3
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x4367dc
xor edi, edi
push edi
call fcn.00418655
call fcn.00410b53
push str.country_code_is_deleted_after_checker_fail_to_download
call fcn.00417d91
add esp, 0x14
push 0x435e87
lea eax, [ebp - 0x208]
push eax
mov dword [ebp - 4], 0x100
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x208]
push eax
push 0x43681c
push edi
call fcn.00418655
add esp, 0x10
push 0x43682c
lea eax, [ebp - 0x108]
push eax
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x108]
push eax
push str.InstalledJREVersion
push edi
mov dword [ebp - 4], 0x80
call fcn.00418655
add esp, 0x10
push 0x436844
lea eax, [ebp - 0x88]
push eax
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x88]
push eax
push 0x436848
push edi
mov dword [ebp - 4], 0x80
call fcn.00418655
push edi
push edi
push edi
push edi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x88]
push edi
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 8]
push eax
push 0x436858
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.00419e0a
add esp, 0x48
pop edi
pop esi
leave
ret
Function at 0x40ef77
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
push 0x45c
push 0x4403e0
call fcn.0041c080
xor ebx, ebx
inc ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x30], 4
xor esi, esi
push esi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x40efab
mov eax, ebx
jmp 0x40f0f2
push str.http:__www.oracle.com
push 0x436990
lea eax, [ebp - 0x16c]
push eax
call fcn.0041b63a
add esp, 0xc
mov dword [ebp - 4], esi
push esi
push esi
push esi
push esi
push 0x436994
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x40f0e6
push 0x3c
pop edi
push edi
push esi
lea eax, [ebp - 0x6c]
push eax
call fcn.0041b5c0
add esp, 0xc
mov dword [ebp - 0x6c], edi
lea eax, [ebp - 0x36c]
mov dword [ebp - 0x5c], eax
mov eax, 0x100
mov dword [ebp - 0x58], eax
xor ecx, ecx
mov word [ebp - 0x54], cx
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x46c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x6c]
push eax
push esi
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x16c]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push esi
push esi
push 3
push 0x4368aa
push 0x4368ab
push dword [ebp - 0x54]
push dword [ebp - 0x5c]
push dword [ebp - 0x24]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x2c], eax
cmp eax, esi
je 0x40f0e6
push esi
push 0x4400000
push esi
push 0x4368b2
push 0x43699c
lea ecx, [ebp - 0x26c]
push ecx
push 0x4369a8
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
mov dword [ebp - 0x28], edi
cmp edi, esi
je 0x40f0e6
push esi
push esi
push esi
push esi
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x40f0be
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x2ee2
je 0x40f0bb
sub eax, 5
je 0x40f0bb
sub eax, 0x16
jne 0x40f0be
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
push esi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x20000013
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x40f0e6
cmp dword [ebp - 0x20], 0x197
jne 0x40f0e6
mov dword [ebp - 0x1c], ebx
or dword [ebp - 4], 0xffffffff
call fcn.0040f0fa
mov eax, dword [ebp - 0x1c]
call fcn.0041c0bb
ret

Function at 0x40f7e1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xcc
cmp word [ebp + 0xc], ax
jne 0x40f808
push 1
xor eax, eax
push eax
push eax
add ecx, 0x528
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
pop ebp
ret 0x10
Function at 0x40fa06
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esi + 0x728]
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextA]
test eax, eax
jle 0x40fa35
lea eax, [esi + 0x728]
push eax
push dword [esi + 4]
call ebx
lea eax, [esi + 0x28]
push eax
call edi
test eax, eax
jne 0x40fa56
push 0x400
lea eax, [esi + 0x28]
push eax
push 0x7e
push dword [0x4470ac]
call dword [sym.imp.USER32.dll_LoadStringA]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x98
push dword [esi + 4]
call edi
lea ecx, [esi + 0x28]
push ecx
push eax
call ebx
push 0xffffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xcc
push dword [esi + 4]
mov dword [esi + 0x7c8], eax
xor eax, eax
mov dword [esi + 0x7a8], eax
mov dword [esi + 0x7cc], eax
mov dword [esi + 0x7d0], eax
call edi
push 0xfffffffffffffff0
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0x100
push eax
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xc9
push dword [esi + 4]
call edi
mov dword [ebp - 4], eax
lea eax, [esi + 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x40faf1
push 0x100
lea eax, [esi + 0x428]
push eax
push 0x7b
push dword [0x4470ac]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [esi + 0x428]
push eax
push dword [ebp - 4]
call ebx
lea eax, [esi + 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x40fb22
push 0xcc
push dword [esi + 4]
call edi
lea ecx, [esi + 0x628]
push ecx
push eax
call ebx
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x7d4], eax
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push dword [esi + 0x7d4]
mov dword [esi + 0x7d8], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [esi + 0x7d8]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 8]
push eax
xor ebx, ebx
push ebx
push esi
push 0x40f9a4
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x40fb80
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push dword [esi + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
neg eax
pop edi
sbb eax, eax
pop esi
inc eax
pop ebx
leave
ret 0x10
Function at 0x410b53
Capabilities:
Get geographical location

Disassembly:
push esi
push 0
push 0x436f0c
push 0
call fcn.00417597
mov esi, eax
add esp, 0xc
test esi, esi
je 0x410b76
push str.Country_Code_deleted
call fcn.00417d91
pop ecx
mov eax, esi
pop esi
ret

Function at 0x410d63
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push esi
push edi
lea eax, [ebp - 8]
push eax
push 1
push 0
push 0x436f64
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410e30
mov byte [ebp - 0x40c], al
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x436f8c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
jbe 0x410e30
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp - 0x40c]
push eax
call esi
test eax, eax
je 0x410e30
lea eax, [ebp - 0x40c]
push eax
call esi
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x410df4
xor eax, eax
jmp 0x410e0e
lea eax, [esi + esi]
call fcn.0041bbf0
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x40c]
push ecx
push eax
call fcn.00401402
mov esi, dword [ebp + 8]
push esi
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
xor eax, eax
push 4
pop ecx
mov edi, 0x43a5c8
repe cmpsd dword [esi], dword es:[edi]
setne al
dec eax
and eax, 0x80004005
jmp 0x410e35
mov eax, 0x80004005
lea esp, [ebp - 0x414]
pop edi
pop esi
leave
ret

Function at 0x410e3f
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0x2001f
push 0
push 0x436f9c
mov esi, 0x80004005
push reloc.OLEAUT32.dll_SysReAllocString
mov ebx, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x410e74
mov eax, esi
jmp 0x410f16
mov esi, dword [ebp + 8]
push 4
pop ecx
mov edi, 0x43a5c8
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x410e9b
push 0x436fc4
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x410f0b
xor ebx, ebx
jmp 0x410f0b
and dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov ebx, eax
test ebx, ebx
js 0x410efc
mov edi, dword [ebp - 4]
test edi, edi
je 0x410ec7
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x410ecb
xor eax, eax
jmp 0x410ee1
lea esi, [eax + eax]
mov eax, esi
call fcn.0041bbf0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.0040143a
push 4
push eax
push 1
push 0
push 0x436fd4
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x410efc
xor ebx, ebx
cmp dword [ebp - 4], 0
je 0x410f0b
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411737
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0xff
push dword [ebp + 0xc]
lea esi, [edi + 0x108]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x411928
push esi
call fcn.00417c50
pop ecx
test eax, eax
je 0x411928
lea eax, [ebp + 0xc]
push eax
push 1
xor ebx, ebx
push ebx
push 0x437294
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411928
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0x988]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x4372bc
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x400
call esi
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0x588]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x4372cc
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x400
call esi
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0x208]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x4372e0
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x100
call esi
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0x1408]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x4372f4
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x104
call esi
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0x1008]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x437304
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x400
call esi
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0xd88]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x437310
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x100
call esi
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0xe88]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x437320
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x100
call esi
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x80
push eax
lea eax, [edi + 0xf88]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x43732c
push dword [ebp + 0xc]
call esi
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0x1590]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x437338
push dword [ebp + 0xc]
mov dword [ebp + 8], 0x80
call esi
test eax, eax
jne 0x4118d8
cmp dword [ebp + 8], 3
jb 0x4118d8
mov dword [edi + 0x1610], 1
mov dword [ebp + 8], 0x80
cmp dword [edi + 0x1610], ebx
je 0x411911
lea eax, [ebp + 8]
push eax
lea eax, [edi + 0x1510]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x437344
push dword [ebp + 0xc]
call esi
test eax, eax
jne 0x41190b
cmp dword [ebp + 8], 0x40
je 0x411911
mov dword [edi + 0x1610], ebx
push dword [ebp + 0xc]
mov dword [edi + 0x150c], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x41192d
mov eax, 0x80004005
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x411a00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x2001f
xor ebx, ebx
push ebx
push 0x4373a4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x411a2f
mov eax, 0x80004005
jmp 0x411c01
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 0x108]
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x411a3f
sub eax, ecx
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push ebx
push 0x4373cc
push dword [ebp - 4]
call esi
lea ecx, [edi + 0x988]
mov eax, ecx
lea edx, [eax + 1]
mov dword [ebp + 8], edx
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x411a6b
sub eax, dword [ebp + 8]
push eax
push ecx
push 1
push ebx
push 0x4373dc
push dword [ebp - 4]
call esi
lea ecx, [edi + 0x588]
mov eax, ecx
lea edx, [eax + 1]
mov dword [ebp + 8], edx
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x411a92
sub eax, dword [ebp + 8]
push eax
push ecx
push 1
push ebx
push 0x4373ec
push dword [ebp - 4]
call esi
lea ecx, [edi + 0x208]
mov eax, ecx
lea edx, [eax + 1]
mov dword [ebp + 8], edx
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x411ab9
sub eax, dword [ebp + 8]
push eax
push ecx
push 1
push ebx
push 0x437400
push dword [ebp - 4]
call esi
lea eax, [edi + 0x1408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x411b0a
lea eax, [edi + 0x1408]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x411aec
sub eax, ecx
push eax
lea eax, [edi + 0x1408]
push eax
push 1
push ebx
push 0x437414
push dword [ebp - 4]
call esi
lea eax, [edi + 0x1008]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x411b42
lea eax, [edi + 0x1008]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x411b24
sub eax, ecx
push eax
lea eax, [edi + 0x1008]
push eax
push 1
push ebx
push 0x437424
push dword [ebp - 4]
call esi
lea eax, [edi + 0xd88]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x411b7a
lea eax, [edi + 0xd88]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x411b5c
sub eax, ecx
push eax
lea eax, [edi + 0xd88]
push eax
push 1
push ebx
push 0x437430
push dword [ebp - 4]
call esi
lea eax, [edi + 0xf88]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x411bb2
lea eax, [edi + 0xf88]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x411b94
sub eax, ecx
push eax
lea eax, [edi + 0xf88]
push eax
push 1
push ebx
push 0x437440
push dword [ebp - 4]
call esi
lea eax, [edi + 0xe88]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x411bea
lea eax, [edi + 0xe88]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x411bcc
sub eax, ecx
push eax
lea eax, [edi + 0xe88]
push eax
push 1
push ebx
push 0x43744c
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov ecx, edi
call fcn.00411934
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
pop ebx
leave
ret 4