joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000aee0
Capabilities:
Allocate thread local storage

Disassembly:
mov al, byte [0x1003a711]
test al, al
jne 0x1000af84
mov byte [0x1003a711], 1
call fcn.1000b910
test al, al
je 0x1000af00
mov al, 1
ret
mov eax, dword [0x1003a718]
test eax, eax
jne 0x1000af7f
call fcn.1000b080
push str.HOME
call fcn.10013ecf
add esp, 4
test eax, eax
mov dword [0x1003a718], eax
je 0x1000af37
push eax
push 0x1003a920
call fcn.10009350
add esp, 8
mov dword [0x1003a718], eax
push str.UMASK
call fcn.10013ecf
add esp, 4
test eax, eax
je 0x1000af5b
push eax
call fcn.1000af90
add esp, 4
or eax, 0x180
mov dword [0x100354f4], eax
push str.UMASK_DIR
call fcn.10013ecf
add esp, 4
test eax, eax
je 0x1000af7f
push eax
call fcn.1000af90
add esp, 4
or eax, 0x1c0
mov dword [0x100354f8], eax
call fcn.1000b190
xor al, al
ret

Function at 0x1000b080
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xa04
push 0x1003a6d4
push 2
mov dword [esp + 0xc], 0x100
mov dword [esp + 0x10], 0x400
call fcn.10014502
push 0x10035438
call fcn.1001444d
add esp, 0xc
call fcn.100141b0
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SoftwareMySQL
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000b188
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x118]
push edx
mov edx, dword [esp + 0x10]
push eax
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push edx
mov esi, 1
call edi
cmp eax, 0x103
je 0x1000b17b
lea eax, [esp + 0x114]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x51c]
push edx
call fcn.1000b060
lea eax, [esp + 0x520]
push eax
call fcn.1001ce29
push eax
call fcn.1001444d
add esp, 0x14
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x118]
push edx
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
mov eax, esi
push edx
push eax
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x2c], 0x100
mov dword [esp + 0x30], 0x400
inc esi
call edi
cmp eax, 0x103
jne 0x1000b10e
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 0xa04
ret

Function at 0x1000b190
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
call fcn.1000b1f0
test al, al
je 0x1000b1df
lea eax, [esp]
push eax
push 2
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x1000b1bb
call sub.WSOCK32.dll_WSACleanup
lea ecx, [esp]
push ecx
jmp 0x1000b1cd
cmp word [esp], 2
je 0x1000b1d8
call sub.WSOCK32.dll_WSACleanup
lea edx, [esp]
push edx
push 2
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x1000b1df
mov byte [0x1003a710], 1
xor al, al
add esp, 0x190
ret
Function at 0x1000c780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
test eax, eax
push ebx
push esi
push edi
je 0x1000c878
cmp byte [eax], 0
je 0x1000c878
mov edi, dword [ebp + 8]
push eax
lea eax, [esp + 0x1c]
push eax
mov esi, edi
call fcn.1000c710
mov ebx, dword [ebp + 0xc]
lea ecx, [esp + 0x18]
push ebx
push ecx
call fcn.1000c710
mov al, byte [ebp + 0x14]
add esp, 0x10
test al, al
je 0x1000c7e0
mov edx, dword [esp + 0x10]
xor edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.1000c890
add esp, 8
jmp 0x1000c801
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
xor ecx, eax
push ecx
xor edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.1000c680
add esp, 0xc
mov cl, byte [ebx]
inc ebx
test cl, cl
je 0x1000c839
lea edx, [esp + 0x20]
push edx
call fcn.1000c6c0
fmul qword [0x100201b0]
push ecx
fstp qword [esp]
call fcn.10015037
fadd qword [0x100201a8]
add esp, 8
call fcn.10015108
mov byte [edi], al
mov al, byte [ebx]
inc edi
inc ebx
test al, al
jne 0x1000c808
mov al, byte [ebp + 0x14]
test al, al
jne 0x1000c87b
lea ecx, [esp + 0x20]
push ecx
call fcn.1000c6c0
fmul qword [0x100201b0]
push ecx
fstp qword [esp]
call fcn.10015037
add esp, 8
call fcn.10015108
cmp esi, edi
je 0x1000c87b
xor byte [esi], al
inc esi
cmp esi, edi
jne 0x1000c865
mov byte [edi], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
mov byte [edi], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000d190
Capabilities:
Read file on windows
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x30], 3
push 0
jne 0x1000d1c2
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [eax + 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000d1bd
or eax, 0xffffffff
ret
mov eax, dword [esp + 0xc]
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [eax]
push ecx
push edx
push eax
call sub.WSOCK32.dll_recv
ret

Function at 0x1000d1e0
Capabilities:
Send data
Send data on socket
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
cmp dword [eax + 0x30], 3
push 0
jne 0x1000d212
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [eax + 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1000d20d
or eax, 0xffffffff
ret
mov eax, dword [esp + 0xc]
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [eax]
push ecx
push edx
push eax
call sub.WSOCK32.dll_send
ret

Function at 0x1000d270
Capabilities:
Set socket configuration

Disassembly:
push ecx
mov ecx, dword [esp + 8]
mov edx, dword [ecx + 0x30]
xor eax, eax
cmp edx, 3
mov dword [esp], eax
je 0x1000d2a7
cmp byte [esp + 0xc], al
je 0x1000d291
mov dword [esp], 1
mov ecx, dword [ecx]
push 4
lea eax, [esp + 4]
push eax
push 8
push 0xffff
push ecx
call sub.WSOCK32.dll_setsockopt
pop ecx
ret
Function at 0x1000d370
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
push 4
lea eax, [eax + eax*4]
lea ecx, [esp + 0xc]
push ecx
shl eax, 3
push 0x1006
mov dword [esp + 0x14], eax
mov eax, dword [edx]
push 0xffff
push eax
call sub.WSOCK32.dll_setsockopt
ret

Function at 0x1001bc3f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1003a108
cmp edx, dword [eax]
je 0x1001bc61
add eax, 8
inc ecx
cmp eax, 0x1003a198
jl 0x1001bc52
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1003a108]
jne 0x1001bd8f
mov eax, dword [0x10042d10]
cmp eax, 1
je 0x1001bd69
test eax, eax
jne 0x1001bc92
cmp dword [0x10042d14], 1
je 0x1001bd69
cmp edx, 0xfc
je 0x1001bd8f
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1001bcc9
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.10018d80
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10017c30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1001bd0c
lea eax, [ebp - 0x1a4]
push eax
call fcn.10017c30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10021e48
push edi
call fcn.10018c80
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.10018d80
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10018d90
lea eax, [ebp - 0xa0]
push 0x10021e28
push eax
call fcn.10018d90
push dword [esi + 0x1003a10c]
lea eax, [ebp - 0xa0]
push eax
call fcn.10018d90
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1001dbcf
add esp, 0x2c
pop edi
jmp 0x1001bd8f
lea eax, [ebp + 8]
lea esi, [esi + 0x1003a10c]
push 0
push eax
push dword [esi]
call fcn.10017c30
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x115473c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1154746
pushal
call 0x115474c
pop ebp
sub ebp, 0x10
sub ebp, 0xd5473c
jmp 0x1154762
mov eax, 0xd5473c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c1
mov edx, 0x1b97f233
xor byte [eax], dl
inc eax
dec ecx
jne 0x1154779
jmp 0x115478c
mov eax, 0xfbab8fe
xor esi, dword [ebx]
xor esi, dword [edx + 0x3333cbf2]
xor esi, dword [eax]
dec byte [ebx + 0x33333334]
mov dword [ebx], ebx
xor esi, dword [ebx]
xor eax, esp
sal dword [eax], 1
sti
mov eax, 0x33333fb2
xor esi, dword [eax]
mul byte [ebx - 0x42]
push edi
pop ss
iretd
Function at 0x407e30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407f09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407e68
mov eax, dword [ebp - 4]
call fcn.00407220
jmp 0x407e70
mov eax, dword [ebp - 4]
call fcn.00407c1c
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407ebc
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407ea6
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.00407220
jmp 0x407eb8
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407c1c
inc ebx
dec esi
jne 0x407e80
push 1
push dword [ebp - 4]
push 0x407f20
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f84
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407f10
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x40147b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 0x114]
sub esp, 0x134
mov dword [esp], eax
lea ebx, [ebp - 0x10c]
call dword [sym.imp.USER32.dll_GetCursorPos]
push eax
mov dword [esp + 4], ebx
mov dword [esp], 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push eax
push eax
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileA]
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 4]
leave
sub eax, 3
ret

Function at 0x4014f8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0xa0
mov dword [ebp - 0x88], 0
call fcn.0040147b
mov dword [esp], 0x4015cc
mov dword [ebp - 0x8c], 0
mov ebx, eax
lea eax, [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, ebx
or eax, 0x40
mov dword [esp + 8], eax
mov eax, 0x40202e
sub eax, 0x4015cc
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x401593
lea esi, [ebp - 0x88]
mov dword [esp], ebx
call fcn.00401382
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.004013f5
mov cl, bl
mov dword [esp + 8], esi
lea eax, [ebx + 0x1b600]
shl eax, cl
mov dword [esp + 4], eax
mov eax, str.daae
shr eax, cl
mov dword [esp], eax
call fcn.00401d31
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x40163d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44f07c]
jne 0x401647
repz ret
jmp fcn.00402315

Function at 0x407cea
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44f07c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040552d
and dword [ebp - 0x14], 0
cmp dword [0x451b48], 0
mov dword [ebp - 0x18], eax
jne 0x407d9d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407e45
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x407e45
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x451b48], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x451b4c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x451b50], eax
call edi
push eax
call esi
mov dword [0x451b58], eax
test eax, eax
je 0x407d9d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x451b54], eax
mov eax, dword [0x451b54]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407df6
cmp dword [0x451b58], ecx
je 0x407df6
push eax
call esi
push dword [0x451b58]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407df6
test ebx, ebx
je 0x407df6
call edi
test eax, eax
je 0x407ded
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407ded
test byte [ebp - 8], 1
jne 0x407df6
or dword [ebp + 0x10], 0x200000
jmp 0x407e29
mov eax, dword [0x451b4c]
cmp eax, dword [ebp - 0x18]
je 0x407e29
push eax
call esi
test eax, eax
je 0x407e29
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407e29
mov eax, dword [0x451b50]
cmp eax, dword [ebp - 0x18]
je 0x407e29
push eax
call esi
test eax, eax
je 0x407e29
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x451b48]
call esi
test eax, eax
je 0x407e45
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407e47
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040163d
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x42e072
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x147577e7
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data_1
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x32007d30
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402680
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40268e
call dword [0x43c014]
or eax, eax
je 0x40268f
ret
mov al, 1
jmp fcn.0040270c

