joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
mov cl, byte [0x432084]
push esi
test byte [eax], cl
mov edx, eax
setne cl
mov esi, dword [edx]
mov dword [esp + 4], esi
mov esi, dword [edx + 4]
mov dword [esp + 8], esi
mov esi, dword [esp + 5]
mov dl, byte [edx + 8]
mov byte [esp + 0xc], dl
mov edx, eax
test cl, cl
mov dword [edx], esi
mov esi, dword [esp + 9]
mov dword [edx + 4], esi
mov dl, byte [esp + 0x14]
mov byte [eax + 8], dl
je 0x401062
push ebx
mov esi, 0x4320c0
push edi
mov ecx, eax
sub esi, eax
mov edi, 8
mov dl, byte [esi + ecx]
mov bl, byte [ecx]
xor bl, dl
mov byte [ecx], bl
inc ecx
dec edi
jne 0x401053
pop edi
pop ebx
pop esi
add esp, 0xc
ret

Function at 0x401450
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
lea eax, [esp + 8]
mov edx, dword [esi]
lea edi, [esi + 0x18]
push edi
push eax
lea ecx, [esp + 0x18]
push 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4014ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4014ae
mov eax, dword [esi + 0x28]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4014ae
mov edx, dword [esi]
lea ecx, [esp + 8]
push eax
push ecx
push edi
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x20]
add ecx, eax
mov dword [esi + 0x20], ecx
pop edi
mov eax, 1
pop esi
pop ecx
ret 4

Function at 0x401451
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
lea eax, [esp + 8]
mov edx, dword [esi]
lea edi, [esi + 0x18]
push edi
push eax
lea ecx, [esp + 0x18]
push 1
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4014ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4014ae
mov eax, dword [esi + 0x28]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4014ae
mov edx, dword [esi]
lea ecx, [esp + 8]
push eax
push ecx
push edi
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x20]
add ecx, eax
mov dword [esi + 0x20], ecx
pop edi
mov eax, 1
pop esi
pop ecx
ret 4

Function at 0x401c00
Capabilities:
Create udp socket

Disassembly:
push esi
push 0
push 2
mov esi, ecx
push 2
call sub.WSOCK32.dll_socket
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [esi], eax
mov eax, ecx
pop esi
ret
Function at 0x401c20
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WSOCK32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x401c77
push esi
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x401c8d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.00401ca0
pop edi
pop esi
add esp, 0x10
ret 8
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x401ca0
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WSOCK32.dll_connect
neg eax
sbb eax, eax
inc eax
ret 8

Function at 0x401d30
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
push esi
mov esi, dword [esp + 0x118]
mov eax, 0x10624dd3
mov dword [esp + 0xc], 1
mul esi
shr edx, 6
mov dword [esp + 4], edx
mov eax, esi
xor edx, edx
mov esi, 0x3e8
div esi
mov eax, dword [ecx]
lea ecx, [esp + 4]
push ecx
push 0
push 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
lea edx, [esp + 0x18]
push edx
push 0
call sub.WSOCK32.dll_select
cmp eax, 0xffffffff
pop esi
jne 0x401d8f
xor eax, eax
add esp, 0x10c
ret 8
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 8
Function at 0x408900
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18

