joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100011f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov edi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push esi
call ebx
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
sub edi, esi
push 5
sub edi, 5
push esi
mov byte [esi], 0xe9
mov dword [esi + 1], edi
call ebx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001230
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
test edi, edi
je 0x10001289
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
mov esi, dword [edi + 0x3c]
lea eax, [ebp - 4]
push eax
push 4
push 0x40
push edi
add esi, edi
call ebx
test eax, eax
je 0x10001261
push 0x40
push 0
push edi
call sub.MSVCR100.dll_memset
add esp, 0xc
test esi, esi
je 0x10001287
lea ecx, [ebp - 4]
push ecx
push 4
push 0xf8
push esi
call ebx
test eax, eax
je 0x10001287
push 0xf8
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100058d0
Capabilities:
Execute command
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10056cc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x3c]
push edi
push eax
call dword [sym.imp.MSVCR100.dll__time64]
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.MSVCR100.dll__localtime64]
push 0x100
mov esi, eax
mov dword [ebp - 0x34], 0x1004a66c
mov dword [ebp - 0x30], 0x1004a670
mov dword [ebp - 0x2c], 0x1004a674
mov dword [ebp - 0x28], 0x1004a678
mov dword [ebp - 0x24], 0x1004a67c
mov dword [ebp - 0x20], str.June
mov dword [ebp - 0x1c], str.July
mov dword [ebp - 0x18], 0x1004a690
mov dword [ebp - 0x14], 0x1004a694
mov dword [ebp - 0x10], 0x1004a698
mov dword [ebp - 0xc], 0x1004a69c
mov dword [ebp - 8], 0x1004a6a0
call fcn.1000a458
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
sub edx, 0x64
push edx
mov edx, dword [ebp + ecx*4 - 0x34]
mov edi, eax
mov eax, dword [esi + 0xc]
push eax
push edx
push str._s__02d_20_d
push edi
call dword [sym.imp.MSVCR100.dll_sprintf]
mov eax, dword [ebp + 8]
add esp, 0x20
mov ecx, edi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100059a0
test dl, dl
je 0x1000599c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100059a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10005980
xor eax, eax
jmp 0x100059a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100059c1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.1003880a
mov esp, ebp
pop ebp
ret
mov edi, 0x23db4d1a
lea esi, [ebp - 0x34]
call fcn.10009fc0
push 0x10
push 0x1004a6b4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, str.17_72g___vba8418424:3_r3_
sub edi, 0x52801784
lea esi, [ebp - 0x24]
call fcn.1000a000
push eax
call dword [sym.imp.MSVCR100.dll_system]
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10005e50
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x2d
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cwde
shr eax, 0x10
test eax, eax
je 0x10005e9a
cmp byte [0x1005ab40], 0
je 0x10005e8c
cmp dword [0x1005ab44], 0
je 0x10005ea1
call edi
cmp dword [0x1005ab44], eax
ja 0x10005ea1
mov byte [0x1005ab40], 1
mov eax, 1
jmp 0x10005ea3
mov byte [0x1005ab40], 0
xor eax, eax
test al, 1
je 0x10005eb8
xor ecx, ecx
cmp dword [0x10056ea4], ecx
sete cl
mov dword [0x10056ea4], ecx
cmp dword [0x1005a83c], 0
je 0x10005f01
push 0xa2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10005f01
lea edx, [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
add edx, 2
mov dword [0x10056eb0], ecx
mov dword [0x10056eb4], edx
cmp dword [0x10056ea4], 0
je 0x1000607f
push 0x26
call esi
cwde
shr eax, 0x10
test eax, eax
je 0x10005f44
cmp byte [0x1005ab08], 0
je 0x10005f36
cmp dword [0x1005ab0c], 0
je 0x10005f4b
call edi
cmp dword [0x1005ab0c], eax
ja 0x10005f4b
mov byte [0x1005ab08], 1
mov eax, 1
jmp 0x10005f4d
mov byte [0x1005ab08], 0
xor eax, eax
test al, 1
je 0x10005f84
mov ecx, dword [0x1005b424]
mov eax, dword [0x1005b428]
mov edx, 2
dec eax
jns 0x10005f67
lea eax, [ecx - 1]
lea esi, [eax*8]
sub esi, eax
cmp dword [esi*4 + 0x10059930], edx
je 0x10005f61
pop edi
mov dword [0x1005b428], eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x28
call fcn.10001040
test al, 1
mov eax, dword [0x1005b428]
je 0x10005fc6
mov ecx, dword [0x1005b424]
mov edx, 2
inc eax
cmp eax, ecx
jne 0x10005fa9
xor eax, eax
lea esi, [eax*8]
sub esi, eax
cmp dword [esi*4 + 0x10059930], edx
je 0x10005fa2
pop edi
mov dword [0x1005b428], eax
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [eax*8]
sub ecx, eax
cmp dword [ecx*4 + 0x10059928], 0
je 0x1000607f
xor esi, esi
lea eax, [esi + 0x25]
call fcn.10001040
test al, 1
je 0x10006007
mov eax, dword [0x1005b428]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [edx*4 + 0x10059928]
cmp dword [eax], esi
jle 0x10006007
or esi, 0xffffffff
mov eax, 0x27
call fcn.10001040
mov ecx, dword [0x1005b428]
test al, 1
je 0x10006041
lea eax, [ecx*8]
sub eax, ecx
add eax, eax
mov edx, dword [eax + eax + 0x1005992c]
add eax, eax
mov eax, dword [eax + 0x10059928]
dec edx
cmp dword [eax], edx
jge 0x10006041
mov esi, 1
jmp 0x10006045
test esi, esi
je 0x1000607f
lea eax, [ecx*8]
sub eax, ecx
add eax, eax
mov ecx, dword [eax + eax + 0x10059928]
add dword [ecx], esi
add eax, eax
mov eax, dword [eax + 0x10059930]
cmp eax, 1
jne 0x10006070
mov dword [0x1005b424], 0
cmp eax, 4
jne 0x1000607f
mov dword [0x1005b424], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10006a60
Capabilities:
Execute command
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10056cc0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10056ea0], 1
push esi
mov esi, dword [0x1005b260]
jne 0x10006aea
push 0x100598c0
push str.Arial
push 0
push 2
push 7
push 1
push 0
push 1
push 0x2bc
push 0
push 0xf
push esi
call fcn.1000a673
push 0x1005b3d8
push str.Hud_Small_Font
push 0
push 0
push 7
push 1
push 0
push 0
push 0x190
push 0
push 0x10
push esi
call fcn.1000a673
push 0x1005b3e0
push esi
call fcn.1000a604
push 0x1005b22c
push esi
call fcn.1000a528
mov dword [0x10056ea0], 0
push 0x7b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10006b15
push edi
mov edi, 0x85869128
lea esi, [ebp - 0x24]
call fcn.1000a080
push eax
call dword [sym.imp.MSVCR100.dll_system]
add esp, 4
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1003880a
mov esp, ebp
pop ebp
ret
Function at 0x100078b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1005b2c8]
sub esp, 8
push ebx
xor ebx, ebx
cmp dword [eax], ebx
jbe 0x100078d6
cmp byte [0x1005b3d2], bl
jne 0x100078d6
call fcn.10006c30
mov byte [0x1005b3d2], 1
mov ecx, dword [0x1005b1d8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x5064]
mov dword [0x1005b260], eax
cmp eax, ebx
je 0x10007a43
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
cmp eax, 0x88760868
je 0x10007a43
mov eax, dword [0x1005b260]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc0]
push esi
push 0x1005b2a4
push eax
call edx
mov eax, dword [0x1005b260]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc0]
push 0x1005b38c
push eax
call edx
call fcn.10006a60
mov esi, dword [0x1005b260]
cmp dword [0x1005b420], ebx
jne 0x10007974
cmp dword [0x1005b424], ebx
jne 0x1000794f
call fcn.10006090
fild dword [0x10056eb4]
sub esp, 8
mov ecx, esi
fstp dword [esp + 4]
fild dword [0x10056eb0]
fstp dword [esp]
call fcn.10005bb0
add esp, 8
call fcn.10005e50
call fcn.10006b30
mov eax, dword [0x1005b2d4]
cmp dword [eax], ebx
jbe 0x10007a2c
call fcn.10004ee0
cmp dword [0x1005a9a8], ebx
je 0x1000799d
call fcn.100044c0
call fcn.10004620
push edi
call fcn.10004ab0
call fcn.10005170
mov edi, dword [0x1005b224]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 4
push edi
call esi
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push eax
push 4
push edi
mov dword [edi], 0x10002db0
call esi
mov edi, dword [0x1005b3a8]
mov ebx, dword [0x1005b200]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 4
push edi
call esi
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push eax
push 4
push edi
mov dword [edi], ebx
call esi
call fcn.100033e0
call fcn.100057c0
call fcn.100056b0
call fcn.100053b0
call fcn.10005460
call fcn.10005510
call fcn.100055f0
call fcn.10005740
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov dword [0x1005a808], ebx
mov dword [0x1005b3b0], ebx
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008020
Capabilities:
Create thread
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039848
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10056cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x1005b3d3], 0
jne 0x100080ea
mov edi, 0x1004ab14
sub edi, 0x54817ff7
lea esi, [ebp - 0x20]
call fcn.1000a170
push eax
mov dword [ebp - 4], 0
call fcn.100058d0
add esp, 4
mov edi, 0x2a39e5e1
lea esi, [ebp - 0x30]
call fcn.1000a040
push eax
call dword [sym.imp.MSVCR100.dll_system]
mov edi, 0x1004ab20
add esp, 4
sub edi, 0x478e0309
lea esi, [ebp - 0x20]
call fcn.1000a1b0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebx
mov edi, 0x1004ab30
sub edi, 0x5854b0b5
lea esi, [ebp - 0x24]
mov dword [0x1005b2bc], eax
call fcn.1000a1f0
push eax
call ebx
mov edi, 0x30d0f47f
lea esi, [ebp - 0x20]
mov dword [0x100598c4], eax
call fcn.1000a230
push eax
call ebx
mov dword [0x1005a9d4], eax
mov byte [0x1005b3d3], 1
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10001a60
push 0
push 0
call esi
push 0
push 0
push 0
push 0x10005860
push 0
push 0
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003880a
mov esp, ebp
pop ebp
ret