Function at 0x402698
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4026a6
call dword [0x43c018]
or eax, eax
jne 0x4026a7
ret
mov al, 2
jmp fcn.0040270c

Function at 0x4026b0
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x4026e8
test edx, edx
je 0x4026d2
push eax
mov eax, ecx
call dword [0x43c01c]
pop ecx
or eax, eax
je 0x4026e1
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.0040270c
mov dword [eax], edx
mov eax, ecx
call dword [0x43c018]
or eax, eax
jne 0x4026cb
ret
mov al, 1
jmp fcn.0040270c
test edx, edx
je 0x4026fc
push eax
mov eax, edx
call dword [0x43c014]
pop ecx
or eax, eax
je 0x4026e1
mov dword [ecx], eax
ret

Function at 0x40270c
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x43d004]
test ecx, ecx
je 0x40271c
pop edx
call ecx
dec eax
mov al, byte [eax + 0x402735]
jns 0x402730
call fcn.00405b00
mov eax, dword [eax + 4]
jmp fcn.00403788

Function at 0x402a84
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402b1c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402afc
xor eax, eax
push ebp
push 0x402af5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402b38
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402afc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x402d9c
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402db6
mov ecx, eax
mov ecx, dword [ecx]
cmp ecx, edx
je 0x402db6
mov ecx, dword [ecx - 0x24]
test ecx, ecx
jne 0x402da2
mov al, 0xa
jmp fcn.0040270c
ret

Function at 0x402de8
Capabilities:
Terminate process

Disassembly:
cmp dword [0x43d018], 0
je 0x4027f3
call dword [0x43d018]
mov eax, 0xd2
jmp fcn.00403788
push eax
push ecx
mov eax, dword [eax]
call fcn.00402db8
pop ecx
pop eax
je 0x402df7
jmp ebx
pop ecx
jmp 0x4027e4
Function at 0x403664
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x43d4a0
mov esi, 0x43d034
mov edi, 0x43d038
cmp byte [ebx + 0x24], 0
jne 0x403693
cmp dword [edi], 0
je 0x403693
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x403682
cmp dword [0x43d03c], 0
je 0x4036da
call fcn.004035e0
cmp byte [0x43d044], 0
je 0x4036c0
mov edx, 0x43c020
mov eax, 0x43d218
call fcn.0040539c
call fcn.0040531f
jmp 0x4036d3
push 0
push 0x43c040
push 0x43c020
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
mov dword [0x43d03c], eax
cmp byte [ebx + 0x24], 2
jne 0x4036ea
cmp dword [esi], 0
jne 0x4036ea
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.004034b4
cmp byte [ebx + 0x24], 1
jbe 0x4036fa
cmp dword [esi], 0
je 0x403717
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x403717
call fcn.00404da0
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x10]
cmp edx, dword [eax + 4]
je 0x403717
push edx
call sub.kernel32.dll_FreeLibrary
call fcn.0040348c
cmp byte [ebx + 0x24], 1
jne 0x403725
call dword [ebx + 0x28]
cmp byte [ebx + 0x24], 0
je 0x403730
call fcn.00403630
cmp dword [ebx], 0
jne 0x40373d
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ExitProcess
mov eax, dword [ebx]
push esi
mov esi, eax
mov edi, ebx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x4036da

Function at 0x403d9c
Capabilities:
Terminate process

Disassembly:
test edx, edx
je fcn.00403d60
mov ecx, dword [edx - 4]
shr ecx, 1
je fcn.00403d60
push ecx
push edx
push eax
call sub.oleaut32.dll_SysReAllocStringLen
test eax, eax
je 0x403d48
ret

Function at 0x403e44
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.0040270c
test ecx, ecx
je fcn.00403d60
push eax
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x403d48
pop edx
push dword [edx]
mov dword [edx], eax
call sub.oleaut32.dll_SysFreeString
ret

Function at 0x403f0c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x403f4b
cmp al, 0xb
je 0x403f4b
cmp al, 0xc
je 0x403f55
cmp al, 0xd
je 0x403f68
cmp al, 0xe
je 0x403f86
cmp al, 0xf
je 0x403f4b
cmp al, 0x11
je 0x403f4b
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.0040270c
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x403f4b
jmp 0x403f9a
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x403f55
jmp 0x403f9a
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call 0x403f0c
dec edi
jg 0x403f6b
pop ebp
jmp 0x403f9a
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00403ee0
dec edi
jg 0x403f89
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x403f0c