Function at 0x40cee0
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x425deb
push eax
mov dword fs:[0], esp
sub esp, 0x404
push esi
mov esi, ecx
call fcn.0040bfe0
mov ecx, esi
call fcn.0040c0f0
mov eax, dword [0x435628]
test eax, eax
je 0x40cfa9
lea eax, [esp + 8]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
push str.UTCk.conf
push ecx
lea edx, [esp + 0xc]
push str._s_s
push edx
mov dword [esp + 0x420], 0
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x14]
push 0x433c64
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x40cf87
mov ecx, dword [0x435628]
push 0
push esi
mov edx, dword [ecx]
call dword [edx + 0x14]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
jmp 0x40cf95
push 0
push 0
push 0x433c40
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 4]
mov dword [esp + 0x410], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x408]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x410
ret
Function at 0x40d710
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x425f12
push eax
mov eax, dword [0x435628]
mov dword fs:[0], esp
sub esp, 0x5ac
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x40d890
lea eax, [esp + 0x1b0]
push esi
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1b4]
push str.UTCk.conf
push ecx
lea edx, [esp + 0x14]
push str._s_s
push edx
mov dword [esp + 0x5cc], ebx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
push 0x433c64
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 0x18
cmp esi, ebx
je 0x40d857
mov cl, byte [esp + 0xb]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x10], cl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [0x435628]
lea eax, [esp + 0x10]
push ebx
push eax
mov edx, dword [ecx]
mov byte [esp + 0x5c4], 1
call dword [edx + 0x18]
lea ecx, [esp + 0x20]
call fcn.00407170
lea ecx, [esp + 0x10]
mov byte [esp + 0x5bc], 2
push ecx
lea ecx, [esp + 0x24]
call fcn.004223b0
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0x10]
mov ecx, dword [0x435628]
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov ecx, dword [0x435628]
add esp, 4
cmp ecx, ebx
je 0x40d813
mov edx, dword [ecx]
push 1
call dword [edx]
lea ecx, [esp + 0x20]
mov byte [esp + 0x5bc], 1
call fcn.004071b0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40d849
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40d840
cmp al, 0xff
je 0x40d840
dec al
mov byte [ecx], al
jmp 0x40d849
push ecx
call fcn.00424160
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
jmp 0x40d863
push ebx
push ebx
push 0x433c40
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0xc]
mov dword [esp + 0x5bc], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5ac]
mov dword fs:[0], ecx
add esp, 0x5b8
ret
mov ecx, dword [esp + 0x5b0]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x5b8
ret
Function at 0x40d8b0
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x425f2b
push eax
mov eax, dword [0x43562c]
mov dword fs:[0], esp
sub esp, 0x404
test eax, eax
je 0x40d993
lea eax, [esp + 4]
push esi
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
push str.UTCk.sche
push ecx
lea edx, [esp + 0xc]
push str._s_s
push edx
mov dword [esp + 0x420], 0
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x14]
push 0x433c64
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x40d959
mov ecx, dword [0x43562c]
push 0
push esi
mov edx, dword [ecx]
call dword [edx + 0x14]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov ecx, dword [0x43562c]
add esp, 4
test ecx, ecx
je 0x40d967
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x40d967
push 0
push 0
push 0x433d08
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 4]
mov dword [esp + 0x410], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
pop esi
mov ecx, dword [esp + 0x404]
mov dword fs:[0], ecx
add esp, 0x410
ret
mov ecx, dword [esp + 0x404]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x410
ret
Function at 0x415790
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x9c
push eax
call esi
test eax, eax
jne 0x4157da
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call esi
test eax, eax
jne 0x4157da
pop edi
pop esi
add esp, 0x9c
ret
mov eax, dword [esp + 0x18]
sub eax, 2
je 0x4157ee
pop edi
xor eax, eax
pop esi
add esp, 0x9c
ret
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, 5
pop edi
sete al
pop esi
add esp, 0x9c
ret

Function at 0x41b050
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push ebx
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
test ebx, ebx
jne 0x41b0d5
mov edx, dword [esp + 4]
push esi
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x14]
push eax
push ecx
push ebx
push edx
mov dword [esp + 0x20], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x124]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x10c
ret 0xc
mov eax, ebx
pop ebx
add esp, 0x10c
ret 0xc

Function at 0x422b80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x427c66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push esi
mov esi, ecx
push 0xc
mov dword [esp + 0xc], esi
mov byte [esi + 4], al
call sub.MFC42.DLL_operatornew
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 8], eax
xor eax, eax
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], eax
call fcn.00424080
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.004236d0
mov ecx, dword [esp + 0xc]
mov dword [esi], vtable.COntAOSM_Message_Que.0
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x422c10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x427c91
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], vtable.COntAOSM_Message_Que.0
mov dword [esp + 0x18], 2
call fcn.00423230
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00423710
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 0
call fcn.004240a0
mov ebp, dword [esi + 8]
mov edi, dword [ebp]
cmp edi, ebp
je 0x422c8d
mov eax, edi
mov edi, dword [edi]
push eax
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
call fcn.00424160
mov ecx, dword [esi + 0xc]
add esp, 4
dec ecx
cmp edi, ebp
mov dword [esi + 0xc], ecx
jne 0x422c66
mov eax, dword [esi + 8]
push eax
call fcn.00424160
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x423130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x427d36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
push esi
lea ecx, [ebx + 0x10]
call fcn.004240c0
push 0xa4
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
test esi, esi
mov dword [esp + 0x14], 0
je 0x423192
lea ecx, [esi + 8]
call fcn.00423510
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 1
call fcn.00423510
mov byte [esi + 4], 0
mov dword [esi], 0
jmp 0x423194
xor esi, esi
mov byte [esi + 4], 1
mov dword [esi], 0
mov eax, dword [ebx + 8]
push ebp
push edi
push 0xc
mov edi, dword [eax]
mov dword [esp + 0x20], 0xffffffff
mov ebp, dword [edi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
mov ecx, edi
test edi, edi
jne 0x4231c2
mov ecx, eax
test ebp, ebp
mov dword [eax], ecx
jne 0x4231ca
mov ebp, eax
mov dword [eax + 4], ebp
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
pop edi
pop ebp
mov dword [ecx], eax
add eax, 8
test eax, eax
je 0x4231e0
mov dword [eax], esi
mov eax, dword [ebx + 0xc]
lea ecx, [ebx + 0x10]
inc eax
mov dword [ebx + 0xc], eax
call fcn.004240d0
lea ecx, [ebx + 0x30]
call fcn.00423730
mov ecx, dword [esp + 0xc]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40d9a8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419418]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408fab
mov dword [ebp - 0x14], eax
cmp dword [0x813ec0], esi
jne 0x40da9b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40da28
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40db7b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40db7b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40db7b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x813ec0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x813ec4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x813ec8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813ed0], eax
test eax, eax
je 0x40da98
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813ecc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40dac0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40dab3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40dad5
push 4
pop eax
jmp 0x40db7d
cmp dword [ebp - 0x14], esi
je 0x40dad5
push dword [0x813ec0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40daba
mov eax, dword [0x813ecc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40db33
cmp dword [0x813ed0], edi
je 0x40db33
push eax
call ebx
push dword [0x813ed0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40db33
test eax, eax
je 0x40db33
call ecx
test eax, eax
je 0x40db28
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40db28
test byte [ebp - 8], 1
jne 0x40db33
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40db63
mov eax, dword [0x813ec4]
cmp eax, edi
je 0x40db60
push eax
call ebx
test eax, eax
je 0x40db60
call eax
mov esi, eax
test esi, esi
je 0x40db60
mov eax, dword [0x813ec8]
cmp eax, edi
je 0x40db60
push eax
call ebx
test eax, eax
je 0x40db60
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x813ec0]
call ebx
test eax, eax
je 0x40db7b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40db7d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404315
mov esp, ebp
pop ebp
ret
Function at 0x418570
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x418592
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x418599
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x418588
mov eax, 1
add ebx, ebx
jne 0x4185ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4185a0
jne 0x4185bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4185a0
xor ecx, ecx
sub eax, 3
jb 0x4185d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x418642
mov ebp, eax
add ebx, ebx
jne 0x4185db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4185e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41860c
inc ecx
add ebx, ebx
jne 0x4185f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4185ed
jne 0x418609
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4185ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41862c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41861d
jmp 0x41858e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41862c
add edi, ecx
jmp 0x41858e
pop esi
mov edi, esi
mov ecx, 0x43f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41864a
cmp byte [edi], 5
jne 0x41864a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41864f
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x4186c7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18c04]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18cdc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41867c
mov ecx, edi
jns 0x4186ab
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18ce4]
or eax, eax
je 0x4186c1
mov dword [ebx], eax
add ebx, 4
jmp 0x418699
call dword [esi + 0x18ce0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4186f8
cmp al, 0xef
ja 0x4186eb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4186cd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4186da
mov ebp, dword [esi + 0x18ce8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41872c
sub esp, 0xffffff80
jmp 0x40367f
Function at 0x408ba0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47313d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x495010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x50
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00408750
movups xmm0, xmmword [str.bglthejngwxglknfdrrypferxugtvebxdlnphbfpkhqqcahbqmlfeqgdzbavxqhnpqlimwati]
mov esi, eax
mov dword [ebp - 0x18], 0x49
mov dword [ebp - 0x14], 0x4f
mov dword [ebp - 0x28], esi
movups xmmword [esi], xmm0
movups xmm0, xmmword [0x478100]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [0x478110]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [0x478120]
movups xmmword [esi + 0x30], xmm0
movq xmm0, qword [0x478130]
movq qword [esi + 0x40], xmm0
movzx eax, byte [0x478138]
mov byte [esi + 0x48], al
mov byte [esi + 0x49], 0
push 0x20
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00408750
movups xmm0, xmmword [str.gqmhotzixzlevfskxfet]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x30], 0x14
movups xmmword [eax], xmm0
mov ecx, dword [0x47814c]
mov dword [eax + 0x10], ecx
mov dword [ebp - 0x2c], 0x1f
mov byte [eax + 0x14], 0
mov dword [ebp - 0x40], eax
push 0x50
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00408750
movups xmm0, xmmword [str.sqwvgiuqkonmhggicdsoltekjtvxghweploxzhmrpbiajtphlarcplqwiycwmwbc]
mov edi, eax
movups xmmword [edi], xmm0
movups xmm0, xmmword [0x478168]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [0x478178]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [0x478188]
movups xmmword [edi + 0x30], xmm0
mov byte [edi + 0x40], 0
push 0x50
push edi
call fcn.00411038
push 0x20
push dword [ebp - 0x5c]
call fcn.00411038
push 0x50
push esi
call fcn.00411038
mov edx, dword [ebp + 0x44]
add esp, 0x18
cmp edx, 0x10
jb 0x408cf9
mov ecx, dword [ebp + 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408cef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d5a
push edx
push ecx
call fcn.00411038
add esp, 8
mov edx, dword [ebp + 0x64]
mov dword [ebp + 0x40], 0
mov dword [ebp + 0x44], 0xf
mov byte [ebp + 0x30], 0
cmp edx, 0x10
jb 0x408d3b
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408d31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408d5a
push edx
push ecx
call fcn.00411038
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00410d89
mov esp, ebp
pop ebp
ret 0x64
call fcn.00453df0
int3
Function at 0x4109d0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x495010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push dword [ebp + 0xc]
mov edi, ecx
push eax
push str._s_failed_w_err_0x_08lx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00410950
add esp, 0x14
push dword [edi + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x410a50
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x214]
push eax
push 0
push 2
push 0
push 0
push 0
push 1
push esi
mov dword [ebp - 0x214], ecx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00410d89
mov esp, ebp
pop ebp
ret 8

Function at 0x410a70
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, ecx
push dword [edi + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x410ab8
mov ecx, dword [edi + 4]
lea eax, [ebp - 8]
push 0
push eax
push 0
push 2
push 0
push 0
push 0
push dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8