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

Disassembly:
sub esp, 0x80c
mov eax, dword [0x41a174]
xor eax, esp
mov dword [esp + 0x808], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x820]
lea eax, [esp + 0x18]
mov esi, 0x800
xor ebp, ebp
push esi
push ebp
push eax
call sub.VCRUNTIME140.dll_memset
mov ebx, dword [esp + 0x830]
lea eax, [esp + 0x24]
push 0x40f690
push str.SOFTWAREJavaSoftJava_Plug_in
push 0x40f6bc
push esi
push eax
mov dword [esp + 0x34], ebx
call fcn.00407436
add esp, 0x20
lea eax, [esp + 0x10]
push eax
movzx eax, byte [esp + 0x82c]
shl eax, 8
add eax, 0x20019
push eax
push ebp
lea eax, [esp + 0x24]
push eax
push reloc.oleaut32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406f65
lea eax, [esp + 0x14]
push eax
push edi
push ebp
push 2
push 0x40f6c4
push ebp
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
push dword [esp + 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x406f65
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406f39
sub ecx, edx
lea eax, [ecx + 5]
cmp eax, ebx
ja 0x406f65
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x406f4a
mov eax, dword [str._bin]
mov dword [edi], eax
mov al, byte [0x40f6d4]
mov byte [edi + 4], al
mov al, 1
jmp 0x406f67
xor al, al
mov ecx, dword [esp + 0x818]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040baa8
add esp, 0x80c
ret

Function at 0x407be2
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x40d788
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x41a174]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x214]
lea eax, [ebp]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x1a
push ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
js 0x407ccf
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.004098db
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040993e
push 0x104
push eax
push dword [ebp + 0x218]
push edi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x407ca5
call fcn.00409d5b
jmp 0x407ca5
xor eax, eax
test esi, esi
setns 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.0040baa8
add ebp, 0x20c
leave
ret
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.0040a002
pop ecx
pop ecx
push ebx
push esi
call fcn.0040c28f
int3
Function at 0x407ce4
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x40d7b8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x41a174]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x214]
lea eax, [ebp]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x23
push ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
js 0x407dd1
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.004098db
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040993e
push 0x104
push eax
push dword [ebp + 0x218]
push edi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x407da7
call fcn.00409d5b
jmp 0x407da7
xor eax, eax
test esi, esi
setns 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.0040baa8
add ebp, 0x20c
leave
ret
push esi
push str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.0040a002
pop ecx
pop ecx
push ebx
push esi
call fcn.0040c28f
int3

Function at 0x407f4a
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x40d7e0
call fcn.0040bbc5
mov ebx, dword [ebp + 8]
xor edi, edi
xor eax, eax
mov dword [ebp - 4], edi
mov esi, edi
mov dword [ebp - 0x14], esi
mov word [ebx], ax
call fcn.00407e60
test eax, eax
je 0x407f7b
call fcn.00407e52
mov esi, eax
mov dword [ebp - 0x14], eax
push 0x104
push ebx
push esi
push edi
push 0x40e310
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
test esi, esi
js 0x408091
jmp 0x407fcb
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x407fd9
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
test esi, esi
jns 0x408089
push ebx
push edi
push edi
push 0x1a
push edi
mov dword [ebp - 4], 2
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x40803a
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x408097
or dword [ebp - 4], 0xffffffff
test esi, esi
jns 0x408089
push 1
push 0x1a
push ebx
push edi
mov dword [ebp - 4], 4
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
test esi, esi
jns 0x408089
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x408097
mov eax, esi
call fcn.0040bb34
ret
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.0040a002
pop ecx
pop ecx
push edi
push esi
call fcn.0040c28f
int3

