joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4011c6
Capabilities:
Access peb ldr_data
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
call fcn.0040114f
call section..text
movzx eax, al
cmp eax, 1
jne 0x4011e9
push 5
pop eax
jmp 0x4013b8
and dword [ebp - 0x40], 0
and dword [ebp - 0xc], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x14], 0
and dword [ebp - 0x24], 0
and dword [ebp - 0x44], 0
and dword [ebp - 8], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0x330
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, eax
add ebx, 0xc
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x30]
mov ecx, 0x18
xor esi, esi
xor ebx, ebx
add bl, byte [edi + ecx - 1]
add esi, ebx
loop 0x401234
cmp esi, dword [ebp - 0x2c]
je 0x401249
mov eax, dword [eax]
cmp eax, ebx
jne 0x40122a
mov eax, dword [eax + 0x18]
mov dword [ebp - 8], eax
nop
popal
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
push 0x5f0298
push dword [0x404714]
push 0x5f0280
push dword [0x5f0298]
push 0x5f029c
call fcn.0040102b
add esp, 0x14
push 0x5f029c
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
push 0x5f02b8
push dword [0x404714]
push 0x5f0280
push dword [0x5f02b8]
push 0x5f02bc
call fcn.0040102b
add esp, 0x14
push 0x5f02bc
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
push 0x5f02d8
push dword [0x404714]
push 0x5f0280
push dword [0x5f02d8]
push 0x5f02dc
call fcn.0040102b
add esp, 0x14
push 0x5f02dc
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [0x404038]
mov dword [ebp - 0x10], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x10]
inc eax
push eax
push 0
call dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0x404040
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10]
push eax
push dword [section..data]
push 0x404004
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.0040102b
add esp, 0x14
mov dword [ebp - 4], eax
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push 0x20
push dword [0x404038]
push dword [ebp - 4]
call dword [ebp - 0x24]
push 0x404710
push dword [0x40403c]
push 0x4046e0
push dword [0x404710]
push 0x404718
call fcn.0040102b
add esp, 0x14
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov dword [0x5f032c], eax
and dword [ebp - 0x28], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 1
push dword [ebp - 0x28]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call dword [0x5f032c]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403660
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov eax, dword [0x4cb4dc]
mov ecx, dword [0x4c83e4]
sub esp, 0xc2c
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x40374f
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
mov esi, dword [sym.imp.KERNEL32.dll_GetCommState]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x4cb4dc], 0x959
jne 0x403735
push 0
push 0
call edi
push 0
lea eax, [esp + 0x43c]
push eax
push 0
call ebx
push 0
push 0
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
lea ecx, [esp + 0x1c]
push ecx
push 0
call esi
push 0
push 0
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call esi
push 0
push 0x402cb0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov eax, dword [esp + 0x14]
push eax
call fcn.004034b0
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x4036a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc2c
ret
Function at 0x4073fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45e238]
jne 0x407406
repz ret
jmp fcn.0040c825

Function at 0x40d31f
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.0040aa36
and dword [ebp - 4], 0
cmp dword [0x461278], 0
mov ebx, eax
jne 0x40d3d0
push 0x4024b4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d481
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4024a8
push edi
call esi
test eax, eax
je 0x40d481
push eax
call fcn.0040a9c4
mov dword [esp], 0x402498
push edi
mov dword [0x461278], eax
call esi
push eax
call fcn.0040a9c4
mov dword [esp], 0x402484
push edi
mov dword [0x46127c], eax
call esi
push eax
call fcn.0040a9c4
mov dword [esp], 0x402468
push edi
mov dword [0x461280], eax
call esi
push eax
call fcn.0040a9c4
pop ecx
mov dword [0x461288], eax
test eax, eax
je 0x40d3d0
push 0x402450
push edi
call esi
push eax
call fcn.0040a9c4
pop ecx
mov dword [0x461284], eax
mov eax, dword [0x461284]
cmp eax, ebx
je 0x40d428
cmp dword [0x461288], ebx
je 0x40d428
push eax
call fcn.0040aa3f
push dword [0x461288]
mov esi, eax
call fcn.0040aa3f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d428
test edi, edi
je 0x40d428
call esi
test eax, eax
je 0x40d41f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d41f
test byte [ebp - 0xc], 1
jne 0x40d428
or dword [ebp + 0x10], 0x200000
jmp 0x40d461
mov eax, dword [0x46127c]
cmp eax, ebx
je 0x40d461
push eax
call fcn.0040aa3f
pop ecx
test eax, eax
je 0x40d461
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d461
mov eax, dword [0x461280]
cmp eax, ebx
je 0x40d461
push eax
call fcn.0040aa3f
pop ecx
test eax, eax
je 0x40d461
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x461278]
call fcn.0040aa3f
pop ecx
test eax, eax
je 0x40d481
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d483
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401a70
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407044
call sym._EnterCriticalSection_4
mov ebx, dword [0x40703c]
sub esp, 4
test ebx, ebx
je 0x401abb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401ab4
test esi, esi
je 0x401ab4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401a90
mov dword [esp], 0x407044
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401cc0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401d10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401de4
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x401d4e
cmp eax, 4
jne 0x401d70
test esi, esi
je 0x401d62
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x401d54
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x401daf
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x401da1
cmp ecx, 0x40
je 0x401d62
cmp ecx, 4
je 0x401d62
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401cc0
lea esi, [esi]
Function at 0x401434
Capabilities:
Copy file
Create shortcut via ishelllink
Delete file
Delete registry value
Enumerate files on windows
Get file attributes
Move file
Query environment variable
Query or enumerate registry key
Query or enumerate registry value
Read .ini file
Read file on windows
Set current directory
Set file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [0x434ee8]
push 7
pop ecx
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov edi, section..ndata
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
xor ebx, ebx
shl ecx, 0xb
add ecx, edi
mov esi, eax
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0x28]
shl esi, 0xb
mov dword [0x40cdd0], ecx
lea ecx, [edx - 2]
add esi, edi
cmp ecx, 0x43
mov dword [ebp - 4], ebx
ja case.0x40148a.65
jmp dword [ecx*4 + 0x402ad1]
push ebx
push eax
call fcn.004052e6
jmp 0x4022f1
inc dword [0x433eac]
cmp dword [ebp - 8], ebx
je 0x4022f1
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x4022f1
push eax
call fcn.0040136d
dec eax
push ebx
push eax
invalid
Function at 0x403373
Capabilities:
Check os version
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
sub esp, 0x2d4
push ebx
push esi
push edi
push 0x20
pop edi
xor ebx, ebx
push 0x8001
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], str.Error_writing_temporary_file._Make_sure_your_temp_folder_is_valid.
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xbfffffff
cmp ax, 6
mov dword [0x434eec], eax
je 0x4033c3
push ebx
call fcn.0040665c
invalid

Function at 0x4033b9
Capabilities:
Encode data using xor
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
ret

Function at 0x4057b5
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x4083f0
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x4083e0
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405806
xor eax, eax
jmp 0x40582d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x40582d
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x405802
call esi
pop esi
leave
ret 4

Function at 0x405867
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x430250], 0x44
push eax
xor eax, eax
push 0x430250
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4058a6
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x4058aa
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x405948
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405d4f
mov edi, eax
cmp edi, 0xffffffff
je 0x405989
test byte [esp + 0x10], 1
push esi
je 0x40596b
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x405971
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40597a
xor eax, eax
inc eax
jmp 0x40598b
test byte [esp + 0x10], 4
jne 0x405989
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8

Function at 0x405990
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
invalid
Function at 0x4011c6
Capabilities:
Access peb ldr_data
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
call fcn.0040114f
call section..text
movzx eax, al
cmp eax, 1
jne 0x4011e9
push 5
pop eax
jmp 0x4013b8
and dword [ebp - 0x40], 0
and dword [ebp - 0xc], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x14], 0
and dword [ebp - 0x24], 0
and dword [ebp - 0x44], 0
and dword [ebp - 8], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0x330
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, eax
add ebx, 0xc
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x30]
mov ecx, 0x18
xor esi, esi
xor ebx, ebx
add bl, byte [edi + ecx - 1]
add esi, ebx
loop 0x401234
cmp esi, dword [ebp - 0x2c]
je 0x401249
mov eax, dword [eax]
cmp eax, ebx
jne 0x40122a
mov eax, dword [eax + 0x18]
mov dword [ebp - 8], eax
nop
popal
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
push 0x425344
push dword [0x425320]
push 0x425324
push dword [0x425344]
push 0x425348
call fcn.0040102b
add esp, 0x14
push 0x425348
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
push 0x425364
push dword [0x425320]
push 0x425324
push dword [0x425364]
push 0x425368
call fcn.0040102b
add esp, 0x14
push 0x425368
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
push 0x425384
push dword [0x425320]
push 0x425324
push dword [0x425384]
push 0x425388
call fcn.0040102b
add esp, 0x14
push 0x425388
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [0x40403c]
mov dword [ebp - 0x10], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x10]
inc eax
push eax
push 0
call dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0x404040
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10]
push eax
push dword [section..data]
push 0x404004
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.0040102b
add esp, 0x14
mov dword [ebp - 4], eax
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push 0x20
push dword [0x40403c]
push dword [ebp - 4]
call dword [ebp - 0x24]
push 0x40471c
push dword [0x4046e0]
push 0x4046e4
push dword [0x40471c]
push 0x404720
call fcn.0040102b
add esp, 0x14
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov dword [0x4253dc], eax
and dword [ebp - 0x28], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 1
push dword [ebp - 0x28]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call dword [0x4253dc]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100f8568
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10143b00]
jne 0x100f8572
repz ret
jmp fcn.100f8f88

