joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a540
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [0x101f9788], 0x48d
mov dword [ebp - 4], 0
mov dword [0x101f9784], 0x17cb
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
jmp 0x1000a5d2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x1000a63a
jmp 0x1000a68c
mov eax, dword [ebp - 0x1c]
add esp, 0x28
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1000a586
jmp 0x1000a68c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0xe], 0x6c
je 0x1000a675
jmp 0x1000a68c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x1000a5ff
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], eax
jl 0x1000a5d2
mov eax, dword [ebp - 0x24]
mov dword [0x101f9784], 0x97e
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x1000a68c
mov dword [0x101f9784], 0x1217
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x1000a5a6
jmp 0x1000a68c
mov dword [0x101f9784], 0xc3b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
sete dl
mov byte [ebp - 0x25], dl
mov al, byte [ebp - 0x25]
test al, 1
jne 0x1000a660
jmp 0x1000a68c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x1000a5ba
jmp 0x1000a68c
mov eax, 1
mov dword [0x101f9784], 0xd1
mov dword [ebp - 0x1c], eax
jmp 0x1000a59e
mov dword [0x101f9788], 0xcc5
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x1000a59e
Function at 0x1000a700
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x1000a760
jmp 0x1000a787
xor eax, eax
mov dword [0x101f9788], 0x1c27
mov dword [ebp - 0x18], eax
jmp 0x1000a760
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
cmp ecx, edx
mov dword [ebp - 0x24], ecx
je 0x1000a908
jmp 0x1000a7ff
mov eax, dword [ebp - 0x18]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov dword [0x101f9784], 0xffffdcc5
mov dword [0x101f9788], 0x2352
mov dword [ebp - 0x18], eax
jmp 0x1000a760
mov dword [0x101f9788], 0xfffff984
mov dword [0x101f9784], 0x1d9e
mov ecx, dword fs:[0x18]
mov dword [0x101f9788], 0xa4f
mov dword [0x101f9784], 0x1886
mov eax, dword [ecx + 0x30]
mov dword [0x101f9784], 0x446
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov eax, dword [eax + 0x14]
mov dword [0x101f9788], 0x1fce
cmp eax, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], eax
je 0x1000a737
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x2d], cl
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
jmp 0x1000a7ff
mov eax, dword [ebp - 0x24]
mov ecx, eax
add ecx, 0x24
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x2d]
and bh, bl
test bh, 1
mov edi, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], edi
jne 0x1000a835
jmp 0x1000a859
mov eax, dword [ebp - 0x40]
mov dword [0x101f9788], 0x649
mov dword [0x101f9784], 0x27a
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x1000a760
mov eax, dword [ebp - 0x34]
mov cx, word [eax]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov dword [ebp - 0x44], edx
je 0x1000a748
xor eax, eax
mov dword [ebp - 0x48], eax
jmp 0x1000a87b
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x38]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x4e], dx
mov word [ebp - 0x50], di
jb 0x1000a8af
mov ax, word [ebp - 0x4e]
mov word [ebp - 0x50], ax
mov ax, word [ebp - 0x50]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x4c]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov al, bl
mov byte [ebp - 0x51], bl
mov byte [ebp - 0x52], al
jne 0x1000a8f2
mov eax, dword [ebp - 0x4c]
add eax, 1
mov ecx, dword [ebp - 0x44]
cmp eax, ecx
mov dl, byte [ebp - 0x51]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x52], dl
jb 0x1000a87b
mov al, byte [ebp - 0x52]
test al, 1
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x28], ecx
jne 0x1000a76b
jmp 0x1000a748
mov dword [0x101f9788], 0xffffea71
mov dword [0x101f9784], 0xffffdcc5
jmp 0x1000a737
Function at 0x1000aa20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x101f978c], 0
mov dword [0x101f9790], 0
mov dword [0x101f979c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [0x101f9788]
mov ecx, eax
add ecx, 0x1f87
mov dword [0x101f9784], ecx
add eax, 0xfffff200
mov dword [0x101f9788], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov dword [ebp - 0x20], eax
je 0x1000abb8
jmp 0x1000ab9c
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov edi, 0x100
mov dword [0x101f9784], 0xdc4
add ecx, 1
mov dword [ebp - 0x34], eax
mov eax, ecx
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x101f978c], edx
mov ecx, dword [ebp - 0x1c]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x38]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x3c], edx
cdq
idiv edi
mov dword [0x101f9790], edx
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x3c]
mov cl, byte [ecx + edi]
mov byte [0x101f9794], cl
add esi, 0xfffffc52
mov dword [0x101f9784], esi
mov esi, dword [ebp - 0x1c]
mov cl, byte [esi + edx]
mov byte [esi + edi], cl
mov cl, byte [0x101f9794]
mov edx, dword [0x101f9790]
mov byte [esi + edx], cl
mov edx, dword [0x101f9784]
add edx, 0x109d
mov dword [0x101f9784], edx
mov edx, dword [0x101f978c]
movzx edx, byte [esi + edx]
mov ebx, dword [0x101f9790]
movzx ebx, byte [esi + ebx]
add ebx, edx
mov dword [0x101f9788], 0x19a1
and ebx, 0xff
mov dword [0x101f979c], ebx
mov cl, byte [esi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x34]
xor cl, byte [edx + ebx]
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], cl
add ebx, 1
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
mov dword [ebp - 0x40], ebx
je 0x1000abb6
mov eax, dword [0x101f978c]
mov dword [ebp - 0x44], eax
mov eax, dword [0x101f9790]
mov ecx, dword [0x101f9788]
mov edx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], esi
jmp 0x1000aa93
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov edx, eax
mov esi, eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], eax
jmp 0x1000aa93
jmp 0x1000abb8
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000b020
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]
mov dword [0x101f9788], 0xc97
mov dword [0x101f9790], 0
mov byte [0x101f9794], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x101f9784], 0x883
mov dword [0x101f978c], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101f978c]
add eax, 1
mov dword [0x101f978c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000b06f
xor eax, eax
mov ecx, dword [0x101f9784]
add ecx, 0xfffff616
mov dword [0x101f9784], ecx
mov dword [0x101f978c], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101f9798], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101f9788], 0x244a
mov edi, dword [0x101f9790]
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 [0x101f9798], esi
mov dword [0x101f9784], 0x1147
mov eax, esi
cdq
idiv ecx
mov dword [0x101f9790], edx
mov dword [0x101f9788], 0x1720
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101f9794], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x101f9784], 0x1aa3
mov cl, byte [0x101f9794]
mov esi, dword [0x101f9790]
mov byte [ebx + esi], cl
mov esi, dword [0x101f978c]
add esi, 1
mov dword [0x101f978c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000b0b6
mov eax, dword [0x101f9784]
add eax, 0xa65
mov dword [0x101f9784], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000b190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [0x101f9784], 0x9b4
mov dword [ebp - 0x10], eax
call fcn.1000a1b0
mov ecx, dword [0x101f9784]
add ecx, 0xfffff012
mov dword [0x101f9788], ecx
mov ecx, eax
mov eax, dword [eax + 0x3c]
mov dword [0x101f9788], 0x159f
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov esi, dword [ecx + edx + 0x78]
mov dword [0x101f9784], 0x1669
add ecx, dword [ecx + esi + 0x20]
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + esi + 0x24]
mov dword [0x101f9788], 0xfffffd24
mov edx, dword [edi + esi + 0x18]
cmp edx, 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
je 0x1000b324
jmp 0x1000b24f
mov eax, dword [ebp - 0x30]
add eax, 2
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov edx, dword [ebp - 0x24]
cmp ecx, edx
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
jb 0x1000b267
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x1000b324
mov eax, 0x1669
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
add edx, esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
xor esi, esi
mov edi, dword [ebp - 0x28]
mov ebx, dword [edi + eax*4]
add edx, 0x15c
mov dword [0x101f9784], edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x14]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
mov byte [ebp - 0x53], bl
je 0x1000b2ef
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x52]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dl, byte [ebp - 0x52]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x53], dl
jne 0x1000b293
mov al, byte [ebp - 0x53]
test al, 1
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x58], ecx
jne 0x1000b301
jmp 0x1000b221
mov eax, dword [ebp - 0x58]
movzx eax, word [eax]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x1c]
mov esi, dword [ebp - 0x14]
add esi, dword [ecx + eax*4]
mov dword [0x101f9784], 0xfffff26b
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x2c]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000b8f0
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x24]
mov byte [ebp - 0x24], 0x56
mov byte [ebp - 0x23], 0x69
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x74
mov byte [ebp - 0x20], 0x75
mov byte [ebp - 0x1f], 0x61
mov byte [ebp - 0x1e], 0x6c
mov byte [ebp - 0x1d], 0x41
mov esi, edx
add esi, 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x34]
mov byte [eax], 0x6c
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], 0x63
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 0x15
mov dword [0x101f9788], 0x1368
mov dword [0x101f9784], 0xc38
call fcn.1000b430
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.1000b730
mov dword [0x101f9788], 0x107
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x1000ba42
mov eax, dword [ebp - 0x38]
mov dword [0x101f9784], 0x193b
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 [0x101f9784], 0xd99
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1000ae90
mov eax, dword [ebp - 0x3c]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
mov dword [eax + 0xd0], 0x4550
add eax, 0xffc00000
mov dword [0x101f9788], 0x18f5
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x38], eax
mov dword [0x101f9784], 0xfffff5d7
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x1e7d
mov edx, dword [ebp - 0x3c]
cmp edx, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x1000ba39
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x1000be50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov edx, dword [0x101f9788]
add edx, 0x1e5a
mov dword [0x101f9784], edx
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
call fcn.1000ba80
lea ecx, [0x1000ac00]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x84], edx
mov dword [esp + 0x8c], 0x14ba00
mov edx, dword [0x101f9770]
mov dword [esp + 0x6c], edx
mov edx, dword [0x101f9774]
mov dword [esp + 0x58], edx
mov dword [0x101f9784], 0xfffffbfd
mov edx, dword [0x101f9778]
mov dword [esp + 0x54], edx
mov edx, dword [0x101f977c]
mov dword [esp + 0x68], edx
mov edx, dword [0x101f9780]
mov dword [esp + 0x80], edx
mov dword [0x101f9788], 0x2687
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
jmp 0x1000bf15
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
and eax, 0xfffff000
mov dword [esp + 0x24], eax
jmp 0x1000bf15
mov eax, dword [esp + 0x18]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
jne 0x1000bef1
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + ecx]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
cmp eax, 0x4550
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
jne 0x1000bef1
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x94], eax
mov dword [0x101f9788], 0x159f
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x60], eax
mov dword [0x101f9784], 0x983
call fcn.1000a540
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
jne 0x1000bf0d
lea eax, [esp + 0x40]
mov ecx, dword [0x101f9784]
add ecx, 0x159
mov dword [0x101f9784], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1000b8f0
mov dword [0x101f9784], 0x1656
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x101f9784]
add ecx, 0xfffff4f5
mov dword [0x101f9784], ecx
mov dword [esp + 0x18], eax
jmp 0x1000bf0d
Function at 0x408007
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x40804b
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x40801a
jmp 0x40804b
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x40803b
pop esi
pop ebp
ret

Function at 0x408ad9
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 0x408b0e
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 0x408b38
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x408b38
test edi, edi
je 0x408b05
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x408b05
test edi, edi
je 0x408b40
mov eax, edi
jmp 0x408b07
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x408b07
int3
Function at 0x40b086
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.TestBinarySearch.exe_gMozillaPoisonSize], eax
call fcn.00408ad9
pop ecx
mov ecx, dword [sym.TestBinarySearch.exe_gMozillaPoisonSize]
mov dword [sym.TestBinarySearch.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40b0be
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestBinarySearch.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret

Function at 0x50ce50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.QNhjSkbP
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x50ce72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50ce79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50ce68
mov eax, 1
add ebx, ebx
jne 0x50ce8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50ce80
jne 0x50ce9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50ce80
xor ecx, ecx
sub eax, 3
jb 0x50ceb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50cf22
mov ebp, eax
add ebx, ebx
jne 0x50cebb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x50cec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x50ceec
inc ecx
add ebx, ebx
jne 0x50ced8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50cecd
jne 0x50cee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50cecd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50cf0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50cefd
jmp 0x50ce6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50cf0c
add edi, ecx
jmp 0x50ce6e
pop esi
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x50cf6b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xeacc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xeb24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50cf29
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xeb2c]
or eax, eax
je 0x50cf65
mov dword [ebx], eax
add ebx, 4
jmp 0x50cf46
call dword [esi + 0xeb28]
mov ebp, dword [esi + 0xeb30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x50cf9f
sub esp, 0xffffff80
jmp section.bUItIFMf
Function at 0x47bf48
Capabilities:
Encode data using xor

Disassembly:
mov ch, 0x6d
sti
dec ebp
inc ebx
enter 0xffffffffffff9c33, 0x1b
cmp bh, ah
sbb edi, dword [edx]
cld
inc ebx
movsb byte es:[edi], byte [esi]
cli
inc ebx
into
ljmp 0x74db
xor eax, 0x9726c600
test byte [edx], cl
push edx
sbb dh, byte [ebp - 0x10e7908e]
or dl, byte [edx + 0x1a]
mov ah, 0x65
jb 0x47bfbe
sbb bh, ch
loope 0x47bf73
mov eax, dword [0x27371138]
daa
stosd dword es:[edi], eax
mov es, edx
mov bl, 5
pop edx
stosd dword es:[edi], eax
fnsave dword [eax - 0x3a0176e2]
out dx, al
daa
cmp dword [ecx + 0x5a], ebp
jmp 0x47bf12
test bh, ah
dec ebp
fist dword [edx + 0x65]
jb 0x47bff4
adc ebp, edi
or bh, byte [edi + eax]
jg 0x47bf5b
sub ebx, dword [eax + 0x19]
shl ecx, cl
loop 0x47bf42
mov edi, 0x9a2f60c4
sub edx, ebp
dec ebx
jbe 0x47bfdb
les esp, [eax + 0x2f]
lcall 0x5248, 0x764bd52b
push edx
jns 0x47bf1a
test al, ah
mov edi, 0x829a6269
jp 0x47bf47
loopne 0x47bf57
imul esp, dword [edx - 0x66], 0xeba97a82
cli
xor eax, 0xe5b8bb3
lcall 0x35fa, 0xeba97a82
mov bl, 0x8b
pop ebx
push cs
jmp 0x47bf9a
out 0x49, eax
xchg edx, eax
sbb esi, dword [eax + 0x5418b3b3]
mov al, 0xb3
mov bl, 0x18
push esp
sti
add eax, dword [eax]
js 0x47bf96
jb 0x47bfa9
hlt
outsd dx, dword ds:[esi]
pop esp
stosd dword es:[edi], eax
lea ebx, [ebx + 0x27d3c2eb]
shl dword [edi], cl
xor ebp, dword [edx + 0x5b]
arpl word [edx - 0x5d], di
dec ebx
jb 0x47bfb4
mov ebp, 0xbb2a304c
retf
jbe 0x47bf95
lodsd eax, dword [esi]
push edx
jge 0x47c01c
invalid
cmpsb byte [esi], byte es:[edi]
mov edx, 0xe760738c
lahf
push ebx
jecxz 0x47c00a
jge 0x47bf8a
push edx
or byte [ebx + 0x62], 0x5b
mov bh, 0xe9
dec edx
xor dword [ebx - 0x6ea9cdb6], edi
dec edx
xor dl, byte [esi - 0x6f]
salc
xchg ebx, eax
retf 0xe7c0
jg 0x47c037
inc edx
scasb al, byte es:[edi]
add byte [ebx - 5], cl
add byte [0xf3cec323], 0x98
jnp 0x47c015
ret 0x2fab
and al, 0x9b
and eax, 0x9e4eae55
cld
jp 0x47c05f
imul edx, dword [esi], 0x23
jno 0x2e62158a
outsb dx, byte [esi]
sbb byte [edx - 0x59], 1
push esi
or cl, byte [eax + 0x4beac218]
ljmp 0xab35
or eax, 0x6d47e2bb
jno 0x47c0cd
adc dword [edx + 0x7407681b], edx
add eax, 0x1682cb62
ret 0x7ecb
into
inc esp
fild dword [esi]
xlatb
pop esi
inc bh
out 2, al
push edx
out 0x7b, al
push edx
mov ch, 0x34
std
cwde
mov esi, 0x2de481c5
retf

Function at 0x47e998
Capabilities:
Encode data using xor

Disassembly:
stc
xchg dword [edi + ebx*4 - 0x67125b3a], esi
pop edi
stosd dword es:[edi], eax
push esi
dec eax
xchg ecx, eax
ficom word [esi + 0x6d]
push esi
insd dword es:[edi], dx
xor dword [esi - 8], ebx
pop ds
push ebx
stosb byte es:[edi], al
and ebx, dword [edi + 0x173c0957]
mov esi, 0x7089527b
jno 0x47e9a6
inc eax
mov ebp, 0xd04f4ea7
mov ah, 0x2f
pop eax
pushal
test al, 0xff
or ecx, esi
invalid