Function at 0x4089b2
Capabilities:
Query environment variable

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
je 0x4089d6
push dword [esp + 0xc]
push dword [esp + 0xc]
push str.USER_JPI_PROFILE
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
xor ecx, ecx
inc ecx
test eax, eax
cmovne esi, ecx
mov eax, esi
pop esi
ret
Function at 0x409636
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x108]
sub esp, 0x108
push 0xffffffffffffffff
push 0x40d83b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x41a174]
xor eax, ebp
mov dword [ebp + 0x104], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x410204
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
add esp, 0xc
test eax, eax
jne 0x40972e
push dword [ebp - 0x18]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp dword [0x41beb8], 0
pop ecx
je 0x4096a6
xor eax, eax
inc eax
jmp 0x409730
lea eax, [ebp]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.kernel32.dll_GetTempPathA]
cmp eax, esi
ja 0x40972e
test eax, eax
je 0x40972e
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.00409890
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push str.JavaDeployReg.log
call fcn.00409890
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
call fcn.0040995c
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x4096fb
call fcn.00409d5b
push 0x410230
lea ecx, [ebp - 0x10]
call fcn.0040993e
push eax
push 0x41beb8
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
test ecx, ecx
je 0x409729
call fcn.00409d5b
lea eax, [esi + 1]
jmp 0x409730
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.0040baa8
add ebp, 0x108
leave
ret

Function at 0x409be0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x41a174]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
mov ebx, dword [esp + 0x124]
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 4]
or eax, 0x2001f
push eax
push ebx
push dword [edi]
call fcn.0040c28f
mov esi, eax
test esi, esi
jne 0x409c8f
lea eax, [esp + 0x20]
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x409c6a
lea eax, [esp + 0x28]
push eax
call fcn.00409be0
mov esi, eax
test esi, esi
jne 0x409c8f
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x30]
mov dword [esp + 0x30], 0x100
call ebp
lea ecx, [esp + 0x14]
test eax, eax
je 0x409c45
call fcn.004099b5
push ebx
mov ecx, edi
call fcn.004099cf
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.004099b5
mov ecx, dword [esp + 0x128]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040baa8
add esp, 0x11c
ret 4
Function at 0x409e7e
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x824
mov eax, dword [0x41a174]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
push ebp
mov ebp, dword [esp + 0x830]
lea eax, [esp + 0x428]
push esi
mov esi, dword [esp + 0x838]
xor ebx, ebx
push edi
mov edi, 0x400
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
push esi
push ebx
push ebp
push 0xffffffffffffffff
lea eax, [esp + 0x44c]
push edi
push eax
call fcn.0040c28f
movzx ecx, byte [esp + 0x853]
lea edi, [esp + 0x34]
xor edx, edx
test eax, eax
push 8
cmovs ecx, edx
xor eax, eax
mov byte [esp + 0x857], cl
pop ecx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push 0x20
push eax
call fcn.0040c28f
push 0x413098
lea eax, [esp + 0x40]
push 0x20
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
push 0x400
lea eax, [esp + 0x6c]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, ebp
add esp, 0x44
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409f24
sub ecx, edx
cmp ecx, 6
jbe 0x409f4c
lea eax, [ebp - 6]
add eax, ecx
push str.__08x_
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
pop ecx
pop ecx
test eax, eax
jne 0x409f4c
xor ebx, ebx
inc ebx
lea esi, [esp + 0x10]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x409f53
sub esi, ecx
lea eax, [esp + 0x430]
push eax
mov ecx, 0x4119e3
test ebx, ebx
mov eax, str.Error:
cmove eax, ecx
push eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push eax
push str.P:_04d_T:_04d__s_s
mov eax, 0x3ff
sub eax, esi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x4c]
add eax, esi
push eax
call fcn.0040c28f
mov ecx, dword [esp + 0x44b]
test eax, eax
push esi
lea eax, [esp + 0x34]
mov edx, 0x2e2e2e
push eax
lea eax, [esp + 0x58]
cmovs ecx, edx
push eax
mov dword [esp + 0x457], ecx
call sub.VCRUNTIME140.dll_memcpy
lea edi, [esp + 0x5c]
add esp, 0x2c
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x409fcd
mov ax, word [0x4130c4]
mov word [edi], ax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x830]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040baa8
add esp, 0x824
ret
Function at 0x40a3c6
Capabilities:
Query environment variable
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x1010
call fcn.0040bac0
mov eax, dword [0x41a174]
xor eax, esp
mov dword [esp + 0x100c], eax
push ebx
mov ebx, dword [esp + 0x1018]
lea eax, [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [esp + 0x1028]
mov ebp, 0x800
xor esi, esi
mov dword [esp + 0x18], 1
push ebp
push esi
push eax
mov dword [esp + 0x1c], esi
call sub.VCRUNTIME140.dll_memset
push ebp
lea eax, [esp + 0x82c]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
push ebx
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 0x1c
test eax, eax
je 0x40a461
push eax
push dword [esp + 0x1030]
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
test eax, eax
je 0x40a5d9
xor eax, eax
mov ecx, dword [esp + 0x101c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040baa8
add esp, 0x1010
ret
lea eax, [esp + 0x10]
push eax
push 0x20019
push esi
push dword [0x41a160]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a446
lea eax, [esp + 0x102c]
push eax
push edi
lea eax, [esp + 0x20]
push eax
push esi
push ebx
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40a5bd
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push esi
push 0x4133d0
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40a4dc
xor esi, esi
inc esi
jmp 0x40a5bd
push dword [esp + 0x10]
call ebp
lea eax, [esp + 0x10]
push eax
push 0x20019
push esi
push str.SOFTWAREOracleJavaDeploy
push reloc.oleaut32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a4d4
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push eax
lea eax, [esp + 0x820]
push eax
lea eax, [esp + 0x20]
push eax
push esi
push str.deployment.modified.timestamp
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40a4d4
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 0x800
push eax
lea eax, [esp + 0x820]
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
pop ecx
pop ecx
test eax, eax
js 0x40a5d9
lea eax, [esp + 0x14]
push eax
push edi
lea eax, [esp + 0x20]
push eax
push esi
push ebx
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40a4d4
push dword [esp + 0x10]
call ebp
call fcn.0040c28f
test eax, eax
jne 0x40a5d9
lea eax, [esp + 0x10]
push eax
push 0x20006
push esi
push dword [0x41a160]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40a446
push dword [esp + 0x14]
push edi
push 1
push esi
push ebx
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40a5ca
push dword [esp + 0x10]
call ebp
mov eax, esi
jmp 0x40a448
push dword [esp + 0x10]
call ebp
push edi
push ebx
call fcn.0040c28f
pop ecx
pop ecx
xor eax, eax
inc eax
jmp 0x40a448
Function at 0x40c28f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x40c29e
pop dword [ebp - 0x2c]
mov eax, 0x40c29e
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xb2bb0391
add dword [ebp - 0x3c], 0x9b9741ba
mov dword [ebp - 0x38], 0x5e9ba4f9
add dword [ebp - 0x38], 0xd397a74c
mov dword [ebp - 0x34], 0x6cc4e859
add dword [ebp - 0x34], 0xdf875bd5
mov dword [ebp - 0x30], 0x38a84002
add dword [ebp - 0x30], 0xc757bffe
lea eax, [ebp - 0x3c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x5270045e
add dword [ebp - 0x3c], 0x220264f8
mov dword [ebp - 0x38], 0xb925fb4b
sub dword [ebp - 0x38], 0x77b999d6
mov dword [ebp - 0x34], 0x9a3cac6c
sub dword [ebp - 0x34], 0x36cd4000
mov dword [ebp - 0x30], 0x4c2850d1
sub dword [ebp - 0x30], 0x4c2850d1
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x84bba723
add eax, 0x7b853965
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x342d2
push 0
call eax
mov ecx, 0x3a21
mov edi, eax
mov ebx, 0xbcd43566
sub ebx, 0xbc924566
add ebx, dword [ebp - 0x2c]
mov esi, 0x290e0c4d
add dword [ebp - 0x28], edx
mov edx, dword [ebx]
mov dword [ebp - 0x14], 0xf1c79f2
xor edx, esi
sub dword [ebp - 0xc], edi
mov dword [edi], edx
xor dword [ebp - 4], ecx
add edi, 0x265e98f1
sub edi, 0x265e98ed
add ebx, 4
loop 0x40c3aa
add eax, 0xd7fa857
sub eax, 0xd7ecd00
xor ebx, ebx
add ebx, eax
add eax, 0xcfb0affe
add eax, 0x304f5007
mov ecx, 0x400000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x407f25
Capabilities:
Encode data using xor

Disassembly:
cli
push eax
mov dh, 0
add ch, bl
lodsb al, byte [esi]
or ah, bl
xchg byte [eax], dh
ret 0x40
cmp dword [ebp - 0x7a], eax
fchs
fnstsw word [ebp + 8]
mov dword [ecx], 0xfc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
push edx
call dword [0x40c1ea]
push ss
pop ebp
adc ebx, ebp
inc ebp
in al, dx
fcomp qword [0x8a40c2cb]
add ecx, 0xc
fbstp tbyte [edi - 0xa]
les edi, [edi + 0x73a8727b]
push eax
sbb bl, dh
jbe 0x407fba
fld qword [ebp - 0x14]
in al, dx
fdivr st(0), st(0)
xor dl, al
inc eax
add bh, bl
loopne 0x407f64
ret 0x40
push ss
inc esp
jnp 0x407efe
fld qword [ebp - 0x64]
xchg ecx, eax
std
pop ecx
cmp eax, 0x451ba83d
fist dword [eax - 0x7d]
in al, dx
cwde
fstp qword [esp + ebx]
xchg esi, eax
adc eax, 0x407918
fnsave dword [ecx - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x405aaf]
mov ebx, 0x24e0cc4
dec ebp
sbb bl, al
mov word [eax], es
call 0x70b581
mov ebx, dword [ebp - 2]
mov cl, 0x30
mov eax, esp
mov byte [esi], cl
mov ecx, dword [ebp - 0x47]
push 0x4d89583b
cld
ja 0x407f68
lea eax, [ebx + 0x50]
cmp esi, eax
push ss
pop esp
mov dl, byte [esi]
mov al, al
inc edi
inc esi
sub al, dh
jb 0x407fc1
jmp 0x407fcc
invalid
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..idata
mov ebx, 0x40915c
nop
nop
mov ecx, 0x61a74b51
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x4f2a09e3
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x1267d51
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x127fd2b
sub esp, 0x24
mov eax, dword [0x12e2154]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
xor ebx, ebx
mov dword [esp + 0xc], eax
push edi
mov eax, dword [esi + 0x3c]
mov ebp, dword [eax + esi + 0x78]
add ebp, esi
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x127fd99
mov eax, dword [edi]
lea ecx, [esp + 0x18]
add eax, esi
push eax
call fcn.012684d6
push dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
call fcn.0126a5fb
pop ecx
pop ecx
test al, al
jne 0x127fdb0
lea ecx, [esp + 0x18]
add edi, 4
call fcn.0126a57e
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x127fd64
xor esi, esi
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.012699ad
add esp, 0x24
ret
mov eax, dword [ebp + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov esi, dword [eax + esi]
lea ecx, [esp + 0x18]
call fcn.0126a57e
jmp 0x127fd9b

Function at 0x126a7b3
Capabilities:
Encode data using xor

Disassembly:
jmp 0x12807aa
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x128089e
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebp, 0x12e54f8
mov bl, byte [esi + edi]
push 0x12c75c8
push ebp
call fcn.01269660
xor edx, edx
mov eax, esi
div dword [esp + 0x24]
pop ecx
pop ecx
push 0x1221f3c
push 0x12c75d4
mov bh, byte [edx + section..euro]
push 0x12e55e0
xor bh, bl
call fcn.01269660
pop ecx
pop ecx
mov ecx, eax
call fcn.0126c70c
mov bl, byte [esi + edi]
push 0x1221f3c
push 0x12c75e4
push ebp
call fcn.01269660
pop ecx
pop ecx
mov ecx, eax
call fcn.0126c70c
add byte [esi + edi], bh
push 0x1221f3c
push 0x12c75f8
push ebp
call fcn.01269660
pop ecx
pop ecx
mov ecx, eax
call fcn.0126c70c
dec byte [esi + edi]
push 0x12c7618
push ebp
call fcn.01269660
add byte [esi + edi], 0xfe
push 0x12c7624
push ebp
call fcn.01269660
sub byte [esi + edi], bl
push 0x12c7638
push ebp
call fcn.01269660
inc byte [esi + edi]
push 0x12c7648
push ebp
call fcn.01269660
inc byte [esi + edi]
push 0x12c7654
push ebp
call fcn.01269660
inc byte [esi + edi]
push 0x12c7660
push ebp
call fcn.01269660
add esp, 0x30
inc esi
cmp esi, dword [esp + 0x18]
jb 0x12807c3
pop edi
pop ebp
pop ebx
pop esi
ret

Function at 0x126cb1c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
jmp 0x127fdf6
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x1315f88], eax
pop edi
pop esi
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..retplne
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x622617d3
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x454a006d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
jmp 0x431219