Function at 0x100fcf4f
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.100f8a1c
and dword [ebp - 4], 0
cmp dword [0x1014562c], 0
mov ebx, eax
jne 0x100fd000
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100fd0b1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100fd0b1
push eax
call fcn.100f89aa
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1014562c], eax
call esi
push eax
call fcn.100f89aa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10145630], eax
call esi
push eax
call fcn.100f89aa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10145634], eax
call esi
push eax
call fcn.100f89aa
pop ecx
mov dword [0x1014563c], eax
test eax, eax
je 0x100fd000
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100f89aa
pop ecx
mov dword [0x10145638], eax
mov eax, dword [0x10145638]
cmp eax, ebx
je 0x100fd058
cmp dword [0x1014563c], ebx
je 0x100fd058
push eax
call fcn.100f8a25
push dword [0x1014563c]
mov esi, eax
call fcn.100f8a25
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100fd058
test edi, edi
je 0x100fd058
call esi
test eax, eax
je 0x100fd04f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100fd04f
test byte [ebp - 0xc], 1
jne 0x100fd058
or dword [ebp + 0x10], 0x200000
jmp 0x100fd091
mov eax, dword [0x10145630]
cmp eax, ebx
je 0x100fd091
push eax
call fcn.100f8a25
pop ecx
test eax, eax
je 0x100fd091
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100fd091
mov eax, dword [0x10145634]
cmp eax, ebx
je 0x100fd091
push eax
call fcn.100f8a25
pop ecx
test eax, eax
je 0x100fd091
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1014562c]
call fcn.100f8a25
pop ecx
test eax, eax
je 0x100fd0b1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100fd0b3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100fe0d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x10143820], 0x238b
mov dword [ebp - 8], 0
mov dword [0x10143820], 0x1d7a
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x100fe141
jmp 0x100fe255
mov dword [0x10143824], 0x3c9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
movzx edx, word [eax + ecx*2]
cmp edx, 0
je 0x100fe153
jmp 0x100fe155
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0x104
jl 0x100fe117
jmp 0x100fe164
jmp 0x100fe164
jmp 0x100fe157
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x100fe141
mov dword [0x10143824], 0x17fe
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
jne 0x100fe25b
mov eax, dword [0x10143820]
sub eax, 0x82d
mov dword [0x10143820], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
jne 0x100fe259
mov dword [0x10143820], 0x12a0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
movzx eax, word [ecx + eax*2 - 0x16]
cmp eax, 0x61
jne 0x100fe257
mov dword [0x10143820], 0x1fd2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
jne 0x100fe255
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + eax*2 - 0x12]
cmp eax, 0x64
jne 0x100fe112
mov dword [0x10143820], 0x2335
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dx, word [eax + ecx*2 - 0x10]
mov word [ebp - 0x22], dx
mov ax, word [ebp - 0x22]
movzx ecx, ax
cmp ecx, 0x6c
jne 0x100fe250
mov dword [0x10143820], 0x202
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
jne 0x100fe24e
mov dword [ebp - 4], 1
jmp 0x100fe26e
jmp 0x100fe250
jmp 0x100fe112
jmp 0x100fe257
jmp 0x100fe259
jmp 0x100fe25b
mov dword [0x10143820], 0x3b1
mov dword [ebp - 4], 0
jmp 0x100fe26e
mov eax, dword [ebp - 4]
add esp, 0x24
pop ebp
ret
Function at 0x100fe530
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.100fe530]
mov dword [0x10143820], 0x1abd
mov dword [ebp - 8], eax
mov dword [0x10143820], 0x24bb
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x100fe57c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x100fe57a
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x100fe5b9
jmp 0x100fe57c
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov eax, dword [0x10143820]
add eax, 0x1449
mov dword [0x10143820], eax
mov al, 1
test al, 1
jne 0x100fe553
jmp 0x100fe5a3
mov eax, dword [0x10143820]
sub eax, 0x24d8
mov dword [0x10143820], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 8
pop ebp
ret
Function at 0x407281
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461124], 0
jne 0x4072bf
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x407295
mov dword [ecx*4 + 0x461120], eax
inc ecx
cmp ecx, 0x100
jl 0x407290
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4072ec
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x461120]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072cd
not eax
pop ebp
ret 0xc

Function at 0x16b3058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.016b31a8
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 0x16b307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x16b306a
add dl, dl
jne 0x16b3089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x16b30dc
xor eax, eax
add dl, dl
jne 0x16b3096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x16b317d
add dl, dl
jne 0x16b30a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16b30b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16b30bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16b30c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x16b30d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x16b3075
mov eax, 1
add dl, dl
jne 0x16b30ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16b30f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x16b30e1
sub eax, ebx
mov ebx, 1
jne 0x16b3128
mov ecx, 1
add dl, dl
jne 0x16b310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x16b3119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x16b3105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x16b3075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x16b313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x16b314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x16b3136
cmp eax, 0x7d00
jae 0x16b316d
cmp eax, 0x500
jb 0x16b3168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x16b3075
cmp eax, 0x7f
ja 0x16b3170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x16b3075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x16b319e
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 0x16b3075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10