joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010650
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov dword [0x1002cda4], 0x122e
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 0x100106a9
jmp 0x100106cf
mov eax, dword [ebp - 0x1c]
mov dword [0x1002cda4], eax
mov dword [0x1002cda8], 0x671
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
je 0x1001084f
jmp 0x10010732
mov dword [0x1002cda4], 0xc01
mov ecx, dword fs:[0x18]
xor eax, eax
mov dword [0x1002cda4], 0x1973
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x1002cda8], 0x177a
mov ecx, dword [ecx + 0x14]
mov dword [0x1002cda4], 0x1eb7
cmp ecx, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x18], eax
je 0x100106a9
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x38]
mov byte [ebp - 0x39], cl
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
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 - 0x39]
and bh, bl
test bh, 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x20], esi
jne 0x10010763
jmp 0x10010787
mov dword [0x1002cda4], 0xdfa
mov dword [0x1002cda8], 0xa7
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x100106a9
mov eax, 0xdfa
xor ecx, ecx
mov edx, dword [ebp - 0x40]
mov si, word [edx]
shr si, 1
movzx edi, si
cmp si, 0
mov ebx, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], ecx
je 0x100106b4
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov word [ebp - 0x5a], si
mov word [ebp - 0x5c], bx
jb 0x100107ee
mov ax, word [ebp - 0x5a]
mov word [ebp - 0x5c], ax
mov ax, word [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
add ecx, 0x264a
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x54]
cmp word [edx + esi*2], ax
sete bl
add esi, 1
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov edi, dword [ebp - 0x4c]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov eax, ecx
mov byte [ebp - 0x5d], bl
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], esi
jne 0x100107b4
mov al, byte [ebp - 0x5d]
test al, 1
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ecx
jne 0x10010691
jmp 0x100106b4
mov eax, dword [ebp - 0x30]
mov dword [0x1002cda4], eax
xor eax, eax
mov dword [0x1002cda8], 0x671
mov dword [ebp - 0x18], eax
jmp 0x100106a9
Function at 0x1001099f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x1002cda4]
add eax, 0xffffda07
mov dword [0x1002cda4], eax
call fcn.10001070
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10010a36
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x1c]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x64], esi
mov dword [0x1002cda4], 0x111c
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10010e80
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x1002cda4]
add ecx, 0xfffff0fe
mov dword [0x1002cda4], ecx
mov dword [esp + 0x18], eax
jmp 0x10010b14
lea eax, [esp + 0x38]
mov dword [0x1002cda4], 0xbdc
mov dword [esp + 0x14], eax
call fcn.10011c7e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
jne 0x10010b14
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.10010bc6
lea ecx, [0x10011f07]
mov dword [0x1002cda8], 0xb1d
mov edx, dword [esp + 0x28]
mov dword [esp + 0x68], edx
mov dword [esp + 0x7c], 0x12f600
mov edx, dword [0x1002cd90]
mov dword [esp + 0x80], edx
mov edx, dword [0x1002cd94]
mov dword [esp + 0x54], edx
mov edx, dword [0x1002cd98]
mov dword [esp + 0x6c], edx
mov edx, dword [0x1002cd9c]
mov dword [esp + 0x40], edx
mov dword [0x1002cda4], 0x135a
mov edx, dword [0x1002cda0]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0xc]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
jne 0x10010af8
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x1c], ecx
je 0x100109d7
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 0xc], eax
jmp 0x10010ad1
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jmp 0x100109cd
Function at 0x10010e80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x100135b5]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x1002cda4], 0x90d
mov dword [0x1002cda8], 0xb59
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1001159d
mov eax, dword [0x1002cda4]
add eax, 0x1da2
mov dword [0x1002cda8], eax
call fcn.10011131
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10011395
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
jne 0x10010f0c
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
mov dword [0x1002cda8], 0xc01
mov eax, dword [ebp - 0x3c]
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 [0x1002cda4], 0x1a95
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.100111db
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
mov dword [0x1002cda8], 0x539
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x4c], ecx
mov ecx, dword [0x1002cda8]
add ecx, 0xffffeed3
mov dword [0x1002cda8], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x28], ecx
mov dword [0x1002cda4], 0x147
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x10010f02
mov eax, dword [ebp - 0x44]
add eax, 0x1dcb
mov dword [0x1002cda8], 0x1479
mov dword [ebp - 0x40], eax
jmp 0x10010f02
Function at 0x10011705
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1002cdac], 0
mov dword [0x1002cdb0], 0
mov dword [0x1002cdbc], 0
mov ebx, dword [0x1002cda4]
add ebx, 0x5f1
mov dword [0x1002cda4], ebx
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10011895
jmp 0x100117a0
mov eax, dword [0x1002cda4]
mov ecx, dword [0x1002cdac]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov eax, dword [0x1002cdb0]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add esi, 1
add edx, 0x214e
mov ebx, eax
add ebx, 1
mov dword [0x1002cda4], edx
mov dword [ebp - 0x3c], eax
mov eax, esi
cdq
idiv edi
mov dword [0x1002cdac], edx
mov dword [0x1002cda8], 0xe94
mov esi, dword [ebp - 0x24]
movzx esi, byte [esi + edx]
add esi, ecx
mov eax, esi
mov dword [ebp - 0x40], edx
cdq
idiv edi
mov dword [0x1002cdb0], edx
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x40]
mov cl, byte [ecx + esi]
mov byte [0x1002cdb4], cl
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x1002cda4], 0x20fe
mov cl, byte [0x1002cdb4]
mov edx, dword [0x1002cdb0]
mov byte [edi + edx], cl
mov edx, dword [0x1002cdac]
movzx edx, byte [edi + edx]
mov ecx, dword [0x1002cdb0]
movzx ecx, byte [edi + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x1002cdbc], ecx
mov dword [0x1002cda4], 0x211
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x3c]
mov ch, byte [edx + esi]
mov byte [0x1002cdc1], ch
mov byte [0x1002cdc2], cl
mov dword [0x1002cda4], 0x1106
xor ch, cl
mov byte [0x1002cdc0], ch
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
jne 0x10011775
mov eax, dword [0x1002cda8]
add eax, 0x221
mov dword [0x1002cda8], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10011953
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 [0x1002cdb0], 0
mov byte [0x1002cdb4], 0
mov dword [0x1002cda4], 0x9b7
mov dword [0x1002cdac], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100119ab
xor eax, eax
mov dword [0x1002cdac], 0
mov dword [ebp - 0x20], eax
jmp 0x100119dd
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1002cda4], 0x1a34
mov eax, dword [0x1002cdac]
add eax, 1
mov dword [0x1002cdac], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100119ab
jmp 0x1001199a
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1002cdb8], 0
mov dword [0x1002cda8], 0xa70
mov edx, dword [0x1002cdb0]
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 [0x1002cdb8], edi
mov dword [0x1002cda4], 0x2605
mov eax, edi
cdq
idiv ecx
mov dword [0x1002cdb0], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x1002cdb4], cl
mov dword [0x1002cda8], 0x1d7f
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x1002cda4], 0x14bd
mov cl, byte [0x1002cdb4]
mov edx, dword [0x1002cdb0]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x1002cdac]
add edx, 1
mov dword [0x1002cdac], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x100119dd
mov dword [0x1002cda4], 0x20f6
mov dword [0x1002cda8], 0xbda
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10011ab4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [ebp + 8]
mov ecx, dword [0x1002cda4]
add ecx, 0x89f
mov dword [0x1002cda4], ecx
mov dword [0x1002cda8], 0x1fa4
mov dword [ebp - 0x10], eax
call fcn.1001086b
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 0x10011b0c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x1002cda4], 0xfffff354
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x1002cda8], 0x1e93
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 0x10011c73
jmp 0x10011b83
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
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 dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x10011bf6
jmp 0x10011bc9
mov eax, 0xfffff354
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x2c]
add edx, esi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
xor esi, esi
mov edi, dword [ebp - 0x28]
mov ebx, dword [edi + eax*4]
add edx, 0x89f
mov dword [0x1002cda4], edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x38], esi
jmp 0x10011b58
mov al, byte [ebp - 0x41]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x40]
add edx, 1
mov ah, byte [ebp - 0x42]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x38], edx
jne 0x10011b58
mov al, byte [ebp - 0x42]
test al, 1
jne 0x10011c46
jmp 0x10011bff
mov eax, dword [ebp - 0x58]
add eax, 2
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov edx, dword [ebp - 0x30]
cmp ecx, edx
setb bl
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], ecx
mov byte [ebp - 0x65], bl
xor eax, eax
mov cl, byte [ebp - 0x65]
test cl, 1
mov edx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x64]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x34], eax
jne 0x10011b9b
jmp 0x10011c73
mov eax, dword [ebp - 0x58]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x1002cda4], 0x5ea
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x1002cda8], 0x19e
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10011c7e
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [0x1002cda4]
add eax, 0xfffff2a7
mov dword [0x1002cda4], eax
mov dword [ebp - 0x10], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov dword [0x1002cda8], 0x1944
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1002cda4], 0x2173
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x10011cf2
mov dword [0x1002cda4], 0x8c1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10011d9c
jmp 0x10011df7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x10011d26
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0x104
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], ecx
jl 0x10011cf2
mov eax, dword [ebp - 0x28]
mov dword [0x1002cda8], 0x1341
mov dword [0x1002cda4], 0x356f
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x10011df7
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2], 0x6f
jne 0x10011df7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10011df7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
sete dl
mov byte [ebp - 0x31], dl
mov al, byte [ebp - 0x31]
test al, 1
jne 0x10011cd0
jmp 0x10011df7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10011df7
mov eax, 0xb8a
mov ecx, 0x23bc
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov di, word [edx + esi*2 - 0xe]
cmp di, 0x6c
sete bl
cmp di, 0x6c
mov byte [ebp - 0x32], bl
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
je 0x10011dde
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [0x1002cda4], eax
mov cl, byte [ebp - 0x32]
and cl, 1
movzx eax, cl
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x79023160
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x7906d330]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
movzx eax, byte [0x79075687]
test eax, eax
je 0x7902318b
mov eax, 1
jmp 0x79023331
mov eax, dword [0x790741d0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call fcn.790391a0
add esp, 4
mov dword [ebp - 0xc], eax
push 4
push 0x1000
mov eax, dword [ebp - 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [0x790741c8], eax
cmp dword [ebp - 0x10], 0
je 0x7902332f
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.7903b7e0
add esp, 0xc
mov dword [ebp - 0x14], fcn.7903e871
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
cmp ecx, 0xe9
jne 0x79023205
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 1]
mov edx, dword [ebp - 0x14]
lea eax, [edx + ecx + 5]
mov dword [ebp - 0x14], eax
jmp 0x79023224
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax]
cmp ecx, 0xeb
jne 0x79023224
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax + 1]
mov edx, dword [ebp - 0x14]
lea eax, [edx + ecx + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x40
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x14]
mov dword [edx + ecx], 0x1b8
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + eax], 0x12c200
lea eax, [ebp - 0x18]
push eax
push 0x40
push 0x50
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x7902332f
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov edx, 0x7902329d
mov dword [ebp - 0x70], edx
mov eax, 0x790232df
sub eax, edx
mov dword [ebp - 0x6c], eax
jmp 0x790232df
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.7903b7e0
add esp, 0xc
push 0x50
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x68]
call eax
push 0x8000
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov byte [0x79075687], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.7903b376
mov esp, ebp
pop ebp
ret
Function at 0x790943a2
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [ebp - 0x1c], eax
btc dx, 0xa
lahf
rcl ecx, 0xf
mov eax, 1
setg ch
movzx dx, cl
imul ecx, eax, 0xc
mov byte [esp + 8], 0x89
mov edx, dword [ebp - 4]
not al
bswap ax
lahf
movzx eax, word [edx + ecx]
movsx edx, al
mov dword [ebp - 0x20], eax
push esp
pushfd
stc
mov eax, 1
push 0x94a961e8
rcr ch, 7
movzx ecx, bl
imul ecx, eax, 0xe
inc dx
rcr eax, cl
mov edx, dword [ebp - 4]
not al
setg al
movzx eax, word [edx + ecx]
movzx ecx, cl
jmp 0x7912afa2

Function at 0x79098a75
Capabilities:
Encrypt data using tea
Encrypt data using xtea
Execute anti-debugging instructions

Disassembly:
mov dword ss:[ebp - 4], edx
sub esp, 0xfffffff0
pushal
mov byte [esp + 0xc], bh
cmp dh, 0x33
cmp dword ss:[ebp - 4], 0
jmp 0x790fe778
sub ecx, eax
xchg dh, al
bsf ax, bx
mov dword ss:[ebp - 0x10], ecx
rdtsc
lea eax, [ebp + 0x980c46d]
mov edx, dword ss:[ebp - 4]
sub al, dl
add edx, 0x61c88647
or ch, 0x99
sub ch, ch
rcr cl, cl
mov dword ss:[ebp - 4], edx
rcl al, 3
lea eax, [ebx + 0x46a1c14e]
btc ax, 2
mov eax, dword ss:[ebp - 0x10]
movzx ecx, cl
shl eax, 4
clc
rcr dh, 1
mov ecx, dword ss:[ebp - 0x10]
sar dl, 5
adc edx, 0x4dfeecc
adc dx, 0xa0a4
push ebx
shr ecx, 5
rcr dx, 3
not dl
push eax
xor eax, ecx
or dl, 0xd0
mov edx, dword ss:[ebp - 0x10]
rcr ch, 3
shrd cx, cx, cl
shl cl, cl
xor edx, dword ss:[ebp - 4]
btr cx, bx
bsf cx, bx
call fcn.791a72fc
pushal
lea esp, [esp + 0x40]
je fcn.7919c0a0
ror al, 3
movsx ax, cl
rol dh, cl
mov eax, dword ss:[ebp - 8]
mov dx, 0xd003
adc cl, dl
cmp bh, 0xc4
or dh, cl
shl eax, 4
xadd cl, dh
mov ecx, dword ss:[ebp - 8]
adc dh, ch
shr ecx, 5
adc dl, ch
bsf dx, cx
xor eax, ecx
xchg ch, dh
bts dx, 6
sal dl, cl
mov edx, dword ss:[ebp - 8]
not cl
test di, dx
inc cx
xor edx, dword ss:[ebp - 4]
push eax
setae ch
xor cx, 0x74aa
add eax, edx
dec dl
shrd ecx, edi, 0x1f
or cx, 0x44c0
mov ecx, dword ss:[ebp - 4]
bts dx, 1
shr ecx, 0xb
cmp cl, ch
push dword [esp]
lea edx, [eax - 0x73d6afe0]
and ecx, 3
shl dl, 3
sal dx, cl
cmc
mov edx, dword ss:[ebp + 8]
pushal
push 0x36f847ca
stc
cmp bh, dl
add eax, dword ds:[edx + ecx*4]
bswap dx
sal cx, cl
clc
mov ecx, dword ss:[ebp - 0x10]
pop edx
sar dx, 0xb
jmp 0x790e4e8e

Function at 0x7909948f
Capabilities:
Execute anti-debugging instructions

Disassembly:
setl dh
mov dword [ebp - 0x1c], eax
btc dx, 7
mov eax, 1
stc
bts cx, si
rcl dh, 6
imul ecx, eax, 7
xadd dl, al
mov edx, dword [ebp - 4]
shl al, 7
rcr al, cl
cmc
xor ax, di
mov eax, dword [edx + ecx]
dec ch
sub dl, 0xe2
sub dh, 0xe7
xor eax, dword [ebp - 8]
setno ch
clc
cmc
push edi
mov dword [ebp - 0x20], eax
bts ax, 0xe
rol ax, 5
mov eax, 1
ror dx, cl
btc dx, 8
movsx dx, bl
bts cx, 1
imul ecx, eax, 0xb
cwde
rdtsc
pushfd
mov edx, dword [ebp - 4]
ror ah, cl
not ax
mov eax, dword [edx + ecx]
jmp 0x79121cc1

Function at 0x790a0a03
Capabilities:
Encrypt data using tea
Encrypt data using xtea

Disassembly:
pushfd
mov dword ss:[ebp - 8], ecx
push dword [esp]
lea esp, [esp + 0x44]
jmp 0x79098a7c