joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a27f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4565c8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42a2bf
cmp byte [ebx], 0xa
jne 0x42a2bf
or byte [edi + eax + 0x28], 4
jmp 0x42a2c4
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x42a3c3
mov dl, byte [eax]
cmp dl, 0x1a
je 0x42a3a6
inc eax
cmp dl, 0xd
je 0x42a2f0
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x42a316
cmp eax, ecx
jae 0x42a324
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x42a2d8
jmp 0x42a3c3
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x42a3a1
cmp dword [ebp - 0x10], 0
je 0x42a3a1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4565c8]
test byte [eax + edi + 0x28], 0x48
je 0x42a37b
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x42a366
mov byte [esi], dl
jmp 0x42a377
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4565c8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x42a3c3
cmp byte [ebp - 1], 0xa
jne 0x42a38a
cmp esi, ebx
jne 0x42a38a
mov byte [esi], 0xa
jmp 0x42a3c2
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0042a5c6
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x42a3c3
mov byte [esi], 0xd
jmp 0x42a3c2
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4565c8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x42a3c0
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x42a3c3
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x42a3cc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4565c8]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x42a412
cmp word [ebx], dx
jne 0x42a412
or byte [eax + edi + 0x28], 4
jmp 0x42a417
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x42a57a
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x42a55a
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x42a458
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x42a48e
cmp eax, edx
jae 0x42a49c
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x42a433
jmp 0x42a57a
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x42a555
cmp dword [ebp - 0x18], 0
je 0x42a555
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4565c8]
test byte [eax + edi + 0x28], 0x48
je 0x42a52b
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x42a4ef
mov word [esi], cx
jmp 0x42a526
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4565c8]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4565c8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4565c8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x42a57a
pop eax
cmp word [ebp - 4], ax
jne 0x42a53b
cmp esi, ebx
jne 0x42a53b
mov word [esi], ax
jmp 0x42a577
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0042a5c6
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x42a57a
push 0xd
pop eax
jmp 0x42a536
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4565c8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x42a574
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x42a57a
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x40140e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea edi, [esi + 0x14]
mov dword [esi], 0x4031a4
cmp dword [edi], ebx
je 0x4014b3
push str._mozilla.org_observer_service_1
mov edx, 0x403584
mov dword [ebp - 4], ebx
lea ecx, [ebp - 4]
call fcn.00401211
mov eax, dword [ebp - 4]
test eax, eax
je 0x401493
mov ecx, dword [eax]
push ebx
push str.profile_change_net_teardown
push ebx
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_change_teardown
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change_qm
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change_telemetry
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [edi]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
xor edx, edx
mov ecx, edi
call fcn.004011a9
mov eax, dword [ebp - 4]
test eax, eax
je 0x4014b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4014ea
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push ebx
mov dword [esi + 0xc], ebx
call dword [sym.imp.xul.dll_NS_ShutdownXPCOM]
pop ecx
mov ecx, eax
shr ecx, 0x1f
test cl, 1
je 0x4014ea
push eax
push str.XPCOM_shutdown_failed_with_code_0x_x
call fcn.00401b39
pop ecx
pop ecx
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push dword [esi + 8]
push str.Finished_running__s_tests._n
call fcn.00401bc9
pop ecx
pop ecx
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x401506
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x401513
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
test ecx, ecx
je 0x40151f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x10]
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x40152f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esp, ebp
pop ebp
ret
Function at 0x100e8fa4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1014c548]
jne 0x100e8fae
repz ret
jmp fcn.100eb30e

Function at 0x100ec8ef
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.100e90ac
and dword [ebp - 4], 0
cmp dword [0x1014e520], 0
mov ebx, eax
jne 0x100ec9a0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100eca51
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100eca51
push eax
call fcn.100e903a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1014e520], eax
call esi
push eax
call fcn.100e903a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1014e524], eax
call esi
push eax
call fcn.100e903a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1014e528], eax
call esi
push eax
call fcn.100e903a
pop ecx
mov dword [0x1014e530], eax
test eax, eax
je 0x100ec9a0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100e903a
pop ecx
mov dword [0x1014e52c], eax
mov eax, dword [0x1014e52c]
cmp eax, ebx
je 0x100ec9f8
cmp dword [0x1014e530], ebx
je 0x100ec9f8
push eax
call fcn.100e90b5
push dword [0x1014e530]
mov esi, eax
call fcn.100e90b5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100ec9f8
test edi, edi
je 0x100ec9f8
call esi
test eax, eax
je 0x100ec9ef
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100ec9ef
test byte [ebp - 0xc], 1
jne 0x100ec9f8
or dword [ebp + 0x10], 0x200000
jmp 0x100eca31
mov eax, dword [0x1014e524]
cmp eax, ebx
je 0x100eca31
push eax
call fcn.100e90b5
pop ecx
test eax, eax
je 0x100eca31
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100eca31
mov eax, dword [0x1014e528]
cmp eax, ebx
je 0x100eca31
push eax
call fcn.100e90b5
pop ecx
test eax, eax
je 0x100eca31
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1014e520]
call fcn.100e90b5
pop ecx
test eax, eax
je 0x100eca51
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100eca53
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100ee41e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1014bed0], 0
mov byte [0x1014bed4], 0
mov dword [0x1014bec4], 0x2578
mov dword [0x1014becc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100ee46d
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov dword [0x1014bec8], 0xf4
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1014bec4], 0x198b
mov eax, dword [0x1014becc]
add eax, 1
mov dword [0x1014becc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100ee46d
mov eax, dword [0x1014bec8]
add eax, 0xffffee3c
mov dword [0x1014bec4], eax
mov dword [0x1014becc], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x100ee4c7
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1014bed8], 0
mov edx, dword [0x1014bed0]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x1014bed8], edi
mov dword [0x1014bec4], 0x135a
mov eax, edi
cdq
idiv ecx
mov dword [0x1014bed0], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x1014bed4], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x1014bed4]
mov edx, dword [0x1014bed0]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x1014becc]
add edx, 1
mov dword [0x1014becc], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x100ee4c7
jmp 0x100ee465
Function at 0x100ee569
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x16c
mov eax, dword [ebp + 8]
mov dword [0x1014bec8], 0x143b
mov dword [0x1014bec4], 0x139d
mov dword [ebp - 0x130], eax
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jmp 0x100ee63d
mov dword [0x1014bec4], 0x52
xor eax, eax
mov dword [ebp - 0x13c], eax
jmp 0x100ee69c
lea eax, [ebp - 0x12c]
mov dword [0x1014bec4], 0x1392
mov dword [ebp - 0x140], eax
call fcn.100ef60c
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [esp], eax
mov ecx, dword [ebp - 0x140]
mov dword [esp + 4], ecx
call fcn.100ee1c1
mov ecx, eax
mov dword [0x1014bee0], eax
mov eax, esp
mov edx, dword [ebp - 0x148]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x154], ecx
jmp 0x100ee6d1
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0xd0
mov edi, edx
add edi, esi
add edi, 0xa0
mov esi, dword [edi]
imul edi, eax, 0xd0
add edx, edi
add edx, 0x30
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x6d7
mov ecx, edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
je 0x100ee5a7
jmp 0x100ee63d
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax + 0x100f07b6]
mov dl, byte [eax + 0x100f0787]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x13c], eax
je 0x100ee5be
jmp 0x100ee69c
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x150]
lea edx, section..data
imul esi, eax, 0xd0
mov edi, edx
add edi, esi
add edi, 0xa0
mov esi, dword [edi]
imul edi, eax, 0xd0
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0xd0
add edx, ebx
add edx, 0x30
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x14c]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], edx
call fcn.100ef035
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x15c]
add eax, ecx
mov edx, dword [ebp - 0x158]
add edx, 1
cmp edx, 0x6d7
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], edx
jne 0x100ee6d1
lea eax, [0x100f0795]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x168], ecx
call fcn.100ee41e
mov eax, dword [ebp - 0x164]
mov dword [esp], eax
mov ecx, dword [ebp - 0x14c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x148]
mov dword [esp + 0xc], edx
call fcn.100ef22e
xor eax, eax
mov ecx, dword [ebp - 0x14c]
add ecx, 0xfba41
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [0x1014bec4], 0x512
mov dword [edx + 4], 0x16b200
mov ecx, dword [ebp - 0x14c]
add ecx, 0x6e683
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x2020
add esp, 0x16c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100eea7e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x1014bec4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
xor eax, eax
mov ecx, dword [ebp - 0x30]
add ecx, 0xffffecd2
mov dword [0x1014bec4], ecx
mov dword [ebp - 0x34], eax
jmp 0x100eeb5b
mov dword [0x1014bec4], 0x74d
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.100ee31f
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
mov dword [0x1014bec4], 0x1a79
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x48], ecx
mov dword [0x1014bec8], 0x1509
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x34], ecx
add ecx, 0x104e
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x100eeb52
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x54
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x100f07b6]
mov dh, byte [eax + 0x100f0787]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x34], ecx
jne 0x100eeb5b
lea eax, [ebp - 0x24]
mov dword [0x1014bec4], 0x1392
mov dword [0x1014bec8], 0x3361
mov dword [ebp - 0x48], eax
call fcn.100ef60c
mov dword [esp], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], eax
call fcn.100ee1c1
cmp eax, 0
mov dword [ebp - 0x38], eax
jne 0x100eeab3
xor eax, eax
add esp, 0x54
pop esi
pop ebp
ret
Function at 0x100eecac
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov edx, dword [0x1014bec4]
add edx, 0xfffffe01
mov dword [0x1014bec4], edx
mov dword [0x1014bec8], 0x258d
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.100ee569
lea ecx, [0x100ef095]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], 0x16b200
mov dword [0x1014bec4], 0x1bf6
mov edx, dword [0x1014beb0]
mov dword [esp + 0x70], edx
mov edx, dword [0x1014beb4]
mov dword [esp + 0x64], edx
mov edx, dword [0x1014beb8]
mov dword [esp + 0x68], edx
mov edx, dword [0x1014bebc]
mov dword [esp + 0x48], edx
mov edx, dword [0x1014bec0]
mov dword [esp + 0x84], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x100eed9b
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
mov dword [0x1014bec4], 0x140d
mov edx, dword [esp + 0x14]
mov esi, dword [ecx + edx + 0x50]
add eax, 0x44
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [0x1014bec8], 0xa8c
call fcn.100ef0dc
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
je 0x100eedd2
jmp 0x100eedfc
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x100eedbe
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], ecx
je 0x100eed48
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x100eed9b
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100eea7e
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x100ef0dc
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0xc], 0
mov eax, dword [0x1014bec8]
add eax, 0xfffffc4a
mov dword [0x1014bec4], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [0x1014bec8]
mov esi, dword [ebp - 0xc]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
mov edi, edx
add edi, 0xffffe172
mov dword [0x1014bec4], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x100ef18a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x100ef1a2
jmp 0x100ef213
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x100ef1e3
jmp 0x100ef213
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
je 0x100ef1ce
jmp 0x100ef213
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], eax
jge 0x100ef15c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
je 0x100ef15c
jmp 0x100ef173
mov eax, dword [ebp - 0x18]
add eax, 0xffffe77b
mov dword [0x1014bec8], eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff6
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2], 0x64
je 0x100ef144
jmp 0x100ef213
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x100ef130
jmp 0x100ef213
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x100ef213
mov eax, 1
mov dword [0x1014bec8], 0x1644
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x30], eax
je 0x100ef224
mov dword [0x1014bec8], 0x19ef
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x100ef224
mov eax, dword [ebp - 0x30]
add esp, 0x28
pop esi
pop edi
pop ebp
ret
Function at 0x100ef22e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1014becc], 0
mov dword [0x1014bed0], 0
mov dword [0x1014bedc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x100ef36c
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1014becc], edx
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1014bed0], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1014bed4], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x1014bed4]
mov edx, dword [0x1014bed0]
mov byte [edi + edx], cl
mov edx, dword [0x1014becc]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1014bed0]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1014bedc], ebx
mov dword [0x1014bec4], 0x1195
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov edx, dword [0x1014bec8]
add edx, 0xffffed36
mov dword [0x1014bec4], edx
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x100ef36c
mov eax, dword [0x1014becc]
mov ecx, dword [0x1014bed0]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
jmp 0x100ef28b
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret