joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b6e4
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
jmp 0x40b6f5
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jae 0x40b718
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
mov dword [ebp + 8], eax
imul eax, dword [ebp + 8], 0x1000193
mov dword [ebp + 8], eax
jmp 0x40b6ee
mov eax, dword [ebp + 8]
leave
ret

Function at 0x40f02c
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x68]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x70
jne 0x40f050
push 1
call fcn.00418882
leave
ret
Function at 0x410314
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c133
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push str.C:UsersDe
lea ecx, [ebp - 0x2c]
call fcn.004066ca
and dword [ebp - 4], 0
push str.faultDes
lea ecx, [ebp - 0x2c]
call fcn.0040f894
push str.ktop
lea ecx, [ebp - 0x2c]
call fcn.0040f894
push str._ath
lea ecx, [ebp - 0x2c]
call fcn.0040f894
push str.letes
lea ecx, [ebp - 0x2c]
call fcn.0040f894
push str..exe
lea ecx, [ebp - 0x2c]
call fcn.0040f894
push 0x104
lea eax, [ebp - 0x130]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x2c]
call fcn.0040db15
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00418d30
pop ecx
pop ecx
test eax, eax
jne 0x4103c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407335
jmp 0x410464
mov dword [ebp - 0x10], 0x974
mov eax, 0xbcaeac
sub eax, dword [0x43e1f4]
push eax
push dword [ebp - 0x10]
push 0x43c018
call fcn.0040144d
add esp, 0xc
push dword [ebp - 0x10]
push 0x43c018
call fcn.0040fb9c
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x2c]
call fcn.0040db15
push eax
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x410446
mov dword [ebp - 0x14], 0x976
mov eax, 0x86060
sub eax, dword [0x43e1f4]
push eax
push dword [ebp - 0x14]
push 0x43c990
call fcn.0040144d
add esp, 0xc
push dword [ebp - 0x14]
push 0x43c990
call fcn.0040fb9c
pop ecx
pop ecx
jmp 0x410458
push str.____CopyFile_failed
call fcn.00401609
pop ecx
push 2
call fcn.00418882
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00407335
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x411d69
Capabilities:
Parse pe header

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

Function at 0x41d34c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x431c08
push 0x431c00
push str.FlsAlloc
push 0x1f
call fcn.0041d1b7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d380
push dword [ebp + 8]
mov ecx, esi
call dword [0x42d164]
call esi
jmp 0x41d386
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41d3ca
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x431c18
push 0x431c10
push str.FlsGetValue
push 0x21
call fcn.0041d1b7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d401
push dword [ebp + 8]
mov ecx, esi
call dword [0x42d164]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41d409
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x431c20
push 0x431c18
push str.FlsSetValue
push 0x22
call fcn.0041d1b7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d443
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42d164]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x422ec7
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x422f64
push ebx
push esi
call fcn.00422e90
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00421cca
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x422f11
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x422f63
push edi
push eax
call fcn.0041dc2f
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x422f31
call fcn.0041ced8
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x422f62
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00421cca
add esp, 0x20
test eax, eax
jne 0x422f50
push edi
call fcn.0041ced8
jmp 0x422f58
push ebx
call fcn.0041ced8
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4257ae
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0041cb90
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x42581d
cmp esi, dword [ebp - 4]
je 0x425818
cmp dword [ebp + 0xc], 0
je 0x425818
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4257f5
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00425300
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x42581f
xor eax, eax
inc eax
jmp 0x42581f
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x425884
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x43d324]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0041cb90
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0041cb90
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x4258fb
cmp word [ecx], dx
je 0x4258fb
mov eax, dword [0x4324a4]
push edi
dec eax
push eax
push 0x432390
call fcn.00425823
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x42596e
cmp word [eax], dx
je 0x42596e
mov eax, dword [edi]
test eax, eax
je 0x42591f
cmp word [eax], dx
je 0x42591f
lea eax, [ebp - 0x10]
push eax
call fcn.00425206
jmp 0x425928
lea eax, [ebp - 0x10]
push eax
call fcn.004252a1
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x425998
mov eax, dword [0x43238c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x432080
call fcn.00425823
add esp, 0xc
test al, al
je 0x425998
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x425963
cmp word [eax], di
je 0x425963
lea eax, [ebp - 0x10]
push eax
call fcn.00425206
pop ecx
jmp 0x42599a
lea eax, [ebp - 0x10]
push eax
call fcn.004252a1
jmp 0x425960
mov eax, dword [edi]
test eax, eax
je 0x425985
cmp word [eax], dx
je 0x425985
lea eax, [ebp - 0x10]
push eax
call fcn.004251bb
pop ecx
jmp 0x425998
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x425a63
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004256a8
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x425a63
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x425a63
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x425a63
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4259f0
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0041d549
test ebx, ebx
je 0x425a5e
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0041d549
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x425a63
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x425a63
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00429e9a
add esp, 0x10
xor eax, eax
inc eax
jmp 0x425a65
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411949
leave
ret
Function at 0x42b430
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42b45d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42b45d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x405530
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4000]
push edi
or ebp, 0xffffffff
jmp 0x405552
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x405559
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x405548
mov eax, 1
add ebx, ebx
jne 0x40556b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x405560
jne 0x40557c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x405560
xor ecx, ecx
sub eax, 3
jb 0x405590
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x405602
mov ebp, eax
add ebx, ebx
jne 0x40559b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4055a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4055cc
inc ecx
add ebx, ebx
jne 0x4055b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4055ad
jne 0x4055c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4055ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4055ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4055dd
jmp 0x40554e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4055ec
add edi, ecx
jmp 0x40554e
pop esi
mov edi, esi
mov ecx, 1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40560a
cmp byte [edi], 1
jne 0x40560a
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 eax, ebx
loop 0x40560f
lea edi, [esi + 0x3000]
mov eax, dword [edi]
or eax, eax
je 0x405687
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x58b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x58ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40563c
mov ecx, edi
jns 0x40566b
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 + 0x58f0]
or eax, eax
je 0x405681
mov dword [ebx], eax
add ebx, 4
jmp 0x405659
call dword [esi + 0x58f4]
popal
jmp 0x401128
Function at 0x4af728
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4af7ff
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4af81c
push ebx
push 0x4af82c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004087c4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00405884
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004084ec
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4af7aa
mov ax, 0x83
call fcn.004af34c
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
call fcn.004af6fc
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4af7b3
call fcn.004af6fc
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af806
lea eax, [ebp - 4]
call fcn.00407a20
ret

Function at 0x4af91c
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 0x4af9e7
jmp 0x4af9db
cmp dword [esi + 0x10], 0x1000
jne 0x4af9c7
test byte [esi + 0x15], 1
jne 0x4af9c7
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4af978
cmp ebp, 2
je 0x4af978
cmp ebp, 0x10
je 0x4af978
cmp ebp, 0x20
jne 0x4af994
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 0x4af994
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4af9a5
mov eax, dword [esi]
add eax, ebx
call fcn.004af914
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4af998
cmp byte [esp + 4], 0
je 0x4af9c7
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 0x4af9e7
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4af94d
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x2937960
Capabilities:
Encode data using xor

Disassembly:
jmp 0x293796a
pushal
call 0x2937970
pop ebp
sub ebp, 0x10
sub ebp, 0x2537960
jmp 0x2937986
mov eax, 0x2537960
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b9
mov edx, 0x7d7f77d5
xor byte [eax], dl
inc eax
dec ecx
jne 0x293799d
jmp 0x29379b0
pop esi
sbb byte [esi + 0x5c], bl
jmp 0x57694f8e
Function at 0x10010f8
Capabilities:
Parse pe header

Disassembly:
push 0x70
push 0x1001090
call fcn.010012e0
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1001135
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001135
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100114d
cmp eax, 0x20b
je 0x100113a
mov dword [ebp - 0x1c], ebx
jmp 0x1001161
cmp dword [ecx + 0x84], 0xe
jbe 0x1001135
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x100115b
cmp dword [ecx + 0x74], 0xe
jbe 0x1001135
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1002014], 0xffffffff
or dword [0x1002018], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1002010]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100200c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100201c], eax
jmp 0x100f4f4

Function at 0x1009376
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp ecx, dword [edx + 0x18]
lea edi, [eax + ebx]
je 0x100df61
jmp 0x100931a
ret 4
sbb eax, dword [esp + 4]
jne 0x10093da
lea esi, [ebx]
jmp 0x100944c
pop eax
cmp byte [edi], 1
ja 0x100931d
xor eax, 0x2f546820
jmp 0x10092b8
push 0
pop eax
imul eax, eax, 0xf
jmp 0x100938c
mov edx, ebx
jmp 0x100937d
mov esi, ebx
mov eax, ebx
add eax, dword [ebx + 0x3c]
add edx, dword [eax + 0x78]
jmp 0x10093d4
push eax
movzx eax, byte [edi]
lea edi, [edi + 1]
sub dword [esp], eax
jmp 0x1009306
movzx eax, word [esi]
pop esi
add esi, dword [edi + eax*4]
jmp 0x1009266
push 0xffffffffffffffff
add esi, dword [edx + 0x20]
pop ecx
lodsd eax, dword [esi]
inc ecx
jmp 0x1009242
lea edi, [ebx]
add edi, dword [edx + 0x1c]
add esi, dword [edx + 0x24]
lea esi, [esi + ecx*2]
push ebx
jmp 0x10093ab
ret
Function at 0x859058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008591a8
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 0x85907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x85906a
add dl, dl
jne 0x859089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8590dc
xor eax, eax
add dl, dl
jne 0x859096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x85917d
add dl, dl
jne 0x8590a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8590b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8590bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8590c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8590d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x859075
mov eax, 1
add dl, dl
jne 0x8590ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8590f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8590e1
sub eax, ebx
mov ebx, 1
jne 0x859128
mov ecx, 1
add dl, dl
jne 0x85910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x859119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x859105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x859075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x85913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x85914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x859136
cmp eax, 0x7d00
jae 0x85916d
cmp eax, 0x500
jb 0x859168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x859075
cmp eax, 0x7f
ja 0x859170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x859075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x85919e
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 0x859075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x29a0e233
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x29a0e242
pop dword [ebp - 0x28]
mov eax, 0x29a0e242
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xa11fad9a
sub dword [ebp - 0x38], 0x52cd684f
mov dword [ebp - 0x34], 0xef3f4059
add dword [ebp - 0x34], 0x42f40bec
mov dword [ebp - 0x30], 0x1b67540b
add dword [ebp - 0x30], 0x30e4f023
mov dword [ebp - 0x2c], 0x5f885d5b
sub dword [ebp - 0x2c], 0x5f885d5b
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x3ce4c066
add dword [ebp - 0x38], 0x378da8f0
mov dword [ebp - 0x34], 0xf092e4
add dword [ebp - 0x34], 0x407bce91
mov dword [ebp - 0x30], 0xffdd1f7b
add dword [ebp - 0x30], 0x63924cf1
mov dword [ebp - 0x2c], 0xf98e77a3
add dword [ebp - 0x2c], 0x671885d
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x365e0
push 0
call eax
mov ecx, 0x383e
xor edx, edx
add edx, eax
mov ebx, 0xbe0fde62
sub ebx, 0x946dbe62
add ebx, dword [ebp - 0x28]
mov esi, 0x16033c1e
sub dword [ebp - 0x1c], ecx
mov edi, dword [ebx]
sub dword [ebp - 0x24], edi
sub edi, esi
add dword [ebp - 0x24], edi
mov dword [edx], edi
xor dword [ebp - 0x1c], 0x6e475349
add edx, 0x6c44fe6c
sub edx, 0x6c44fe68
add ebx, 4
loop 0x29a0e34b
add eax, 0x7ef56d85
add eax, 0x810b6646
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x29a00000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x100c79c7
Capabilities:
Get number of processors

Disassembly:
add byte [eax + 0x4d], al
inc ecx
aas
cmp dword [eax + 0x46], edx
dec eax
aaa
xor eax, dword [ebx + 0x515b04c4]
add esp, 4
pop ebx
push ecx
call 0x100c79e3
add byte [esi], bh
aaa
cmp al, 0x39
cmp al, byte ss:[ebx - 0x167efb3c]
cmpsb byte [esi], byte es:[edi]
mov byte [eax], al
add byte [ecx + 0x9bb0e9], al
add byte [ecx + 0x40cfc9], al
add byte [ecx + 0x52], bl
push eax
add esp, 4
jmp 0x100c7a07
pop edx
mov ecx, 1
invalid
invalid

Function at 0x100c79d2
Capabilities:
Get number of processors

Disassembly:
add byte [eax + 0x4d], al
inc ecx
aas
cmp dword [eax + 0x46], edx
dec eax
aaa
xor eax, dword [ebx + 0x515b04c4]
add esp, 4
pop ebx
push ecx
call 0x100c79e3
add byte [esi], bh
aaa
cmp al, 0x39
cmp al, byte ss:[ebx - 0x167efb3c]
cmpsb byte [esi], byte es:[edi]
mov byte [eax], al
add byte [ecx + 0x9bb0e9], al
add byte [ecx + 0x40cfc9], al
add byte [ecx + 0x52], bl
push eax
add esp, 4
jmp 0x100c7a07
pop edx
mov ecx, 1
invalid
invalid

Function at 0x100c79e3
Capabilities:
Get number of processors

Disassembly:
add byte [eax + 0x4d], al
inc ecx
aas
cmp dword [eax + 0x46], edx
dec eax
aaa
xor eax, dword [ebx + 0x515b04c4]
add esp, 4
pop ebx
push ecx
call 0x100c79e3
add byte [esi], bh
aaa
cmp al, 0x39
cmp al, byte ss:[ebx - 0x167efb3c]
cmpsb byte [esi], byte es:[edi]
mov byte [eax], al
add byte [ecx + 0x9bb0e9], al
add byte [ecx + 0x40cfc9], al
add byte [ecx + 0x52], bl
push eax
add esp, 4
jmp 0x100c7a07
pop edx
mov ecx, 1
invalid
invalid

Function at 0x100c7ac2
Capabilities:
Get number of processors

Disassembly:
add esp, 4
pop esi
push edi
xor edi, 0xc3e
sub edi, 0xa62d
sub edi, 0xdc78
pop edi
mov eax, dword [ebp - 0x500]
sub eax, dword [ebp - 0x3f0]
cmp eax, 0xffffffff
jb 0x100c7b22
push esi
sub esi, 0xca40
add byte [esi + 0x51], bl
mov dword [ebp - 0xc88], 7
mov ecx, dword [ebp - 0x500]
mov dword [ebp - 0xac0], ecx
push ebx
and ebx, 0xa01
or ebx, 0xf018
sub ebx, 0x33b
or ebx, 0x13a74
pop ebx
push ecx
push eax
add esp, 4
add ecx, 0x8ccf
sub ecx, 0xa656
and ecx, 0xa55d
pop ecx
mov edx, dword [ebp - 0x15d0]
mov dword [ebp - 0xabc], edx
mov dword [ebp - 0xc8c], 0
mov eax, dword [ebp - 0x500]
cmp eax, dword [ebp - 0x15d0]
jne 0x100c7bd1
push ecx
push eax
add esp, 4
and ecx, 0xd2ab
and ecx, 0x16109
add ecx, 0x1696c
pop ecx
push ecx
add ecx, 0xd52e
and ecx, 0xa49c
or ecx, 0x15b06
or ecx, 0xc734
pop ecx
mov ecx, dword [ebp - 0xc8c]
mov dword [ebp - 0x15d4], ecx
jmp 0x100c7d02