joyce8/EMBER2024-capa huggingface dataset:
Function at 0x8a6000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x8a6131
push esi
call fcn.008a9145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00898080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x8a6131
push 0
push ebp
call fcn.008983a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00898260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x8a608b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.008982f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x8a6121
push 0x8be918
push edi
call fcn.008a73f0
push eax
push ebx
push esi
call fcn.008a5f60
push 0x8be8f8
push edi
call fcn.008a73f0
push eax
push ebx
push esi
call fcn.008a5f60
push 0x8be8d8
push edi
call fcn.008a73f0
push eax
push ebx
push esi
call fcn.008a5f60
push 0x8be8c0
push edi
call fcn.008a73f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.008a5f60
push 0x8be8a0
push edi
call fcn.008a73f0
push eax
push ebx
push esi
call fcn.008a5f60
push 0x8be888
push edi
call fcn.008a73f0
push eax
push ebx
push esi
call fcn.008a5f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x8a71b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.008a7140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.008a7140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.008a7140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.008a7140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x8a7bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x8a7c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x8b987c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x8a7c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x8a7c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x1000f188
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1000f197
pop dword [ebp - 0x24]
mov eax, 0x54a71550
sub eax, 0x44a623b9
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x371a9
push 0
mov eax, 0x366d6030
sub eax, 0x266c1fcc
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0xe0292506
sub ecx, 0xe028e4ee
xor ebx, ebx
add ebx, eax
mov edx, 0x6381cf71
add edx, 0xac7fb68f
add edx, dword [ebp - 0x24]
mov edi, 0x7e9a624e
mov dword [ebp - 4], 0x72d98d38
mov esi, dword [edx]
xor esi, edi
mov dword [ebx], esi
add ebx, 0x95e26145
add ebx, 0x6a1d9ebf
add edx, 0xd5dbc884
sub edx, 0xd5dbc880
loop 0x1000f1f2
add eax, 0xfa6c9c61
sub eax, 0xfa6ba92e
mov ebx, eax
add eax, 0xd9bf2d74
add eax, 0x2640d291
mov ecx, 0x7fc12de2
sub ecx, 0x6fc12de2
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x102266a9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1025a178]
jne 0x102266b3
repz ret
jmp fcn.10229654

Function at 0x10229f3f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.102267ac
and dword [ebp - 4], 0
cmp dword [0x1025b7c8], 0
mov ebx, eax
jne 0x10229ff0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1022a0a1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1022a0a1
push eax
call fcn.1022673a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1025b7c8], eax
call esi
push eax
call fcn.1022673a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1025b7cc], eax
call esi
push eax
call fcn.1022673a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1025b7d0], eax
call esi
push eax
call fcn.1022673a
pop ecx
mov dword [0x1025b7d8], eax
test eax, eax
je 0x10229ff0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1022673a
pop ecx
mov dword [0x1025b7d4], eax
mov eax, dword [0x1025b7d4]
cmp eax, ebx
je 0x1022a048
cmp dword [0x1025b7d8], ebx
je 0x1022a048
push eax
call fcn.102267b5
push dword [0x1025b7d8]
mov esi, eax
call fcn.102267b5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1022a048
test edi, edi
je 0x1022a048
call esi
test eax, eax
je 0x1022a03f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1022a03f
test byte [ebp - 0xc], 1
jne 0x1022a048
or dword [ebp + 0x10], 0x200000
jmp 0x1022a081
mov eax, dword [0x1025b7cc]
cmp eax, ebx
je 0x1022a081
push eax
call fcn.102267b5
pop ecx
test eax, eax
je 0x1022a081
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1022a081
mov eax, dword [0x1025b7d0]
cmp eax, ebx
je 0x1022a081
push eax
call fcn.102267b5
pop ecx
test eax, eax
je 0x1022a081
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1025b7c8]
call fcn.102267b5
pop ecx
test eax, eax
je 0x1022a0a1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1022a0a3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1022c0a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10259c08], 0
mov byte [0x10259c0c], 0
mov dword [0x10259c04], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1022c1c1
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
add ecx, 0xfffff560
mov dword [ebp - 0x28], eax
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x10259c10], 0
mov edi, dword [0x10259c08]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x10259c10], esi
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x10259c08], edx
mov dword [0x10259bfc], ecx
mov ecx, dword [ebp - 0x28]
mov cl, byte [ebx + ecx]
mov byte [0x10259c0c], cl
mov dword [0x10259c00], 0x21ee
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x28]
mov byte [ebx + edx], cl
mov cl, byte [0x10259c0c]
mov edx, dword [0x10259c08]
mov byte [ebx + edx], cl
mov edx, dword [0x10259bfc]
add edx, 0xfffff153
mov dword [0x10259bfc], edx
mov ecx, dword [0x10259c04]
add ecx, 1
mov dword [0x10259c04], ecx
cmp ecx, 0x100
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
jl 0x1022c0e0
jmp 0x1022c1f3
mov eax, 0x25fd
xor ecx, ecx
mov dword [0x10259c04], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x1022c0e0
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10259bfc], 0x25fd
mov eax, dword [0x10259c04]
add eax, 1
mov dword [0x10259c04], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1022c1c1
jmp 0x1022c1a5
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1022c1fb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x10259bfc]
add esi, 0xffffeeb0
mov dword [0x10259bfc], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x1022c2fa
lea eax, [ebp - 0x24]
mov dword [0x10259c00], 0x19f0
mov dword [ebp - 0x34], eax
call fcn.1022bff1
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1022bc74
xor ecx, ecx
mov dword [0x10259c00], 0x22ca
cmp eax, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
je 0x1022c33f
mov eax, dword [ebp - 0x38]
mov dword [0x10259bfc], 0x16e2
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.1022c7a6
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x10259c00], 0x190b
mov dword [ecx + 0xd0], 0x4550
mov dword [0x10259bfc], 0xfffff83d
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x14], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x5c], ecx
cmp ecx, 0
mov dword [ebp - 0x3c], eax
je 0x1022c33f
jmp 0x1022c32a
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1022e358]
mov dh, byte [eax + 0x1022e329]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x1022c22a
jmp 0x1022c2fa
mov dword [0x10259c00], 0x20b8
mov eax, dword [ebp - 0x40]
add eax, 0x273a
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add esp, 0x4c
pop esi
pop ebp
ret
Function at 0x1022c66d
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x10259c00], 0x126c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10259bfc], 0x12da
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1022c713
mov eax, 1
mov dword [0x10259bfc], 0xcb8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x1022c79e
jmp 0x1022c797
mov dword [0x10259c00], 0x1430
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1022c6ad
jmp 0x1022c797
mov dword [0x10259c00], 0xd8e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1022c769
jmp 0x1022c797
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x1022c73c
jmp 0x1022c750
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1022c784
jmp 0x1022c797
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x1022c6f5
jmp 0x1022c797
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x1022c713
jmp 0x1022c73c
mov dword [0x10259bfc], 0xfffff6b2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1022c72b
jmp 0x1022c797
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1022c6d7
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x1022c79e
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop ebp
ret
Function at 0x1022cb92
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.1022cdf3
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1022cbce
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10259bfc], 0xc6c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x10259c00], 0x241c
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x1022ccf4
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
jmp 0x1022cc80
mov eax, dword [ebp - 0x3c]
add eax, 1
mov cl, byte [ebp - 0x3d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x44], eax
jne 0x1022cc9a
jmp 0x1022ccc7
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x10259c00], 0x22be
mov ecx, dword [edx + ecx*4]
mov dword [0x10259bfc], 0x4c8
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x1022ccf4
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x50]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3d], bh
mov byte [ebp - 0x3e], cl
jne 0x1022cc25
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x1022cc4f
jmp 0x1022ccd0
xor eax, eax
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov edx, dword [ebp - 0x48]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
jb 0x1022cc80
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1022cf68
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10259c04], 0
mov dword [0x10259c08], 0
mov dword [0x10259c14], 0
mov ebx, dword [0x10259bfc]
add ebx, 0xffffec41
mov dword [0x10259c00], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1022d0b8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add eax, 1
mov edi, ecx
add edi, 1
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x10259c04], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10259c08], edx
mov dword [0x10259c00], 0x63e
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10259c0c], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10259c0c]
mov edx, dword [0x10259c08]
mov byte [ebx + edx], cl
mov edx, dword [0x10259c04]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10259c08]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x10259c14], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov dword [0x10259c00], 0xff5
mov dword [0x10259bfc], 0xc9e
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x1022d0b8
mov eax, dword [0x10259c08]
mov ecx, dword [0x10259c04]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x1022cfd3
mov dword [0x10259c00], 0x22fd
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1022d0ca
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov edx, dword [0x10259bfc]
mov esi, edx
add esi, 0xffffddef
mov dword [0x10259c00], esi
add edx, 0xfffff1ae
mov dword [0x10259bfc], edx
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1022c8c7
lea ecx, [0x1022bdce]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], edx
mov dword [esp + 0x6c], 0x13bc00
mov edx, dword [0x10259be8]
mov dword [esp + 0x74], edx
mov edx, dword [0x10259bec]
mov dword [esp + 0x60], edx
mov dword [0x10259bfc], 0x1a6c
mov edx, dword [0x10259bf0]
mov dword [esp + 0x58], edx
mov edx, dword [0x10259bf4]
mov dword [esp + 0x88], edx
mov edx, dword [0x10259bf8]
mov dword [esp + 0x48], edx
mov edx, dword [0x10259c00]
add edx, 0xc86
mov dword [0x10259c00], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x1022d1a9
jmp 0x1022d195
mov eax, dword [esp + 0xc]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1022d17a
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
jne 0x1022d195
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov dword [0x10259c00], 0x8e8
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x50], edx
mov dword [0x10259bfc], 0x1277
call fcn.1022c66d
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x1022d18b
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1022c1fb
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x10259c00], 0xd4a
mov dword [esp + 0xc], eax
jmp 0x1022d18b
Function at 0x401220
Capabilities:
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov eax, 1
lea ecx, [esp + 4]
mov dword [esp + 0x40], eax
mov word [esp + 0x44], ax
xor eax, eax
lea edx, [esp + 0x14]
mov dword [esp + 4], eax
push ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x10], eax
push edx
push eax
push eax
push 0x200
push eax
push eax
push eax
push eax
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x34], eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
pop edi
add esp, 0x54
ret 4

Function at 0x401290
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x401ad3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push esi
xor ebx, ebx
push str.SOFTWARE_
lea ecx, [esp + 0x10]
mov dword [esp + 0x228], ebx
mov dword [esp + 0xc], ebx
xor esi, esi
call fcn.00401810
push str.speedvaccine
lea ecx, [esp + 0x10]
mov byte [esp + 0x228], 1
call fcn.0040180a
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push eax
push 0xf003f
push 1
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40136e
mov dl, byte [0x403190]
push edi
mov ecx, 0x80
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], dl
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x234]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ebx
push eax
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 0x204
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
jne 0x401363
mov ecx, dword [esp + 0x230]
lea edx, [esp + 0x18]
push edx
call sub.MFC42.DLL_CString::operator
mov esi, 1
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov byte [esp + 0x224], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x22c]
mov dword [esp + 0x224], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x220
ret 8

Function at 0x4016a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x10]
lea eax, [esp + 4]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
push 0
push 0x20019
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4016d4
xor eax, eax
add esp, 8
ret
mov eax, dword [esp + 0x14]
lea ecx, [esp]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push 0
push 0
push eax
push ecx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x401706
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
add esp, 8
ret