joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10013553
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10013562
pop dword [ebp - 0x10]
mov eax, 0xdd4870f6
add eax, 0x32b8c46c
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x4d58bf30
add dword [ebp - 0x20], 0xf9861b
mov dword [ebp - 0x1c], 0x7890af75
add dword [ebp - 0x1c], 0xb9a29cd0
mov dword [ebp - 0x18], 0xe28dff8d
add dword [ebp - 0x18], 0x69be44a1
mov dword [ebp - 0x14], 0xc9b52667
add dword [ebp - 0x14], 0x364ad999
lea eax, [ebp - 0x20]
push eax
mov eax, 0x31e8eef1
sub eax, 0x21e6eeed
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x266958a
add dword [ebp - 0x20], 0x720bd3cc
mov dword [ebp - 0x1c], 0xb0744298
sub dword [ebp - 0x1c], 0x6f07e123
mov dword [ebp - 0x18], 0xefda203a
add dword [ebp - 0x18], 0x73954c32
mov dword [ebp - 0x14], 0xc3e25e2f
add dword [ebp - 0x14], 0x3c1da1d1
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0xb7f46bcd
sub eax, 0xa7f26bcd
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3f64b
push 0
call eax
mov ecx, 0xfa37d1f6
sub ecx, 0xfa377f6a
xor edi, edi
add edi, eax
mov ebx, 0x1002be00
add ebx, dword [ebp - 0x10]
mov esi, 0x548a49f5
add dword [ebp - 4], esi
mov edx, dword [ebx]
add dword [ebp - 0xc], 0xbe0cb039
add edx, esi
mov dword [ebp - 0xc], 0xc8501ae1
mov dword [edi], edx
xor dword [ebp - 0xc], 0xc4672858
add edi, 0x659dedcf
add edi, 0x9a621235
add ebx, 4
loop 0x1001367a
add eax, 0x13d03
mov ebx, eax
add eax, 0xed73b3bb
sub eax, 0xed73b3b6
mov ecx, 0x10000000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x1000a6a4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x10011dac], 0
push esi
push edi
jne 0x1000a61a
call fcn.1000a586
test eax, eax
je 0x1000a65f
mov eax, dword [0x10011dac]
cmp eax, 1
jne 0x1000a63b
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x1000a65f
jmp 0x1000a6a1
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1000a6a1
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 0x1000a663
xor eax, eax
jmp 0x1000a6a1
mov eax, dword [esi]
push dword [0x10011dac]
call edi
mov edi, eax
test edi, edi
je 0x1000a685
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x1000a6a1
lea edi, [esi + 0xff0]
push esi
push dword [0x10011dac]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1000a68b
mov eax, esi
pop edi
pop esi
ret
jmp 0x1000a606

Function at 0x1000a812
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10011c4c]
jne 0x1000a81c
repz ret
jmp fcn.1000b021

Function at 0x1000b422
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x1000b431
pop dword [ebp - 8]
mov eax, 0x6887461c
add eax, 0xa7796e15
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x37254
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x47cd
xor edx, edx
add edx, eax
mov esi, 0x31d8c04
sub esi, 0xf31bc604
add esi, dword [ebp - 8]
mov ebx, 0xe12a4055
sub ebx, 0x16bff4f5
sub dword [ebp - 4], ecx
mov edi, dword [esi]
xor dword [ebp - 4], ebx
add edi, ebx
mov dword [ebp - 4], 0x4fa9b090
mov dword [edx], edi
xor dword [ebp - 4], 0x24197160
add edx, 0x23019d66
sub edx, 0x23019d62
add esi, 0x35827c19
sub esi, 0x35827c15
loop 0x1000b487
add eax, 0x11207
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x4072b7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x4072c6
pop dword [ebp - 0x3c]
mov eax, 0x4072c6
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x3727e
push 0
mov eax, 0x7ded9119
add eax, 0x82532f93
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x4d0fd43e
add ecx, 0xb2f070de
xor edi, edi
add edi, eax
mov edx, 0x53fd6aae
add edx, 0xac43f952
add edx, dword [ebp - 0x3c]
mov esi, 0x7b23eabb
xor dword [ebp - 0x18], esi
mov ebx, dword [edx]
xor dword [ebp - 0xc], ebx
sub ebx, esi
xor dword [ebp - 0xc], 0xbd7bde52
mov dword [edi], ebx
mov dword [ebp - 0x10], 0xc0af3937
add edi, 4
add edx, 0xac994a3f
add edx, 0x5366b5c5
loop 0x40731c
add eax, 0x10743
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x40b1d6
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x40f5d0
call fcn.0040abf0
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.MSVCR120.dll___crtGetShowWindowMode]
movzx ebx, ax
mov dword [ebp - 4], esi
mov eax, dword fs:[0x18]
mov edx, dword [eax + 4]
mov edi, esi
mov esi, 0x412668
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x40b070
cmp eax, edx
jne 0x40b059
xor esi, esi
inc esi
mov edi, esi
jmp 0x40b073
xor esi, esi
inc esi
cmp dword [0x41266c], esi
jne 0x40b085
push 0x1f
call sub.MSVCR120.dll__amsg_exit
pop ecx
jmp 0x40b0c0
cmp dword [0x41266c], 0
jne 0x40b0ba
mov dword [0x41266c], esi
push 0x40c35c
push 0x40c34c
call sub.MSVCR120.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x40b0c0
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40b1d0
mov dword [0x412314], esi
cmp dword [0x41266c], esi
jne 0x40b0e3
push 0x40c348
push 0x40c324
call sub.MSVCR120.dll__initterm
pop ecx
pop ecx
mov dword [0x41266c], 2
test edi, edi
jne 0x40b0f0
xor eax, eax
mov ecx, 0x412668
xchg dword [ecx], eax
cmp dword [0x412670], 0
je 0x40b114
push 0x412670
call main
pop ecx
test eax, eax
je 0x40b114
push 0
push 2
push 0
call dword [0x412670]
mov eax, dword [sym.imp.MSVCR120.dll__wcmdln]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
push 0x20
pop esi
mov edx, dword [ebp - 0x20]
movzx eax, word [ecx]
cmp ax, si
ja 0x40b16d
test ax, ax
je 0x40b135
test edx, edx
jne 0x40b16d
movzx eax, word [ecx]
test ax, ax
je 0x40b14a
cmp ax, si
ja 0x40b14a
add ecx, 2
mov dword [ebp - 0x1c], ecx
jmp 0x40b135
push ebx
push ecx
push 0
push 0x400000
call main
mov dword [0x412318], eax
cmp dword [0x41231c], 0
jne 0x40b1b5
push eax
call dword [sym.imp.MSVCR120.dll_exit]
cmp eax, 0x22
jne 0x40b17e
xor eax, eax
test edx, edx
sete al
mov edx, eax
mov dword [ebp - 0x20], edx
add ecx, 2
mov dword [ebp - 0x1c], ecx
jmp 0x40b124
cmp dword [0x412314], 0
jne 0x40b1c9
call dword [sym.imp.MSVCR120.dll__cexit]
mov eax, dword [0x412318]
mov dword [ebp - 4], 0xfffffffe
call fcn.0040ac35
ret
call main
jmp 0x40b029
Function at 0x4080c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x43b040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x28], edi
call dword [sym.imp.mfc140.dll_Ordinal_10421]
call dword [sym.imp.mfc140.dll_Ordinal_2241]
mov ebx, 0x80
push ebx
push 0xe
push ebx
call dword [sym.imp.mfc140.dll_Ordinal_2210]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push ebx
push dword [edi + 0x20]
mov dword [edi + 0x3e4], eax
call esi
push dword [edi + 0x3e4]
push 0
push ebx
push dword [edi + 0x20]
call esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ebx, [edi + 0x2d0]
push ebx
push dword [edi + 0x20]
call esi
push 0x441
mov ecx, edi
call dword [sym.imp.mfc140.dll_Ordinal_5401]
lea ecx, [edi + 0x2e0]
push ecx
push dword [eax + 0x20]
call esi
mov ecx, edi
mov edi, dword [sym.imp.mfc140.dll_Ordinal_12969]
push ebx
call edi
mov ecx, dword [ebp - 0x28]
lea esi, [ebx + 0x10]
push esi
call edi
mov eax, dword [esi]
xor edi, edi
sub eax, dword [ebx]
sub esp, 0xc
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x14]
sub eax, dword [ebx + 4]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 0x18]
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 0x1c]
mov dword [ebx + 0x2c], eax
mov ebx, dword [ebp - 0x28]
push edi
lea ecx, [ebx + 0x3e8]
mov dword [ebx + 0x3a8], 3
mov dword [ebx + 0x3b8], 0xf000
mov dword [ebx + 0x3b4], 0x1000
mov dword [ebx + 0x538], 0x43b320
mov dword [ebx + 0x53c], edi
mov dword [ebx + 0x548], edi
mov dword [ebx + 0x9a0], 0x43b0b8
mov dword [ebx + 0x9a4], edi
mov dword [ebx + 0x9b0], edi
call fcn.00418a49
sub esp, 0xc
lea ecx, [ebx + 0x850]
push edi
call fcn.00418a49
mov dword [ebx + 0x3a0], ebx
test ebx, ebx
je 0x40823d
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x24], xmm0
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push edi
push dword [ebx + 0x3a0]
mov dword [ebp - 0xc], eax
add eax, 0xfffffff5
push ecx
mov dword [ebp - 0x14], eax
lea ecx, [ebx + 0x320]
lea eax, [edx - 0xb]
mov dword [ebp - 8], edx
push 0x50000010
mov dword [ebp - 0x10], eax
call dword [sym.imp.mfc140.dll_Ordinal_3238]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00425c19
leave
ret
Function at 0x40b12d
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x3c
mov eax, 0x4272ab
call fcn.00426587
mov eax, dword [ebp - 0x44]
xor ebx, ebx
mov dword [ebp - 0x44], eax
inc ebx
mov eax, 0x43f628
push ebx
mov ecx, eax
mov dword [ebp - 0x44], eax
call dword [sym.imp.mfc140.dll_Ordinal_994]
xor esi, esi
push ecx
mov dword [ebp - 4], esi
mov ecx, 0x43fde8
mov dword [0x43f628], 0x42dd04
call fcn.004092ed
mov byte [ebp - 4], bl
xorps xmm0, xmm0
mov ecx, 0x447f74
movsd qword [0x447bf8], xmm0
mov dword [0x447c00], esi
call fcn.00401050
mov ecx, 0x44cfa4
push 0xa
call dword [sym.imp.mfc140.dll_Ordinal_929]
push 0x11
mov dword [0x44cfa4], 0x42f644
mov dword [0x465510], ebx
mov dword [0x465514], esi
mov dword [0x465518], esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and eax, ebx
mov dword [0x43f740], ebx
push 0x4b0
xor ebx, ebx
mov dword [0x43fac8], eax
push ebx
push 0x447ab8
call sub.VCRUNTIME140.dll_memset
movaps xmm0, xmmword [0x435370]
mov esi, str.IPCN_DRUCKFORMULAR
push 5
pop ecx
push 0x42af5f
mov edi, 0x447ab8
rep movsd dword es:[edi], dword [esi]
push 0x104
push 0x43fce4
movups xmmword [0x447acc], xmm0
mov dword [0x447adc], 0x129
mov dword [0x447b24], 0x64
mov dword [0x447cb4], ebx
mov dword [0x447f6c], ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov esi, 0xc024
push esi
push ebx
push 0x44d348
call sub.VCRUNTIME140.dll_memset
push esi
push ebx
push 0x45936c
call sub.VCRUNTIME140.dll_memset
push 0x110
push ebx
push 0x465390
call sub.VCRUNTIME140.dll_memset
push 7
pop ecx
push 0x90
xor eax, eax
mov edi, 0x44d1cc
push ebx
rep stosd dword es:[edi], eax
push 0x44d1e8
call sub.VCRUNTIME140.dll_memset
add esp, 0x48
push 0xd0
push ebx
push 0x44d278
call sub.VCRUNTIME140.dll_memset
push str.00000000_0000_0000_0000_000000000000
push 0x42d9d8
lea ecx, [ebp - 0x40]
push 0x30
push ecx
call fcn.004015d5
add esp, 0x1c
lea ecx, [ebp - 0x40]
push 0x43facc
push ecx
call dword [sym.imp.RPCRT4.dll_UuidFromStringA]
mov eax, 0x43f628
call fcn.00426545
ret
Function at 0x40b990
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x43b040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.SoftwareByteCompanyIPCN
push str._sSystem
lea eax, [ebp - 0x1f8]
mov esi, ecx
push 0x1f4
push eax
call fcn.004015d5
add esp, 0x10
lea eax, [ebp - 0x1fc]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x1f8]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40ba23
lea eax, [ebp - 0x200]
mov dword [ebp - 0x200], 0x104
push eax
lea eax, [esi + 0x6bc]
push eax
push 0
push 0
call dword [sym.imp.BCBasic.dll_BCBasic_MakeNetzPfadIndex]
push eax
push dword [ebp - 0x1fc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x1fc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00425c19
leave
ret

Function at 0x40e206
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
mov dword [ebp - 4], eax
push ebx
push edi
mov eax, dword [eax + 0x80]
mov eax, dword [eax + 0x5ec]
test eax, eax
je 0x40e2be
mov ebx, dword [eax]
cmp dword [ebx + 8], 0x1a
mov edi, dword [ebx]
je 0x40e2ca
test edi, edi
je 0x40e2b6
call fcn.00407d3b
test eax, eax
je 0x40e243
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40e2b6
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [edi + edi]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40e2ad
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp - 4]
push esi
push dword [eax + 0x4c0]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x40e2ad
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0xffffffffffffffff
push 0
push 0x75
call dword [sym.imp.mfc140.dll_Ordinal_2297]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
jmp 0x40e2ca
push 0xffffffffffffffff
push 0
push 0x76
jmp 0x40e2c4
push 0xffffffffffffffff
push 0
push 0x74
call dword [sym.imp.mfc140.dll_Ordinal_2297]
pop edi
pop ebx
leave
ret
Function at 0x40e2ce
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
mov esi, ecx
call fcn.00407d3b
test eax, eax
je 0x40e2dd
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40e35f
push ebx
mov ebx, dword [esi + 0x80]
push edi
push dword [esi + 0x4c0]
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x40e34a
mov ecx, dword [edi + 8]
call fcn.0040385b
push dword [edi]
mov esi, eax
push edi
push dword [esi]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [ebx + 0x588]
push esi
call dword [sym.imp.mfc140.dll_Ordinal_2001]
mov dword [ebx + 0x5ec], esi
mov ecx, ebx
mov eax, dword [esi]
push esi
push dword [eax + 8]
push 1
call fcn.0040c47c
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
call dword [sym.imp.mfc140.dll_Ordinal_14404]
jmp 0x40e356
push 0xffffffffffffffff
push 0
push 0x77
call dword [sym.imp.mfc140.dll_Ordinal_2297]
pop edi
pop ebx
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
ret
Function at 0x4269aa
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4269e9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4269e9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4269e9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4269e9
cmp dword [ecx + 0x74], 0xe
jbe 0x4269e9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10020313
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x10020322
pop dword [ebp - 0x1c]
mov eax, 0xe39281e3
add eax, 0x2c6f813f
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xe41a1643
add dword [ebp - 0x2c], 0x6a382f08
mov dword [ebp - 0x28], 0x5c74f5a6
sub dword [ebp - 0x28], 0x2a41a961
mov dword [ebp - 0x24], 0xa963fd9d
add dword [ebp - 0x24], 0xa2e84691
mov dword [ebp - 0x20], 0x9a64e06f
sub dword [ebp - 0x20], 0x9a64e06f
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x9061610
add eax, 0x6fc0a34
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x6ffb10fa
add dword [ebp - 0x2c], 0x477585c
mov dword [ebp - 0x28], 0xc6cfb3e3
add dword [ebp - 0x28], 0x7a9cad92
mov dword [ebp - 0x24], 0x26eacc87
add dword [ebp - 0x24], 0x3c849fe5
mov dword [ebp - 0x20], 0xdc280a1e
add dword [ebp - 0x20], 0x23d7f5e2
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x604357d
add eax, 0x9fdeac3
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x37064
push 0
call eax
mov ecx, 0x436d
xor esi, esi
add esi, eax
mov edi, 0xb49a9601
add edi, 0x5b6885ff
add edi, dword [ebp - 0x1c]
mov edx, 0x7439dc97
sub edx, 0x4b7c53aa
add dword [ebp - 0x18], 0xa85d22c2
mov ebx, dword [edi]
xor dword [ebp - 4], 0x1c977
add ebx, edx
sub dword [ebp - 0x10], 0x53029bda
mov dword [esi], ebx
xor dword [ebp - 0xc], edx
add esi, 0x4e6f287b
add esi, 0xb190d789
add edi, 0xfef75feb
sub edi, 0xfef75fe7
loop 0x10020440
add eax, 0xcd518a69
sub eax, 0xcd5089e2
xor ebx, ebx
add ebx, eax
add eax, 0x306c5d62
sub eax, 0x306c5d5d
mov ecx, 0x10000000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x10b58058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.10b581a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10b5807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10b5806a
add dl, dl
jne 0x10b58089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10b580dc
xor eax, eax
add dl, dl
jne 0x10b58096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10b5817d
add dl, dl
jne 0x10b580a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10b580b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10b580bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10b580c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10b580d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10b58075
mov eax, 1
add dl, dl
jne 0x10b580ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10b580f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10b580e1
sub eax, ebx
mov ebx, 1
jne 0x10b58128
mov ecx, 1
add dl, dl
jne 0x10b5810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10b58119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10b58105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10b58075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10b5813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10b5814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10b58136
cmp eax, 0x7d00
jae 0x10b5816d
cmp eax, 0x500
jb 0x10b58168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10b58075
cmp eax, 0x7f
ja 0x10b58170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10b58075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10b5819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10b58075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4013cf
Capabilities:
Get number of processors

Disassembly:
mov ecx, 0x504d18
jmp 0x4013c3
mov eax, 0x4c51f4
call fcn.00494790
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004014d5
mov eax, dword [0x5006e8]
lea ecx, [esi + 0xa0]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x5006e8]
mov dword [esi + 0xb0], eax
push 1
mov dword [esi], 0x4cc7cc
or dword [esi + 0x20], 0xffffffff
or dword [esi + 0x1c], 0xffffffff
pop edi
mov dword [esi + 0x28], ebx
push 0xa
mov dword [esi + 0x24], ebx
pop eax
mov byte [ebp - 4], 2
push 0x64
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], eax
pop eax
push 0x504d10
mov dword [esi + 0x2c], 2
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], ebx
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], 0x3e8
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], 0xc0
mov dword [esi + 0x84], 0x6c
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x9c], ebx
call fcn.004afa9d
push 0x504d10
lea ecx, [esi + 0xb0]
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
call fcn.004afa9d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40aeae
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4c601c
call fcn.00494790
sub esp, 0x22c
push ebx
push esi
mov dword [ebp - 0x2c], ecx
mov esi, 0x504de8
push str.DataFile_Types
mov ecx, esi
call fcn.004c2701
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x40aee4
xor eax, eax
jmp 0x40b02c
mov eax, dword [0x5006e8]
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x24], 0x100
mov dword [ebp - 0x20], ebx
call edi
cmp eax, 0x103
je 0x40affc
lea eax, [ebp - 0x238]
push eax
push str.DataFile_Types
lea eax, [ebp - 0x10]
push 0x4ebd84
push eax
call fcn.004ad237
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esi
push ebx
push str.Name
push dword [ebp - 0x10]
push eax
call fcn.004c27b3
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004afa4d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004af906
push ebx
push str.Extension
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.004c27b3
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004afa4d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004af906
push 0xffffffffffffffff
push str.Icon
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004c2747
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 8], ebx
je 0x40afd5
mov edx, dword [ebp - 0x1c]
cmp dword [edx - 8], ebx
je 0x40afd5
cmp eax, 0xffffffff
je 0x40afd5
push eax
push edx
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0040b119
lea eax, [ebp - 0x38]
inc dword [ebp - 0x20]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x24], 0x100
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
jmp 0x40af20
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004af906
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004af906
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004af906
push 1
pop eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40c182
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
mov edi, 0x4ceb18
push ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x2b4
lea eax, [ebp - 0x2bc]
push esi
push ebx
push eax
call fcn.004947b0
lea eax, [ebp - 8]
add esp, 0xc
neg eax
sbb eax, eax
lea ecx, [ebp - 4]
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 8], ebx
mov eax, dword [eax]
sete cl
or cx, 0x4008
push ecx
lea ecx, [ebp - 0x2bc]
push esi
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 8]
mov esi, eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 4]
and ecx, eax
mov dword [ebp - 8], edi
call fcn.0040c4f6
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4