Function at 0x100081c0
Capabilities:
Create thread
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10056cc0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
mov ecx, 6
xor eax, eax
jmp 0x100081e0
mov dl, byte [eax + str.VoqzRHc]
xor dl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x18], dl
jns 0x100081fd
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x13
jl 0x100081e0
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x100598fc], eax
test eax, eax
je 0x1000825f
cmp dword [ebp + 0xc], 1
jne 0x1000825f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push edi
call esi
mov ecx, dword [0x1005b2bc]
push ecx
call esi
mov edx, dword [0x100598c4]
push edx
call esi
mov eax, dword [0x1005a9d4]
push eax
call esi
call fcn.10001230
push 0
push 0
push 0
push 0x10008130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop edi
call fcn.1003880a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10008f90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10039508
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10056cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x10009122
cmp byte [ebx + 0x49], 0
je 0x10009122
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x10009116
lea esi, [ebp - 0x2c]
call fcn.10008f30
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x10009003
lea edx, [ebp - 0x2c]
mov eax, edx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, edx
push ecx
mov ecx, dword [ebx + 0x44]
push eax
lea eax, [ebx + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x1000903b
dec eax
je 0x1000903f
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x1000911d
call fcn.10008280
xor al, al
jmp 0x10009124
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x1000904f
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x1000907d
cmp edi, 0x10
jae 0x1000905e
lea eax, [ebp - 0x2c]
mov edx, dword [ebx + 0x54]
push edx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x1000910e
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x1000911a
test esi, esi
jne 0x10008ff7
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x1000913f
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x1000913f
cmp edi, esi
jae 0x100090f7
push ecx
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.10009320
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x10008ff7
mov ecx, eax
cmp edi, 0x10
jae 0x100090d3
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x100090ee
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x10008ff1
test esi, esi
jne 0x100090c9
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x10009106
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x10008ff1
lea esi, [ebp - 0x2c]
call fcn.10008280
xor al, al
jmp 0x10009124
lea esi, [ebp - 0x2c]
call fcn.10008280
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.1003880a
mov esp, ebp
pop ebp
ret
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3

Function at 0x10009e40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 2
xor ecx, ecx
jmp 0x10009e50
mov al, byte [edi + ecx + 0x40176828]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x10009e6d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0x10
jl 0x10009e50
mov byte [esi + 0x10], 0
mov eax, esi
ret
Function at 0x1000a230
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x86
xor ecx, ecx
jmp 0x1000a240
mov al, byte [edi + ecx - 0x20cc493b]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1000a25d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1000a240
mov byte [esi + 0xc], 0
mov eax, esi
ret
Function at 0x10017d24
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x1003c5f0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10017d7d
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x10017d7d
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x10017d7d
xor eax, eax
inc eax
jmp 0x10017d7f
xor eax, eax
leave
ret 0x10

Function at 0x10017dab
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push 0x1003c5f0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x10017e1b
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.DisableMMX
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10017e12
cmp dword [ebp - 0xc], 4
jne 0x10017e12
cmp dword [ebp - 0x10], edi
je 0x10017e12
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x1004d250], edi
xor eax, eax
jmp 0x10017e5a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x1004d250], edi
jge 0x10017e55
lea eax, [ebp - 0x34]
push eax
mov dword [0x1004d250], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x10017e55
cmp word [ebp - 0x14], 5
jb 0x10017e55
call fcn.10017d83
test eax, eax
je 0x10017e55
emms
mov dword [0x1004d250], 1
mov eax, dword [0x1004d250]
pop edi
leave
ret
Function at 0x100245ec
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x1002470f
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x100246f3
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x10024645
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x10024623
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x100249cb
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push ebx
mov ebx, dword [edx + 0x20]
push esi
mov esi, dword [edx + 0x6c]
imul esi, dword [edx + 0x60]
add esi, ebx
cmp ebx, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], esi
jae 0x10024af9
mov eax, 0xf81f
push edi
mov edi, dword [edx + 0x60]
mov edx, dword [edx + 0x68]
lea edx, [ebx + edx*2]
add edi, ebx
cmp ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edx
jae 0x10024ad9
movzx ecx, word [edi]
movzx edx, word [edi + 2]
movzx esi, word [ebx + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [ebx]
mov ebx, ecx
and bx, ax
mov edi, edx
and di, ax
mov dword [ebp - 0x1c], ecx
and ecx, 0xffff07e0
add edi, ebx
mov ebx, dword [ebp - 4]
and bx, ax
add edi, ebx
mov ebx, esi
and bx, ax
lea edi, [edi + ebx + 0x1002]
mov ebx, edx
and ebx, 0xffff07e0
add ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, 0xffff07e0
add ebx, ecx
mov ecx, esi
and ecx, 0xffff07e0
lea ecx, [ebx + ecx + 0x40]
mov ebx, dword [ebp - 0xc]
shr ecx, 2
shr edi, 2
xor edi, ecx
mov ecx, dword [ebp - 0x1c]
and ecx, eax
and edx, eax
add edx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add edx, ecx
and esi, eax
and edi, 0xffff07e0
lea ecx, [edx + esi + 0x1002]
shr ecx, 2
xor edi, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], di
mov edi, dword [ebp - 0x10]
add ebx, 4
add edi, 4
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
jb 0x10024a24
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov edi, dword [edx + 4]
add ecx, dword [edi + 0x60]
mov edx, dword [edx]
mov edi, dword [edx + 0x60]
lea ebx, [ebx + edi*2]
cmp ebx, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x10024a05
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x10024c04
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ecx + 4]
push ebx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ecx]
mov ebx, dword [ecx + 0x20]
push esi
mov esi, dword [eax + 0x20]
mov eax, dword [ecx + 0x6c]
imul eax, dword [ecx + 0x60]
add eax, ebx
cmp ebx, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], eax
jae 0x10024d27
mov eax, 0x83e0
mov edx, 0x7c1f
push edi
mov edi, dword [ecx + 0x60]
mov ecx, dword [ecx + 0x68]
lea ecx, [ebx + ecx*2]
add edi, ebx
cmp ebx, ecx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], ecx
jae 0x10024d03
movzx ecx, word [ebx + 2]
movzx esi, word [edi + 2]
mov dword [ebp - 8], ecx
movzx ecx, word [edi]
movzx edi, word [ebx]
mov dword [ebp - 4], ecx
mov ebx, edi
and ebx, eax
mov ecx, esi
and ecx, eax
add ecx, ebx
mov ebx, dword [ebp - 4]
and ebx, eax
add ecx, ebx
mov ebx, dword [ebp - 8]
and ebx, eax
lea ebx, [ecx + ebx + 0x10040]
mov dword [ebp - 0x20], edi
and edi, edx
mov ecx, esi
and ecx, edx
add ecx, edi
mov edi, dword [ebp - 4]
and edi, edx
add ecx, edi
mov edi, dword [ebp - 8]
and edi, edx
lea ecx, [ecx + edi + 0x802]
shr ecx, 2
mov edi, dword [ebp - 0x14]
shr ebx, 2
xor ebx, ecx
mov ecx, dword [ebp - 0x20]
and ecx, eax
and esi, eax
add esi, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add esi, ecx
mov ecx, dword [ebp - 8]
and bx, dx
and ecx, eax
lea ecx, [esi + ecx + 0x10040]
shr ecx, 2
add edi, 4
mov dword [ebp - 0x14], edi
xor ebx, ecx
mov ecx, dword [ebp - 0xc]
add dword [ebp - 0xc], 2
mov word [ecx], bx
mov ebx, dword [ebp - 0x10]
add ebx, 4
cmp ebx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ebx
jb 0x10024c60
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
mov edi, dword [ecx + 4]
mov esi, dword [ebp - 0x18]
add esi, dword [edi + 0x60]
mov ecx, dword [ecx]
mov edi, dword [ecx + 0x60]
lea ebx, [ebx + edi*2]
cmp ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
jb 0x10024c41
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret