joyce8/EMBER2024-capa huggingface dataset:
Function at 0x518f60
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x518fc0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x518fc0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x518fc0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x518fc0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x518fd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x520f70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x54c4d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.0053fcdf
xor eax, eax
mov dword [esi + 0x10], 0x71e8ec
mov dword [esp + 0x10], eax
mov dword [esi + 0x14], eax
mov ecx, 1
mov dword [esi], method.CDC.virtual_0
mov byte [esp + 0x10], cl
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [ecx], eax
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], eax
push edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00521070
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x521000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54c4fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], method.CDC.virtual_0
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 1
push eax
call fcn.00521cb0
lea ecx, [esi + 0x10]
mov dword [esp + 8], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x14], 2
call fcn.0054092d
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0053fe14
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x53be96
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x53bece
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00539f11
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00539ee9
jmp 0x53beda
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x53d690
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x53d6d2
call fcn.00543afe
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x53d6d2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x53d6c9
xor eax, eax
jmp 0x53d6da
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0053d6e0
pop edi
pop esi
pop ebx
ret 4
Function at 0x54402e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x54405c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x54407a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00543f94
jmp 0x54407a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x54407a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00543f94
test edi, edi
mov eax, edi
jne 0x544064
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4035c3
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x120
lea ebp, [esp - 4]
mov eax, dword [0x420450]
xor eax, ebp
mov dword [ebp + 0x120], eax
push 0x20
mov eax, 0x41a3f5
call fcn.0040ea07
mov edi, dword [ebp + 0x12c]
mov esi, 0x104
xor ebx, ebx
push esi
lea eax, [ebp + 0x1c]
push ebx
push eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esi
call fcn.0040e0c0
add esp, 0xc
push ebx
lea ecx, [ebp]
mov byte [ebp - 0xd], 1
mov dword [ebp + 0x18], 0xf
call fcn.004024b9
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 4], ebx
jmp 0x4036a1
cmp byte [ebp - 0xd], bl
je 0x40365b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00403387
mov byte [ebp - 0xd], bl
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x403686
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00403387
inc dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
push dword [ebp - 0x24]
call edi
test eax, eax
je 0x40363b
mov eax, dword [ebp - 0x14]
cmp dword [0x42176c], eax
jne 0x4036c8
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x4036be
lea eax, [ebp + 4]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push ebx
push 1
lea ecx, [ebp]
call fcn.00402ea2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x120]
xor ecx, ebp
call fcn.0040e13a
add ebp, 0x124
leave
ret 4
Function at 0x40625a
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x4062a8
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x4062b9
push 0xd
pop eax
jmp 0x4062e3
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x4062bc
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x406628
Capabilities:
Create thread

Disassembly:
cmp byte [0x4217c2], 1
jne 0x406675
push edi
xor edi, edi
cmp dword [0x4217c4], edi
jne 0x406674
push esi
push 0x4217c4
push edi
push edi
push 0x40646d
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, edi
jne 0x40665f
mov dword [0x4217c4], edi
jmp 0x406673
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x406673
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
ret

Function at 0x406d9e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 1
push esi
push str.SoftwareIntelDisplayigfxcuiigfxcfg
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406df9
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.DCRotationCaps
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [ebp - 0xc], 1
pop esi
sete al
leave
ret
Function at 0x4071a7
Capabilities:
Get geographical location
Identify system language via api
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
movzx eax, ax
push esi
push 3
push eax
mov dword [ebp - 0xc], eax
call edi
mov ebx, eax
lea eax, [ebx + 1]
push eax
call fcn.0040c3ab
pop ecx
push ebx
push eax
push 3
push dword [ebp - 0xc]
mov dword [ebp - 8], eax
call edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push str.SoftwareIntelDisplayigfxcuihkcmd_resources
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40722c
push ebx
push dword [ebp - 8]
push 1
push esi
push str.UserLangID
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], esi
pop edi
pop esi
pop ebx
je 0x40723d
push dword [ebp - 8]
call fcn.0040c610
pop ecx
leave
ret

Function at 0x4076b8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x420450]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.00406219
mov ebx, eax
cmp ebx, esi
je 0x407728
lea ecx, [ebp - 0x70]
call fcn.004061a4
mov eax, ebx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040e13a
add ebp, 0x9c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x407740
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.004076b8
cmp eax, esi
jne 0x407772
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x407730
lea ecx, [ebp - 0x70]
call fcn.004061a4
push dword [ebp - 0x78]
mov ecx, edi
call fcn.00406149
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.004061a4
mov eax, esi
jmp 0x40770e
Function at 0x40abb2
Capabilities:
Check os version

Disassembly:
push 0xa0
mov eax, 0x41a8db
call fcn.0040ea70
mov ebx, dword [ebp + 8]
and dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], ebx
xor edi, edi
lea eax, [ebp + 0xc]
inc edi
push eax
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00403344
push 0x94
lea eax, [ebp - 0xa4]
push 0
push eax
mov dword [ebp - 0xa8], edi
call fcn.0040e0c0
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 2
jne 0x40ac42
cmp dword [ebp - 0xa0], 5
jne 0x40ac42
push str.Global_
mov ecx, ebx
call fcn.00403387
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0xc]
push eax
mov ecx, ebx
call fcn.0040308a
push 0
push edi
lea ecx, [ebp + 0xc]
call fcn.00402ea2
mov eax, ebx
call fcn.0040eaba
ret

Function at 0x40af2d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
mov byte [ebp - 1], 1
cmp dword [0x4217d0], ebx
jne 0x40af6a
push 0x4217d0
push ebx
push ebx
push 0x40ac55
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
jne 0x40af63
mov dword [0x4217d0], ebx
mov byte [ebp - 1], bl
jmp 0x40af6a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
pop ebx
leave
ret
Function at 0x40e13a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x420450]
jne 0x40e144
repz ret
jmp fcn.004100c1

Function at 0x415a30
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041105c
and dword [ebp - 4], 0
cmp dword [0x4222c0], 0
mov ebx, eax
jne 0x415ae1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x415b92
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x415b92
push eax
call fcn.00410fea
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4222c0], eax
call esi
push eax
call fcn.00410fea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4222c4], eax
call esi
push eax
call fcn.00410fea
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4222c8], eax
call esi
push eax
call fcn.00410fea
pop ecx
mov dword [0x4222d0], eax
test eax, eax
je 0x415ae1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00410fea
pop ecx
mov dword [0x4222cc], eax
mov eax, dword [0x4222cc]
cmp eax, ebx
je 0x415b39
cmp dword [0x4222d0], ebx
je 0x415b39
push eax
call fcn.00411065
push dword [0x4222d0]
mov esi, eax
call fcn.00411065
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x415b39
test edi, edi
je 0x415b39
call esi
test eax, eax
je 0x415b30
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x415b30
test byte [ebp - 0xc], 1
jne 0x415b39
or dword [ebp + 0x10], 0x200000
jmp 0x415b72
mov eax, dword [0x4222c4]
cmp eax, ebx
je 0x415b72
push eax
call fcn.00411065
pop ecx
test eax, eax
je 0x415b72
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x415b72
mov eax, dword [0x4222c8]
cmp eax, ebx
je 0x415b72
push eax
call fcn.00411065
pop ecx
test eax, eax
je 0x415b72
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4222c0]
call fcn.00411065
pop ecx
test eax, eax
je 0x415b92
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x415b94
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0xad6957
Capabilities:
Encode data using xor

Disassembly:
cwde
xchg edx, eax
pop edx
lea ebx, [ebx + 0x60]
push esp
invalid
cmp byte [edi - 1], 0
call int.00ad9c29
jae 0xad6946
invalid
Function at 0x52cc30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd6000]
push edi
jmp 0x52cc4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52cc51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52cc40
mov eax, 1
add ebx, ebx
jne 0x52cc63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52cc74
jne 0x52cc93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52cc93
dec eax
add ebx, ebx
jne 0x52cc80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52cc58
add ebx, ebx
jne 0x52cc8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52cce5
xor ecx, ecx
sub eax, 3
jb 0x52ccab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52cd1a
sar eax, 1
mov ebp, eax
jmp 0x52ccb6
add ebx, ebx
jne 0x52ccb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52cc84
inc ecx
add ebx, ebx
jne 0x52ccc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52cc84
add ebx, ebx
jne 0x52ccd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52ccc6
jne 0x52cce2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52ccc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52cd04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52ccf6
jmp 0x52cc46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52cd04
add edi, ecx
jmp 0x52cc46
pop esi
mov edi, esi
mov ecx, 0x53fd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52cd22
cmp byte [edi], 0x25
jne 0x52cd22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x52cd27
lea edi, [esi + 0x129000]
mov eax, dword [edi]
or eax, eax
je 0x52cd9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13e7f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13e908]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52cd54
mov ecx, edi
jns 0x52cd83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13e90c]
or eax, eax
je 0x52cd99
mov dword [ebx], eax
add ebx, 4
jmp 0x52cd71
call dword [esi + 0x13e91c]
mov ebp, dword [esi + 0x13e910]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x52cdd3
sub esp, 0xffffff80
jmp 0x47e895
Function at 0x10568058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.105681a8
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 0x1056807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1056806a
add dl, dl
jne 0x10568089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105680dc
xor eax, eax
add dl, dl
jne 0x10568096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1056817d
add dl, dl
jne 0x105680a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105680b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105680bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105680c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105680d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10568075
mov eax, 1
add dl, dl
jne 0x105680ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105680f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105680e1
sub eax, ebx
mov ebx, 1
jne 0x10568128
mov ecx, 1
add dl, dl
jne 0x1056810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10568119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10568105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10568075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1056813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1056814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10568136
cmp eax, 0x7d00
jae 0x1056816d
cmp eax, 0x500
jb 0x10568168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10568075
cmp eax, 0x7f
ja 0x10568170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10568075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1056819e
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 0x10568075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x417130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013a980
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101d74a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 0x14]
mov ecx, edi
call dword [0x1015268c]
lea ebx, [esi + 0x30]
mov ecx, ebx
mov dword [ebp - 4], 0
call dword [0x1015268c]
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
call dword [0x1015268c]
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 2
call dword [0x1015268c]
xor eax, eax
mov ecx, edi
mov byte [ebp - 4], 3
mov dword [esi], 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x84], eax
call dword [0x10152694]
mov ecx, ebx
call dword [0x10152694]
lea ecx, [esi + 0x4c]
call dword [0x10152694]
lea ecx, [esi + 0x68]
call dword [0x10152694]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4171f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013a9d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x101d74a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xor eax, eax
lea edi, [esi + 0x14]
mov ecx, edi
mov dword [ebp - 4], 3
mov dword [esi], 0xffffffff
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x84], eax
call dword [0x10152694]
lea ebx, [esi + 0x30]
mov ecx, ebx
call dword [0x10152694]
lea ecx, [esi + 0x4c]
mov dword [ebp - 0x10], ecx
call dword [0x10152694]
add esi, 0x68
mov ecx, esi
call dword [0x10152694]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [0x10152680]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [0x10152680]
mov ecx, ebx
mov byte [ebp - 4], 0
call dword [0x10152680]
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call dword [0x10152680]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x425b10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013b6bb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101d74a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esi], 0x101578c0
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0x10156484
mov byte [esi + 0x24], al
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
lea ecx, [esi + 0x34]
mov dword [ebp - 4], eax
call 0x3e58b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4