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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [0x101410f0], 0x24d3
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 [0x101410f0], 0x1bac
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1011691e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x101168f8
jmp 0x101169a3
mov dword [0x101410f4], 0x92d
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 0x1011691e
jmp 0x10116938
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret
mov dword [0x101410f0], 0xfffff703
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1011689b
jmp 0x101169a3
mov eax, 1
mov dword [0x101410f0], 0xfffff0e1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
je 0x101168d2
jmp 0x101169a3
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
jne 0x101168af
mov eax, dword [ebp - 0x1c]
mov dword [0x101410f0], 0x334d
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x101169a3
mov dword [0x101410f4], 0x20f3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101169a3
mov dword [0x101410f4], 0x1208
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x101169a3
mov dword [0x101410f0], 0x2dac
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101168da
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x101168d2
Function at 0x1011715f
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 [0x101410f0], 0xd69
mov dword [0x101410fc], 0
mov byte [0x10141100], 0
mov dword [0x101410f8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1011727a
xor eax, eax
mov dword [0x101410f8], 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 [0x10141104], 0
mov dword [0x101410f0], 0x1709
mov edi, dword [0x101410fc]
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 [0x10141104], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x101410fc], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x10141100], cl
mov dword [0x101410f0], 0x2eea
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x101410f0], 0xe5e
mov cl, byte [0x10141100]
mov esi, dword [0x101410fc]
mov byte [ebx + esi], cl
mov esi, dword [0x101410f8]
add esi, 1
mov dword [0x101410f8], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x101171b8
mov eax, dword [0x101410f4]
add eax, 0xffffe972
mov dword [0x101410f0], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101410f4], 0x1fa8
mov eax, dword [0x101410f8]
add eax, 1
mov dword [0x101410f8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1011727a
jmp 0x101171a9
Function at 0x10117588
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x101410f0]
add ebx, 0x13d
mov dword [0x101410f4], ebx
mov dword [0x101410f8], 0
mov dword [0x101410fc], 0
mov dword [0x10141108], 0
mov dword [0x101410f0], 0x1419
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 0x1011772d
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add edx, 1
mov edi, ecx
add edi, 1
mov dword [0x101410f0], 0x29
mov dword [ebp - 0x2c], eax
mov eax, edx
cdq
idiv esi
mov dword [0x101410f8], edx
mov dword [0x101410f4], 0xebf
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101410fc], edx
mov dword [0x101410f0], 0xffffec9f
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10141100], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10141100]
mov edx, dword [0x101410fc]
mov byte [ebx + edx], cl
mov dword [0x101410f0], 0x1db7
mov edx, dword [0x101410f8]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101410fc]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x101410f4], 0x38df
and ecx, 0xff
mov dword [0x10141108], ecx
mov dword [0x101410f0], 0x3dc7
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
xor cl, byte [edx + esi]
mov byte [0x1014110c], cl
mov dword [0x101410f4], 0x3d99
mov dword [0x101410f0], 0x23d4
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov ecx, dword [0x101410f0]
add ecx, 0xffffdbff
mov dword [0x101410f0], ecx
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x1011772d
mov eax, dword [0x101410fc]
mov ecx, dword [0x101410f8]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x101175fd
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10117735
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x101410f0], 0xa6b
mov dword [0x101410f4], 0xa11
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10116ac0
lea ecx, [0x10116db7]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x2c], edx
mov dword [0x101410f4], 0x1ddd
mov dword [esp + 0x6c], 0x14e200
mov edx, dword [0x101410dc]
mov dword [esp + 0x24], edx
mov edx, dword [0x101410e0]
mov dword [esp + 0x48], edx
mov edx, dword [0x101410e4]
mov dword [esp + 0x34], edx
mov edx, dword [0x101410e8]
mov dword [esp + 0x20], edx
mov edx, dword [0x101410ec]
mov dword [esp + 0x64], edx
mov dword [0x101410f0], 0x2782
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x10117805
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10117816
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10117805
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x101177d5
jmp 0x101177e9
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov dword [0x101410f4], 0x1475
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x50], edx
mov dword [0x101410f0], 0x173f
call fcn.10116858
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x101177fd
lea eax, [esp + 0x20]
mov dword [0x101410f0], 0xf02
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101164f7
mov dword [0x101410f4], 0x1981
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x101410f0], 0x220e
mov dword [esp + 8], eax
jmp 0x101177fd
Function at 0x1c002ac
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
mov eax, dword [ebp + 8]
je 0x1c002c6
mov cl, byte [ebp + 0x10]
xor byte [eax], cl
inc eax
inc cl
dec edx
jne 0x1c002be
mov eax, dword [ebp + 8]
pop ebp
ret 0xc

Function at 0x1c01f76
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x1012a64]
push ebx
push esi
push edi
mov edi, 0x1012a60
sub edi, 0x12a60
lea eax, [ecx + ecx*2]
shl eax, 2
push 0
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], eax
pop edx
je 0x1c01fc2
movzx esi, byte [edx + 0x1011260]
mov ebx, dword [ebp - 4]
shr ebx, 0x1b
xor esi, ebx
mov ebx, dword [ebp - 4]
shl ebx, 5
xor esi, ebx
inc edx
cmp edx, eax
mov dword [ebp - 4], esi
jb 0x1c01fa3
cmp dword [ebp - 4], 0xd71bf652
je 0x1c01ffa
cmp byte [0x10176fb], 0
jne 0x1c01fea
push 0x436e4dc9
push 0x576e4278
call fcn.01c01962
mov byte [0x10176fb], 1
push 0x3e8
call 0x1bff1da
mov ecx, dword [0x1012a64]
and dword [ebp - 0xc], 0
test ecx, ecx
jbe 0x1c02087
mov esi, 0x1011264
mov eax, dword [esi - 4]
mov edx, dword [esi]
and dword [ebp - 8], 0
add eax, edi
test edx, edx
mov dword [ebp - 4], edx
jbe 0x1c02042
mov edi, dword [ebp - 8]
movzx edi, byte [eax + edi]
mov ebx, dword [ebp - 4]
shr ebx, 0x1b
xor edi, ebx
mov ebx, dword [ebp - 4]
shl ebx, 5
xor edi, ebx
inc dword [ebp - 8]
cmp dword [ebp - 8], edx
mov dword [ebp - 4], edi
jb 0x1c0201d
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 4]
je 0x1c0207c
cmp byte [0x10176fc], 0
jne 0x1c0207c
push dword [ebp - 0xc]
push 0x436e4dca
push 0x576e4278
call fcn.01c01980
push 0x3e8
mov byte [0x10176fc], 1
call 0x1bff1da
mov ecx, dword [0x1012a64]
inc dword [ebp - 0xc]
add esi, 0xc
cmp dword [ebp - 0xc], ecx
jb 0x1c0200b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1c028c0
Capabilities:
Hash data with md5

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret 4

Function at 0x1c033c2
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x100
mov dword [ebp - 4], ecx
xor esi, esi
mov edx, edi
mov ebx, eax
mov dword [edx], ecx
inc ecx
add edx, 4
dec ebx
jne 0x1c033de
mov ecx, edi
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [esi + eax]
add al, byte [ecx]
mov edx, dword [ecx]
add al, byte [ebp - 4]
and eax, 0xff
mov dword [ebp - 4], eax
movzx eax, ax
lea eax, [edi + eax*4]
mov ebx, dword [eax]
mov dword [ecx], ebx
mov dword [eax], edx
lea eax, [esi + 1]
xor edx, edx
div dword [ebp + 0x10]
add ecx, 4
dec dword [ebp + 8]
mov esi, edx
jne 0x1c033ec
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1c03818
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [fcn.0101019c]
test al, al
je 0x1c03845
mov eax, dword [esi + 0x3c]
add eax, esi
cmp word [esi], 0x5a4d
jne 0x1c03845
cmp dword [eax], 0x4550
jne 0x1c03845
mov eax, dword [eax + 8]
jmp 0x1c03847
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x1c0536a
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1012fb0]
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
add ebx, edi
cmp word [edi], 0x5a4d
mov dword [ebp - 0x14], eax
jne 0x1c05493
cmp dword [ebx], 0x4550
jne 0x1c05493
push dword [ebx + 0x78]
push edi
call fcn.01c00248
mov esi, eax
xor eax, eax
add esi, edi
cmp dword [ebx + 0x7c], eax
je 0x1c05493
cmp dword [esi + 0x18], eax
je 0x1c05493
cmp dword [esi + 0x14], eax
je 0x1c05493
push dword [esi + 0x1c]
push edi
call fcn.01c00248
push dword [esi + 0x20]
add eax, edi
push edi
mov dword [ebp - 0x10], eax
call fcn.01c00248
push dword [esi + 0x24]
mov ebx, eax
push edi
add ebx, edi
call fcn.01c00248
push dword [ebp - 0x10]
add eax, edi
mov dword [ebp - 0xc], eax
call dword [fcn.0101019c]
test al, al
je 0x1c05493
push ebx
call dword [fcn.0101019c]
test al, al
je 0x1c05493
push dword [ebp - 0xc]
call dword [fcn.0101019c]
test al, al
je 0x1c05493
cmp byte [ebp + 0x14], 0
je 0x1c05436
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call fcn.01c002ac
and dword [ebp - 8], 0
cmp dword [esi + 0x18], 0
jbe 0x1c0548e
push dword [ebp - 0x14]
mov eax, dword [ebp - 8]
push dword [ebx + eax*4]
push edi
call fcn.01c00248
add eax, edi
push eax
call dword [0x1010078]
test eax, eax
pop ecx
pop ecx
je 0x1c0546b
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0x18]
jb 0x1c05440
jmp 0x1c0548e
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0x10]
push dword [ecx + eax*4]
push edi
call fcn.01c00248
add eax, edi
cmp byte [eax], 0xb8
jne 0x1c0548e
mov eax, dword [eax + 1]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
jmp 0x1c05495
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01c0d596
leave
ret 0x10

Function at 0x1c0740c
Capabilities:
Encode data using xor
Hash data using jshash

Disassembly:
mov edi, edi
push esi
mov esi, dword [0x1014dc0]
push edi
mov edi, 0x1014dc0
cmp esi, edi
je 0x1c07477
push ebx
mov eax, 0x4e67c6a7
xor ecx, ecx
movsx edx, byte [esi + ecx - 0x34]
mov ebx, eax
shl ebx, 5
add edx, ebx
mov ebx, eax
shr ebx, 2
add edx, ebx
xor eax, edx
inc ecx
cmp ecx, 0xc
jb 0x1c07427
cmp eax, dword [esi - 0x28]
je 0x1c07470
cmp byte [0x1014e25], 0
jne 0x1c07466
push 0x436e4dc6
push 0x576e4278
call fcn.01c01962
mov byte [0x1014e25], 1
push 0x3e8
call 0x1bff1da
mov esi, dword [esi]
cmp esi, edi
jne 0x1c07420
pop ebx
pop edi
pop esi
ret
Function at 0x1c07480
Capabilities:
Encode data using xor
Hash data using jshash

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push edi
mov byte [ebp - 1], 0
call dword [fcn.01010014]
cmp al, 2
mov edi, 0x1014dd0
mov ecx, edi
jb 0x1c074a8
call dword [0x1010084]
mov byte [ebp - 1], 1
jmp 0x1c074b1
call dword [fcn.0101000c]
mov byte [ebp - 2], al
push esi
mov esi, dword [0x1014dc8]
cmp esi, 0x1014dc8
je 0x1c07512
push ebx
mov eax, 0x4e67c6a7
xor ecx, ecx
movsx edx, byte [esi + ecx - 0x34]
mov ebx, eax
shl ebx, 5
add edx, ebx
mov ebx, eax
shr ebx, 2
add edx, ebx
xor eax, edx
inc ecx
cmp ecx, 0xc
jb 0x1c074c8
cmp eax, dword [esi - 0x28]
je 0x1c07507
cmp byte [0x1014e26], 0
jne 0x1c07507
push 0x436e4dc5
push 0x576e4278
call fcn.01c01962
mov byte [0x1014e26], 1
mov esi, dword [esi]
cmp esi, 0x1014dc8
jne 0x1c074c1
pop ebx
cmp byte [ebp - 1], 0
pop esi
mov ecx, edi
je 0x1c07523
call dword [0x1010080]
jmp 0x1c0752c
mov dl, byte [ebp - 2]
call dword [fcn.01010010]
pop edi
leave
ret

Function at 0x1c080ca
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x1012fb0]
and dword [ebp - 0x5c], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x15
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov edi, dword [fcn.0101019c]
push esi
call edi
test al, al
je 0x1c0815d
push ebx
call edi
test al, al
je 0x1c0815d
mov eax, dword [esi + 0x3c]
add eax, esi
cmp word [esi], 0x5a4d
jne 0x1c0815d
cmp dword [eax], 0x4550
jne 0x1c0815d
push 0x38
lea esi, [eax + 0x18]
pop ecx
lea eax, [ebp - 0x5c]
lea edi, [ebp - 0x13c]
rep movsd dword es:[edi], dword [esi]
and dword [ebp - 0x120], 0
push eax
call fcn.01c028c0
push 0xe0
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.01c07e70
lea eax, [ebp - 0x5c]
push eax
push ebx
call fcn.01c07f18
mov al, 1
jmp 0x1c0815f
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01c0d596
leave
ret 0xc
Function at 0x5b4964
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6601a0]
jne 0x5b496e
repz ret
jmp fcn.005bb35c

Function at 0x5beabb
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.005b38ba
and dword [ebp - 4], 0
cmp dword [0x6614ec], 0
mov ebx, eax
jne 0x5beb6c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x5bec1d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x5bec1d
push eax
call fcn.005b3848
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x6614ec], eax
call esi
push eax
call fcn.005b3848
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x6614f0], eax
call esi
push eax
call fcn.005b3848
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x6614f4], eax
call esi
push eax
call fcn.005b3848
pop ecx
mov dword [0x6614fc], eax
test eax, eax
je 0x5beb6c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.005b3848
pop ecx
mov dword [0x6614f8], eax
mov eax, dword [0x6614f8]
cmp eax, ebx
je 0x5bebc4
cmp dword [0x6614fc], ebx
je 0x5bebc4
push eax
call fcn.005b38c3
push dword [0x6614fc]
mov esi, eax
call fcn.005b38c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x5bebc4
test edi, edi
je 0x5bebc4
call esi
test eax, eax
je 0x5bebbb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5bebbb
test byte [ebp - 0xc], 1
jne 0x5bebc4
or dword [ebp + 0x10], 0x200000
jmp 0x5bebfd
mov eax, dword [0x6614f0]
cmp eax, ebx
je 0x5bebfd
push eax
call fcn.005b38c3
pop ecx
test eax, eax
je 0x5bebfd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x5bebfd
mov eax, dword [0x6614f4]
cmp eax, ebx
je 0x5bebfd
push eax
call fcn.005b38c3
pop ecx
test eax, eax
je 0x5bebfd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6614ec]
call fcn.005b38c3
pop ecx
test eax, eax
je 0x5bec1d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x5bec1f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5c2949
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov dword [0x65f9e8], 0x1abc
mov dword [ebp - 0x10], eax
call fcn.005c39a7
xor ecx, ecx
mov dword [0x65f9ec], 0x1154
mov edx, eax
mov dword [0x65f9e8], 0x39b
mov esi, dword [eax + 0x3c]
mov dword [0x65f9ec], 0x1475
mov esi, dword [eax + esi + 0x78]
mov dword [0x65f9e8], 0x1dca
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x65f9ec], 0x2b5d
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
jne 0x5c29e6
mov eax, dword [ebp - 0x28]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, byte [ebp - 0x29]
test al, 1
jne 0x5c2a9e
jmp 0x5c2a71
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + ecx*4]
mov dword [0x65f9e8], 0x2382
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, dword [ebp - 0x40]
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 - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x29], cl
je 0x5c29d6
mov al, byte [ebp - 0x49]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x48]
add edx, 1
mov ah, byte [ebp - 0x29]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x44], edx
jne 0x5c2a1a
jmp 0x5c29d6
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x3c]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], ecx
jb 0x5c29f6
jmp 0x5c29cb
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x65f9e8], 0x25ff
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x65f9ec], 0x26e3
mov dword [ebp - 0x28], edx
jmp 0x5c29cb
Function at 0x5c2ad2
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 esi, dword [0x65f9e8]
add esi, 0xffffea50
mov dword [0x65f9e8], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x648d6e]
mov dh, byte [eax + 0x648d3f]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x5c2afc
lea eax, [ebp - 0x24]
mov dword [0x65f9e8], 0x108b
mov dword [0x65f9ec], 0x1b8
mov dword [ebp - 0x34], eax
call fcn.005c34f3
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.005c2686
mov ecx, dword [0x65f9ec]
add ecx, 0xfffff6fd
mov dword [0x65f9e8], ecx
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x5c2c2e
mov dword [0x65f9e8], 0x7c3
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 [0x65f9ec]
add ecx, 0x26c0
mov dword [0x65f9ec], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.005c2d8a
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [0x65f9ec], 0x18b5
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0xc], ecx
mov dword [0x65f9e8], 0x24db
add ecx, 0x115f
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x5c2c25
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 0x5c2c36
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 [0x65f9e8], 0xd69
mov dword [0x65f9f4], 0
mov byte [0x65f9f8], 0
mov dword [0x65f9f0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x5c2d41
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 [0x65f9fc], 0
mov dword [0x65f9e8], 0x1709
mov edi, dword [0x65f9f4]
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 [0x65f9fc], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x65f9f4], edx
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x65f9f8], cl
mov dword [0x65f9e8], 0x2eea
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x65f9e8], 0xe5e
mov cl, byte [0x65f9f8]
mov esi, dword [0x65f9f4]
mov byte [ebx + esi], cl
mov esi, dword [0x65f9f0]
add esi, 1
mov dword [0x65f9f0], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x5c2c80
jmp 0x5c2d73
xor eax, eax
mov dword [0x65f9f0], 0
mov dword [ebp - 0x20], eax
jmp 0x5c2c80
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x65f9ec], 0x1fa8
mov eax, dword [0x65f9f0]
add eax, 1
mov dword [0x65f9f0], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x5c2d41
jmp 0x5c2d2d
mov eax, dword [0x65f9ec]
add eax, 0xffffe972
mov dword [0x65f9e8], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret