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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
mov esi, dword [edi + 0xc]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
mov edx, dword [edi + 4]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edi + 0x18]
and ecx, eax
mov eax, dword [esi + ecx*8]
lea edi, [esi + ecx*8]
mov esi, eax
cmp esi, edx
jne 0x10018d88
mov ecx, edx
jmp 0x10018d8d
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x10018daa
mov ecx, dword [eax + 8]
cmp ecx, dword [ebx]
je 0x10018d9c
mov eax, dword [eax]
jmp 0x10018d80
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], edx
pop ebp
ret 8

Function at 0x10019550
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x10019578
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x10019580
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
test ecx, ecx
jle 0x10019599
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x100195a1
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test ecx, ecx
jle 0x100195ba
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x100195c2
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test ecx, ecx
jle 0x100195db
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x100195e3
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, edx
mov dword [ebp - 4], 0
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x10019624
add dword [esp], 5
retf
Function at 0x100198c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003edd0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10052198]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x18]
mov esi, dword [ebx + 4]
mov dword [ebp - 4], 0
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
imul eax, edx, 0x1000193
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x10019983
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x10019983
mov esi, dword [esi + 4]
mov cx, word [edi]
cmp cx, word [esi + 8]
jne 0x10019936
mov edx, dword [ebp + 0x10]
push 0xc
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.1003357f
mov eax, dword [ebp + 8]
add esp, 8
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
cmp esi, eax
je 0x100199b3
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x100199ca
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x100199ec
cmp eax, esi
jne 0x100199d2
mov dword [ecx], edi
jmp 0x100199ec
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x100199ec
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.1001acc0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001ada0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
mov ecx, dword [ebx + 0x18]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
imul eax, edx, 0x1000193
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x1001adfb
cmp eax, edi
jne 0x1001adf3
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x1001ae03
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1001ae03
cmp eax, edi
jne 0x1001ae06
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push 0xc
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.1003357f
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1001f133
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x10034cc0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x10052198]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x10034ce7
mov ecx, 5
int 0x29
push 2
call fcn.100343b8
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x10034df2
test esi, esi
jne 0x10034df2
push 2
call fcn.100343b8
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10033596
mov esp, ebp
pop ebp
ret
Function at 0x100385d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.10038600
mov esi, dword [ebp + 8]
test al, al
je 0x100385ee
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.10038610
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1003d390
Capabilities:
Get process heap force flags

Disassembly:
call fcn.10037b50
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x50001
jae 0x1003d3ba
add eax, 0x74
ret
cmp edx, 0x60000
jae 0x1003d3c6
add eax, 0x78
ret
add eax, 0x88
ret

Function at 0x1003d3d0
Capabilities:
Get process heap force flags

Disassembly:
call fcn.10037b50
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60000
jae 0x1003d3fa
sub eax, 0xffffff80
ret
add eax, 0x90
ret
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x5fe66b8e
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x511b3553
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x100060f0
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 [0x1018f864], 0x13a8
mov dword [0x1018f870], 0
mov byte [0x1018f874], 0
mov edi, dword [0x1018f868]
add edi, 0xffffea5b
mov dword [0x1018f868], edi
mov dword [0x1018f86c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1018f868]
add eax, 0xfffff29d
mov dword [0x1018f864], eax
mov eax, dword [0x1018f86c]
add eax, 1
mov dword [0x1018f86c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10006147
xor eax, eax
mov dword [0x1018f864], 0x119a
mov dword [0x1018f86c], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1018f878], 0
mov dword [0x1018f864], 0x21a0
mov edi, dword [0x1018f870]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1018f878], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x1018f870], edx
mov dword [0x1018f868], 0xd15
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x1018f874], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x1018f864], 0x18ab
mov cl, byte [0x1018f874]
mov esi, dword [0x1018f870]
mov byte [ebx + esi], cl
mov esi, dword [0x1018f86c]
add esi, 1
mov dword [0x1018f86c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10006195
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10006610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov dword [0x1018f864], 0xacb
mov dword [ebp - 0x10], eax
call fcn.100074d0
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10006656
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x1018f868], 0x6ce
mov esi, dword [edx + eax + 0x24]
mov dword [0x1018f864], 0xfffffca0
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x100066ff
jmp 0x1000670a
mov al, byte [ebp - 0x35]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x3c]
add edx, 1
mov ah, byte [ebp - 0x3d]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov cl, byte [ebp - 0x3d]
mov dword [ebp - 0x44], edx
mov byte [ebp - 0x45], cl
jne 0x100066cf
jmp 0x10006740
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov bl, cl
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x3d], cl
mov byte [ebp - 0x45], bl
je 0x10006740
jmp 0x1000669e
mov eax, dword [ebp - 0x34]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [0x1018f864], 0xacb
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x44], edx
jmp 0x100066cf
mov al, byte [ebp - 0x45]
test al, 1
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x60], ecx
jne 0x1000676d
mov eax, dword [ebp - 0x58]
add eax, 2
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov edx, dword [ebp - 0x30]
cmp ecx, edx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], eax
jb 0x1000671a
jmp 0x10006795
mov eax, dword [ebp - 0x60]
movzx eax, word [eax]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x1c]
mov esi, dword [ebp - 0x1c]
add esi, dword [ecx + eax*4]
mov dword [0x1018f864], 0x1919
mov dword [ebp - 0x34], esi
jmp 0x100066ff
xor eax, eax
mov dword [ebp - 0x34], eax
jmp 0x100066ff
Function at 0x100071c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x1018f868], 0x1a0e
mov dword [ebp - 4], 0
mov dword [0x1018f864], 0x7d0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x1018f864]
add edx, 0xfffffa13
mov dword [0x1018f864], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1018f868], 0x19a
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10007239
mov eax, 0xffffee12
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x10007344
jmp 0x10007251
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x1000727a
jmp 0x10007263
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [0x1018f868], eax
mov dword [ebp - 0x24], ecx
jmp 0x10007356
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x10007239
mov eax, dword [ebp - 0x20]
mov ecx, 0xffffec88
mov dword [0x1018f864], 0x2b1
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jne 0x10007251
mov eax, 0xffffec88
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
jne 0x10007251
mov eax, 0x1137
mov dword [0x1018f864], 0x2760
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x18], eax
jne 0x10007251
mov eax, 0x1137
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x18], eax
jne 0x10007251
mov eax, 0xfffff83a
mov dword [0x1018f864], 0xe63
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x18], eax
jne 0x10007251
mov eax, 0xffffee12
mov dword [0x1018f864], 0x43b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x18], eax
je 0x1000721c
jmp 0x10007251
mov eax, 1
mov dword [0x1018f864], 0x26a1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x100077f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1018f86c], 0
mov dword [0x1018f870], 0
mov dword [0x1018f87c], 0
mov dword [0x1018f864], 0x1541
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x1000798d
mov eax, 0x1541
xor ecx, ecx
mov edx, ecx
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
jmp 0x1000785d
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov edi, 0x100
add esi, 0xffffe50f
mov ebx, eax
add ebx, 1
add ecx, 1
mov dword [0x1018f864], esi
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x1018f86c], edx
mov dword [0x1018f868], 0x1c5a
mov ecx, dword [ebp - 0x1c]
movzx esi, byte [ecx + edx]
mov ecx, dword [ebp - 0x34]
add esi, ecx
mov eax, esi
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x1018f870], edx
mov dword [0x1018f864], 0xe53
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x1018f874], cl
mov dword [0x1018f868], 0x1303
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x1018f874]
mov edx, dword [0x1018f870]
mov byte [edi + edx], cl
mov edx, dword [0x1018f864]
mov ecx, edx
add ecx, 0x1414
mov dword [0x1018f864], ecx
mov ecx, dword [0x1018f86c]
movzx ecx, byte [edi + ecx]
mov esi, dword [0x1018f870]
movzx esi, byte [edi + esi]
add esi, ecx
mov ecx, edx
add ecx, 0xfffff366
mov dword [0x1018f864], ecx
and esi, 0xff
mov dword [0x1018f87c], esi
mov cl, byte [edi + esi]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x30]
mov ch, byte [esi + edi]
add edx, 0xffffe34d
mov dword [0x1018f864], edx
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], ch
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x3c], ebx
je 0x1000798b
mov eax, dword [0x1018f864]
mov ecx, dword [0x1018f86c]
mov edx, dword [0x1018f870]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], esi
jmp 0x1000785d
jmp 0x1000798d
mov dword [0x1018f868], 0xaeb
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100079a0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov edx, dword [0x1018f864]
mov esi, edx
add esi, 0xffffe262
mov dword [0x1018f864], esi
add edx, 0xffffd598
mov dword [0x1018f868], edx
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.100067a0
lea ecx, [0x10006040]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x78], edx
mov dword [esp + 0x50], 0x152800
mov edx, dword [0x1018f850]
mov dword [esp + 0x74], edx
mov edx, dword [0x1018f854]
mov dword [esp + 0x84], edx
mov edx, dword [0x1018f858]
mov dword [esp + 0x88], edx
mov edx, dword [0x1018f85c]
mov dword [esp + 0x38], edx
mov edx, dword [0x1018f860]
mov dword [esp + 0x4c], edx
mov dword [0x1018f864], 0x2013
mov dword [0x1018f868], 0x1060
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x10007a5f
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x10007a4d
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jne 0x10007a4d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], ecx
mov dword [0x1018f868], 0x258d
mov eax, dword [ecx + eax + 0x50]
mov dword [esp + 0x64], eax
call fcn.100071c0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x10007aea
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100062e0
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x1018f864], 0x1cda
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x407498
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [ebp + 0xc]
and eax, 3
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
sub ecx, eax
je 0x4074e2
rol edx, 5
xor edx, dword [esi + ebx]
add esi, 4
imul eax, edx, 0x9e3779b9
rol eax, 5
xor eax, 4
imul edx, eax, 0x9e3779b9
cmp esi, ecx
jb 0x4074b1
jmp 0x4074e2
movsx ecx, byte [esi + ebx]
rol edx, 5
xor edx, ecx
imul edx, edx, 0x9e3779b9
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x4074d2
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x408074
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x4080a9
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x4080d3
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x4080d3
test edi, edi
je 0x4080a0
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4080a0
test edi, edi
je 0x4080db
mov eax, edi
jmp 0x4080a2
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x4080a2
int3
Function at 0x40b17e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestRefPtr.exe_gMozillaPoisonSize], eax
call fcn.00408074
pop ecx
mov ecx, dword [sym.TestRefPtr.exe_gMozillaPoisonSize]
mov dword [sym.TestRefPtr.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40b1b6
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestRefPtr.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret