joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4010dc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c004]
jne 0x4010e6
repz ret
jmp fcn.00401547

Function at 0x404f0b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42c004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403bf9
and dword [ebp - 0x14], 0
cmp dword [0x42ec78], 0
mov dword [ebp - 0x18], eax
jne 0x404fbe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405066
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405066
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42ec78], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42ec7c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42ec80], eax
call edi
push eax
call esi
mov dword [0x42ec88], eax
test eax, eax
je 0x404fbe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42ec84], eax
mov eax, dword [0x42ec84]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405017
cmp dword [0x42ec88], ecx
je 0x405017
push eax
call esi
push dword [0x42ec88]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405017
test ebx, ebx
je 0x405017
call edi
test eax, eax
je 0x40500e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40500e
test byte [ebp - 8], 1
jne 0x405017
or dword [ebp + 0x10], 0x200000
jmp 0x40504a
mov eax, dword [0x42ec7c]
cmp eax, dword [ebp - 0x18]
je 0x40504a
push eax
call esi
test eax, eax
je 0x40504a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40504a
mov eax, dword [0x42ec80]
cmp eax, dword [ebp - 0x18]
je 0x40504a
push eax
call esi
test eax, eax
je 0x40504a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42ec78]
call esi
test eax, eax
je 0x405066
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405068
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010dc
leave
ret
Function at 0x4211f0
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
test edi, edi
jle 0x421203
call fcn.00421190
xor byte [edx + esi], al
inc edx
cmp edx, edi
jl 0x4211f6
cmp edi, 0x2d
jne 0x42121c
mov dword [0x2bd46d8], 0xa62e7790
mov dword [0x2bd46dc], 0xffffffff
ret

Function at 0x421220
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x42c004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x42cdd0]
push esi
mov esi, dword [0x2bd224c]
push edi
mov edi, dword [0x2bd46cc]
call fcn.004211c0
cmp dword [0x2bd46cc], 0x2f
jne 0x42128d
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.004211f0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor ecx, esp
call fcn.004010dc
add esp, 0x24
ret
Function at 0x421500
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
jmp 0x421518
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1519a5
jge 0x421559
mov dword [0x2bd4334], 0x8e46a6f0
cmp dword [0x2bd46cc], 0x3dc
jne 0x421557
xor ecx, ecx
mov word [ebp - 8], cx
xor edx, edx
mov word [ebp - 6], dx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
jmp 0x42150f
mov dword [ebp - 0x10], 0
jmp 0x42156b
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x12cad2a
jge 0x421606
cmp dword [0x2bd46cc], 0xa5f
jne 0x42158c
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
cmp dword [ebp - 0x10], 0x84620b
jne 0x4215b1
mov eax, dword [0x42dbf0]
mov dword [0x2bd46cc], eax
mov ecx, dword [0x2bd46cc]
add ecx, 0xa231
mov dword [0x2bd46cc], ecx
cmp dword [0x2bd46cc], 0x141
jne 0x421601
xor edx, edx
mov word [ebp - 0x24], dx
xor eax, eax
mov word [ebp - 0x22], ax
xor ecx, ecx
mov word [ebp - 0x20], cx
xor edx, edx
mov word [ebp - 0x1e], dx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
mov dword [0x42f1b8], 0xec58acac
mov dword [0x42f1bc], 0xffffffff
jmp 0x421562
call fcn.004212b0
jmp dword [0x2bd224c]
Function at 0x404211
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x40424c
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4
Function at 0x404750
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00437c40
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x404873
push ecx
lea ecx, [esi + 0x18]
call int.00423f70
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x40488a
push ecx
lea ecx, [esi + 0x24]
call fcn.00423e80
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44a210
Capabilities:
Accept command line arguments
Log keystrokes via polling

Disassembly:
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [esp + 0x14]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
mov edi, eax
mov dword [esi], 0
call ebx
test ax, ax
jge 0x44a23b
or dword [esi], 0x2000000
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
push 0x11
mov edi, eax
call ebx
test ax, ax
jge 0x44a258
or dword [esi], 0x4000000
test edi, edi
je 0x44a26e
mov ecx, dword [0x659a4c]
push 0x659768
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0x12
call ebx
test ax, ax
jge 0x44a27d
or dword [esi], 0x8000000
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4e02b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.005137a0
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x4e03d3
push ecx
lea ecx, [esi + 0x18]
call fcn.004ffad0
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x4e03ea
push ecx
lea ecx, [esi + 0x24]
call fcn.004ff9e0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5299e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0055ced0
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x529b03
push ecx
lea ecx, [esi + 0x18]
call fcn.00549200
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x529b1a
push ecx
lea ecx, [esi + 0x24]
call fcn.00549110
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x57b5b0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x57b5cb
mov ecx, 0xc1a57bb5
sub eax, 0x6d1351b3
xor esi, dword [edx]
rcr byte [ecx - 0x79], 1
push cs
adc ebx, dword [edi - 0x13bd990d]
outsd dx, dword [esi]
test dword [ecx - 0x38], edi
invalid
Function at 0x5f05d0
Capabilities:
Encode data using xor

Disassembly:
inc ebp
test eax, 0x2a4ff383
arpl word [edx + ebx*4], dx
js 0x5f05e5
mov cl, 0x32
pop esp
xor eax, 0x6a345a91
jno 0x5f0656
xchg ebp, eax
and dword [ecx - 0x71], 0xffffffca
mov dword [edi + edi*8], edi
dec edx
push 0xabe01990
mov esp, 0x11fbfa62
xadd dword [ebx], eax
mov dl, 0x91
into
sbb ebx, dword [esi + esi*8]
hlt
invalid
lahf
xor byte [ecx - 0x4ef6010], dh
mov al, 0xa
movsb byte es:[edi], byte [esi]
mov edx, 0x1f350087
fdivr dword [edx - 0xc]
jnp 0x5f05e8
invalid
out dx, eax
pushal
push dword [eax - 2]
push 0xffffffffffffff8b
push ecx
invalid
cdq
mov cl, 0x19
invalid
pop edi
shr dword [edi], cl
les ecx, [edx + 0x6b81c4dc]
fsubr qword [edi - 0x76]
pop ecx
jo 0x5f0620
adc al, 0xab
inc eax
pushfd
loope 0x5f060a
adc byte [0x4f31fec0], bh
loopne 0x5f067e
xor byte [ebx], bh
rol bl, 0xd7
pop ebx
jno 0x5f060a
and edi, dword [edx + 0x5c]
aam 0x54
sub esp, dword [ecx]
je 0x5f0630
popal
and eax, 0x612a90ba
salc
das
mov ecx, 0x5f87f76a
pop edi
jno 0x5f06f2
invalid
xor ecx, dword [edi + 0x2592db76]
mov ah, 0x22
push esp
mov byte [0x9469ac60], al
in al, 0x1d
mov esi, 0xd43a2c2d
push cs
lodsb al, byte [esi]
lodsb al, byte [esi]
imul edx, dword [esp + 0x2c2dbe1d], 0xac0ed43a
mov edx, 0xe1db8207
popal
push esp
or al, 0x65
mov ecx, 0x8f472d05
pop ds
mov edx, 0xa49f9abf
jg 0x5f06ab
int1
into
test byte [0x2c0d3624], 0x4d
push ss
or eax, 0xa2e901b5
mov eax, 0x4b198b1
dec esi
jle 0x5f0690
invalid
sub eax, 0x1aefe71c
mov dword [0x5f0aedea], eax
add byte ss:[ecx], al
sbb ch, byte [edx]
in al, 0x52
jecxz 0x5f0777
jl 0x5f06b6
lahf
jp 0x5f06f2
cmp eax, 0x35685c03
nop
inc ecx
mov cl, 0x2c
sbb ebx, dword [ecx]
nop
sbb ebp, dword [eax - 0x2cc44564]
fistp dword [ecx]
fidivr dword [edx + 0x34]
int 0x8a
push eax
xchg esi, eax
test eax, 0x932af0ca
imul ebx, dword [ebp + 0x5fa4b15a], 0x49
mov esp, edx
outsd dx, dword [esi]
dec edi
movsd dword es:[edi], dword [esi]
xor ecx, dword [0xc9108038]
or eax, 0x6b36bb30
and eax, 0x6defa5fb
jl 0x5f07ac
retf 0xe569
cmp al, 0x50
out dx, al
invalid
je 0x5f07db
test eax, 0xaeff041
jmp 0x40951f02
dec byte [ebp - 6]
ror byte [eax + 0x7feaf23f], 1
mov ecx, 0xeef3ebfb
pop ebp
lodsb al, byte [esi]
mov esi, 0x5b044cb4
stosd dword es:[edi], eax
add ebx, dword [eax]
mov edi, 0x8ec41671
out 0xf8, eax
movsb byte es:[edi], byte [esi]
add ah, dl
rcl ah, 0x3f
sub esp, ecx
dec ebx
sal byte [ebp + ecx - 0xe7c1064], 1
mov esi, dword [eax]
mov cl, 0x8f
bound edi, qword [ebx + ecx*8]
fdiv qword [edi]
pop ebp
imul esp, dword [ebx + 0x7f], 0x6cbae5ce
sub esi, eax
int3
Function at 0x6061c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47262f
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x4a2008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13c], edx
mov eax, ecx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x134], eax
mov esi, dword [ebp + 8]
mov edi, esi
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], 0
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x138], ecx
jb 0x606227
mov edi, dword [esi]
cmp dword [edx + 0x14], 0x10
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], edx
jb 0x606244
mov ecx, dword [edx]
mov dword [ebp - 0x130], ecx
cmp dword [edx + 0x10], 0
jbe 0x6062ad
push 0x100
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.0064f190
mov ecx, dword [ebp - 0x138]
add esp, 0xc
add ecx, edi
cmp edi, ecx
je 0x606280
nop dword [eax]
movzx eax, byte [edi]
inc edi
mov byte [ebp + eax - 0x128], 1
cmp edi, ecx
jne 0x606270
mov edx, dword [ebp - 0x130]
mov edi, edx
mov ecx, dword [ebp - 0x134]
add ecx, edx
cmp edx, ecx
jae 0x6062a7
movzx eax, byte [edi]
mov al, byte [ebp + eax - 0x128]
test al, al
je 0x606301
inc edi
cmp edi, ecx
jb 0x606294
mov eax, dword [ebp - 0x12c]
xorps xmm0, xmm0
mov ecx, eax
push 0
movups xmmword [eax], xmm0
push 0x491667
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
call fcn.00639b30
mov dword [ebp - 4], 0
mov dword [ebp - 0x140], 1
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064da0c
mov esp, ebp
pop ebp
ret
sub edi, edx
cmp edi, 0xffffffff
je 0x6062a7
cmp dword [esi + 0x14], 0x10
jb 0x606310
mov esi, dword [esi]
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x130], ecx
cmp dword [ecx + 0x14], 0x10
jb 0x60632a
mov eax, dword [ecx]
mov dword [ebp - 0x130], eax
push 0x100
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.0064f190
mov ecx, dword [ebp - 0x138]
add esp, 0xc
add ecx, esi
cmp esi, ecx
je 0x606360
nop dword [eax]
movzx eax, byte [esi]
inc esi
mov byte [ebp + eax - 0x128], 1
cmp esi, ecx
jne 0x606350
mov eax, dword [ebp - 0x134]
or ecx, 0xffffffff
mov edx, dword [ebp - 0x130]
dec eax
cmp eax, ecx
cmovb ecx, eax
movzx eax, byte [ecx + edx]
add ecx, edx
mov al, byte [ebp + eax - 0x128]
test al, al
je 0x60639e
cmp ecx, edx
je 0x606415
movzx eax, byte [ecx - 1]
dec ecx
mov al, byte [ebp + eax - 0x128]
test al, al
jne 0x606386
sub ecx, edx
sub ecx, edi
lea eax, [ebp - 0x28]
inc ecx
push ecx
mov ecx, dword [ebp - 0x13c]
push edi
push eax
call fcn.00625100
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov esi, dword [ebp - 0x12c]
mov dword [ebp - 0x140], 1
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x14], 0
mov byte [ebp - 0x28], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00639c60
mov eax, esi
jmp 0x6062e6
or ecx, 0xffffffff
jmp 0x6063a0
Function at 0x606640
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00639b30
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x606763
push ecx
lea ecx, [esi + 0x18]
call fcn.00625e60
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x60677a
push ecx
lea ecx, [esi + 0x24]
call fcn.00625d70
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x62ca30
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x898ea9fb
fmul dword [ecx]
insb byte es:[edi], dx
sbb edx, dword [ebp + 0x29]
add eax, 0x52c16e21
cmp dl, byte [ebp - 0x74]
stc
lahf
fisttp word [ebx + 0x1a]
into
xchg edx, eax
popfd
or ecx, dword [ebp - 0x4556430e]
and ebp, dword [edx]
stosd dword es:[edi], eax
push eax
pushal
dec esp
sal ah, 1
mov ah, 0xcb
jnp 0x62c9e8
pop ds
push es
jmp 0xc1c167e6
clc
test byte [ecx + 0x52aed901], ch
add ecx, ebx
scasb al, byte es:[edi]
push edx
add ecx, ebx
scasb al, byte es:[edi]
push edx
wait
mov ebx, 0x2d4c541c
stosd dword es:[edi], eax
mov bh, 0x6a
add esp, ebp
stc
jns 0x62c9cf
jge 0x62ca2d
out dx, al
imul esp, dword [esi - 0x715d2eaa], 0xe9bfb9c8
xchg dword [edx], ebp
adc al, 0xe1
imul edx, dword [eax - 0x116c4cd7], 0x99584a0f
sub al, 0x13
push ds
xor al, byte [eax]
das
mov ebx, 0x5be6d88c
lcall 0xd7bc, 0xebd7dded
scasd eax, dword es:[edi]
movsd dword es:[edi], dword [esi]
stc
fld xword [edi + ebp*8]
insd dword es:[edi], dx
pushfd
cld
lcall 0x31ad, 0x6d792a6d
invalid
Function at 0x64d81d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x656338
cmp edx, dword [eax]
je 0x64d83f
add eax, 8
inc ecx
cmp eax, 0x6563c8
jl 0x64d830
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x656338]
jne 0x64d96d
mov eax, dword [0xa59c90]
cmp eax, 1
je 0x64d947
test eax, eax
jne 0x64d870
cmp dword [0x656264], 1
je 0x64d947
cmp edx, 0xfc
je 0x64d96d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x64d8a7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0064e200
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0064e690
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x64d8ea
lea eax, [ebp - 0x1a4]
push eax
call fcn.0064e690
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x652a34
push edi
call fcn.00650560
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0064e200
or dword [eax], eax
add byte [ebp - 0x9f7b], cl
call dword [edi + 0x50]
lea eax, [ebp + 8]
lea esi, [esi + 0x65633c]
push 0
push eax
push dword [esi]
call fcn.0064e690
pop ecx
push eax
push dword [esi]
Function at 0x105aa058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x105aa1a8
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 0x105aa07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105aa06a
add dl, dl
jne 0x105aa089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105aa0dc
xor eax, eax
add dl, dl
jne 0x105aa096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105aa17d
add dl, dl
jne 0x105aa0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105aa0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105aa0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105aa0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105aa0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x105aa075
mov eax, 1
add dl, dl
jne 0x105aa0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105aa0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105aa0e1
sub eax, ebx
mov ebx, 1
jne 0x105aa128
mov ecx, 1
add dl, dl
jne 0x105aa10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105aa119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105aa105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105aa075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x105aa13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x105aa14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105aa136
cmp eax, 0x7d00
jae 0x105aa16d
cmp eax, 0x500
jb 0x105aa168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105aa075
cmp eax, 0x7f
ja 0x105aa170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x105aa075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x105aa19e
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 0x105aa075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10