joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401370
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7ec
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x79c], 4
mov dword [ebp - 0x784], 0x80000000
mov dword [ebp - 0x798], 0x20019
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x72c], eax
pushal
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x12d
mov dword [ebp - 0x28], 0x16
mov dword [ebp - 0x7ec], str.222TWARE11asses
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x790], 0x12c
mov dword [ebp - 0x28], 0x15
mov ecx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [0x4360c8], ecx
mov edx, dword [ebp - 0x7ec]
mov byte [edx], 0x53
mov eax, dword [ebp - 0x7ec]
mov byte [eax + 1], 0x4f
mov ecx, dword [ebp - 0x7ec]
mov byte [ecx + 2], 0x46
mov edx, dword [ebp - 0x7ec]
mov byte [edx + 9], 0x43
mov eax, dword [ebp - 0x7ec]
mov byte [eax + 0xa], 0x6c
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x7ec]
push edx
push 0x80000002
call dword [0x4360c8]
or eax, eax
je 0x401461
xor eax, eax
jmp 0x401706
lea eax, [ebp - 0x34]
push eax
push str.clsid09474572_b2fb_11d1_a1a1_0000f875b132inprocserver32
push 0x80000000
call dword [0x4360c8]
or eax, eax
je 0x401480
xor eax, eax
jmp 0x401706
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
or eax, eax
jne 0x401498
xor eax, eax
jmp 0x401706
push 1
mov ecx, dword [0x4360c4]
push ecx
call fcn.004018a0
add esp, 8
mov dword [0x4360d4], eax
mov edx, dword [0x4360d4]
push edx
call fcn.00401860
add esp, 4
mov dword [ebp - 0x794], eax
mov eax, dword [0x4360d4]
mov dword [ebp - 0x734], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x4360d4]
jae 0x401547
mov edx, dword [ebp - 0x734]
push edx
mov eax, dword [ebp - 0x790]
push eax
call fcn.004017f0
add esp, 8
mov dword [ebp - 0x788], eax
mov ecx, dword [ebp - 0x788]
push ecx
mov edx, dword [0x4360c4]
add edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x794]
add eax, dword [ebp - 4]
push eax
call fcn.004010b0
add esp, 0xc
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x790]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x790]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x734]
sub eax, dword [ebp - 0x788]
mov dword [ebp - 0x734], eax
jmp 0x4014ce
mov ecx, dword [0x4360d4]
push ecx
mov edx, dword [ebp - 0x794]
push edx
call fcn.00401330
add esp, 8
mov eax, dword [ebp + 8]
mov dword [0x4360b8], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
push 2
mov ecx, dword [0x4360c4]
push ecx
jmp section..htext
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401a70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x114], str._ffffffffffffffff
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x11c], eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [ebp - 0x11c]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x401aea
cmp dword [ebp - 0x118], 0
je 0x401aea
jmp 0x401b4c
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x401b4c
mov dword [ebp - 0x120], 0x3c41
mov eax, dword [ebp + 8]
add eax, 8
mov dword [0x4360b4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [0x4360d0], edx
mov dword [ebp - 0x120], 0x3c41
mov dword [ebp - 0x120], 0x3c41
call fcn.004011c0
mov eax, dword [ebp + 8]
mov dword [0x4360cc], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
call fcn.00401980
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x401aea
mov esp, ebp
pop ebp
ret
Function at 0x10001be8
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.10001794
mov eax, dword [ebp - 8]
call fcn.10001794
xor eax, eax
push ebp
push 0x10001da3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.100014d8
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 4]
call fcn.10001630
test eax, eax
jbe 0x10001cd9
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 8]
call fcn.10001630
cmp eax, dword [ebp - 0x20]
jne 0x10001c5a
mov dword [ebp - 0x20], 1
jmp 0x10001c5d
inc dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx - 1]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
movzx eax, byte [eax + edx - 1]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x20]
add eax, 5
push eax
mov eax, pe_nt_image_headers32
pop edx
mov ecx, edx
cdq
idiv ecx
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x10]
xor edx, eax
mov dword [ebp - 0x10], edx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x100
jne 0x10001c80
lea eax, [ebp - 0x28]
mov dl, byte [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
shr ecx, 3
shl ecx, 4
xor dl, cl
call fcn.100015cc
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.10001638
mov eax, dword [ebp - 0xc]
inc dword [ebp - 0x18]
dec dword [ebp - 0x24]
jne 0x10001c44
pushal
je 0x10001ce1
jne 0x10001ce1
jmp 0x10001ce3
jb 0x10001ce3
call fcn.10001ce9
test al, 0x83
add esp, 4
rdtsc
mov ebx, eax
jmp 0x10001cf5
jmp 0x10001cf5
invalid

Function at 0x10002510
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
xor edx, edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x10002a26
push dword fs:[eax]
mov dword fs:[eax], esp
nop
nop
nop
nop
nop
nop
nop
nop
pushf
call fcn.10002552
jb 0x1000254b
Function at 0x10002b04
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
xor ecx, ecx
mov dword [ebp - 0x198], ecx
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.10001794
xor eax, eax
push ebp
push 0x10002d83
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
nop
nop
nop
nop
nop
nop
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x70]
mov ecx, 0x40
call fcn.10001ba0
cmp word [ebp - 0x70], 0x5a4d
jne 0x10002d55
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x34]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, eax
lea eax, [ebp - 0x168]
mov ecx, 0xf8
call fcn.10001ba0
cmp dword [ebp - 0x168], 0x4550
jne 0x10002d55
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0xf0]
lea eax, [ebp - 0x190]
mov ecx, 0x28
call fcn.10001ba0
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xf0]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0xec]
mov dword [ebp - 0x28], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x178]
dec eax
test eax, eax
jb 0x10002d55
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0

Function at 0x100040a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x10004100
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
mov edx, 0x10004118
mov eax, 0x10004130
call fcn.10001be8
push 0
push dword [ebp - 4]
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
or al, al
jne 0x100040e3
xor eax, eax
leave
ret
mov eax, 1
leave
ret

Function at 0x1001d000
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x52144470], dl
nop
nop
mov ebx, 0x3aadeb
Function at 0x10007438
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x1028ae50], 0x1e02
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10008750
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x84], ecx
mov dword [0x1028ae50], 0x3f2
mov dword [esp + 0x38], 0x117c00
mov ecx, dword [0x1028ae3c]
mov dword [esp + 0x50], ecx
mov ecx, dword [0x1028ae40]
mov dword [esp + 0x5c], ecx
mov ecx, dword [0x1028ae44]
mov dword [esp + 0x70], ecx
mov ecx, dword [0x1028ae48]
mov dword [esp + 0x74], ecx
mov ecx, dword [0x1028ae4c]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x18], eax
lea eax, [0x1000758d]
mov dword [0x1028ae54], 0xffffe050
mov dword [esp + 0x14], eax
jmp 0x10007508
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0xc], eax
mov dword [0x1028ae50], 0x18db
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
jmp 0x10007508
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x10007519
jmp 0x100074cc
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x100074f2
jmp 0x100074cc
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
mov dword [0x1028ae54], 0x983
mov dword [0x1028ae50], 0x297
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.100085d3
mov dword [0x1028ae54], 0x8f1
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x1028ae54]
add ecx, 0xffffde88
mov dword [0x1028ae50], ecx
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10007c56
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 + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1028ae5c], 0
mov byte [0x1028ae60], 0
mov edi, dword [0x1028ae54]
add edi, 0xfffff865
mov dword [0x1028ae54], edi
mov dword [0x1028ae58], 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 [0x1028ae54], 0xca1
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1028ae58]
add eax, 1
mov dword [0x1028ae58], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10007ca3
xor eax, eax
mov ecx, dword [0x1028ae54]
mov edx, ecx
add edx, 0x155b
mov dword [0x1028ae50], edx
mov dword [0x1028ae58], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
add eax, 0xfffffb22
mov dword [0x1028ae54], eax
mov eax, dword [0x1028ae5c]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + ecx]
add edi, eax
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 0x28], edx
mov edx, ebx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
mov edi, dword [ebp - 0x28]
idiv edi
mov dword [0x1028ae5c], edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x1028ae60], bl
mov dword [0x1028ae54], 0xc06
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x1028ae60]
mov ecx, dword [0x1028ae5c]
mov byte [esi + ecx], bl
mov ecx, dword [0x1028ae50]
add ecx, 0x2167
mov dword [0x1028ae50], ecx
mov ecx, dword [0x1028ae58]
add ecx, 1
mov dword [0x1028ae58], ecx
mov edx, dword [0x1028ae54]
cmp ecx, 0x100
mov esi, edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], ecx
jl 0x10007cf9
mov eax, dword [ebp - 0x2c]
add eax, 0x459
mov dword [0x1028ae54], eax
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007dcf
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 dword [0x1028ae54], 0x1e81
mov dword [0x1028ae58], 0
mov dword [0x1028ae5c], 0
mov dword [0x1028ae64], 0
mov dword [0x1028ae50], 0x26dd
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 0x10007f46
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1028ae58], edx
mov dword [0x1028ae50], 0x4eb
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1028ae5c], edx
mov dword [0x1028ae54], 0xa9a
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x1028ae60], cl
mov dword [0x1028ae50], 0xffffe7ca
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x1028ae54]
add edx, 0xffffe4a8
mov dword [0x1028ae50], edx
mov cl, byte [0x1028ae60]
mov edx, dword [0x1028ae5c]
mov byte [edi + edx], cl
mov dword [0x1028ae54], 0x1f7a
mov edx, dword [0x1028ae58]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1028ae5c]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1028ae64], ebx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
mov dword [0x1028ae50], 0x1826
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x10007f46
mov eax, dword [0x1028ae58]
mov ecx, dword [0x1028ae5c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x10007e3c
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000809f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov dword [0x1028ae50], 0x12db
mov dword [ebp - 0x10], eax
call fcn.10007f4e
xor ecx, ecx
mov edx, eax
mov dword [0x1028ae54], 0x983
mov esi, dword [eax + 0x3c]
mov dword [0x1028ae50], 0x297
mov esi, dword [eax + esi + 0x78]
mov dword [0x1028ae54], 0x1bf3
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1028ae50], 0xfffffbb5
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x1000821c
jmp 0x1000816b
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov edi, dword [edx + esi + 0x1c]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
add eax, ecx
mov dword [0x1028ae50], 0xd83
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x2c]
add edx, dword [eax + esi*4]
mov dword [ebp - 0x24], edx
jmp 0x1000821c
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edx
jmp 0x1000817f
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jmp 0x1000814f
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 - 0x4a], cl
je 0x100081dc
mov eax, dword [ebp - 0x48]
add eax, 1
mov cl, byte [ebp - 0x49]
cmp cl, 0
setne dl
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], dl
mov eax, dword [ebp - 0x50]
cmp eax, 0x20
setb cl
mov dl, byte [ebp - 0x4a]
mov ch, byte [ebp - 0x51]
and dl, ch
and dl, cl
test dl, 1
mov dword [ebp - 0x44], eax
jne 0x1000817f
mov al, byte [ebp - 0x4a]
test al, 1
jne 0x10008116
jmp 0x100081e9
mov eax, dword [ebp - 0x28]
add eax, 2
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
xor eax, eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x18]
cmp ecx, edx
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], eax
jb 0x1000814f
mov eax, dword [ebp - 0x24]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100085d3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1028ae54], 0x1a92
mov dword [0x1028ae50], 0x2534
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
jmp 0x100086b8
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 [0x1028ae50], 0x1b3e
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10007935
mov eax, dword [ebp - 0x3c]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
mov dword [0x1028ae50], 0x105c
add eax, 0xd0
mov dword [ebp - 0x40], eax
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov dword [ecx], 0x4550
mov edx, dword [ebp - 0x3c]
add edx, 0xffc00000
mov esi, dword [ebp - 0x30]
mov dword [esi + 0x50], edx
mov edx, dword [ebp - 0x3c]
mov dword [esi + 0x18], edx
mov dword [0x1028ae54], 0x1a71
add edx, 0x165e
mov edi, dword [ebp - 0x3c]
cmp edi, 0
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], eax
je 0x100086ae
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x54
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 0x10277790]
mov dl, byte [eax + 0x10277761]
sub dl, cl
mov byte [ebp + eax - 0x28], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x34], eax
jne 0x100086b8
lea eax, [ebp - 0x28]
mov dword [0x1028ae50], 0x18b3
mov dword [ebp - 0x4c], eax
call fcn.10008354
mov dword [esp], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
call fcn.10008453
mov ecx, dword [0x1028ae54]
add ecx, 0x65b
mov dword [0x1028ae54], ecx
cmp eax, 0
mov dword [ebp - 0x38], eax
jne 0x10008605
xor eax, eax
add esp, 0x54
pop esi
pop edi
pop ebp
ret
Function at 0x10008750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x1028ae54], 0xa16
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x10008795
xor eax, eax
mov dword [0x1028ae50], 0xccc
mov dword [ebp - 0x13c], eax
jmp 0x100087f0
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x5c
mov edi, edx
add edi, esi
add edi, 0x38
mov esi, dword [edi]
imul edi, eax, 0x5c
add edx, edi
add edx, 4
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x349
mov ecx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
je 0x10008781
jmp 0x10008795
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax + 0x10277790]
mov dl, byte [eax + 0x10277761]
sub dl, cl
mov byte [ebp + eax - 0x2c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x13c], eax
jne 0x100087f0
lea eax, [ebp - 0x2c]
mov dword [0x1028ae54], 0xde3
mov dword [0x1028ae50], 0x18b3
mov dword [ebp - 0x144], eax
call fcn.10008354
mov dword [esp], eax
mov eax, dword [ebp - 0x144]
mov dword [esp + 4], eax
call fcn.10008453
mov ecx, eax
mov dword [0x1028ae68], eax
mov eax, esp
mov edx, dword [ebp - 0x140]
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 - 0x148], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], ecx
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
lea edx, section..data
imul esi, ecx, 0x5c
mov edi, edx
add edi, esi
mov esi, dword [ebp - 0x148]
add esi, eax
imul ebx, ecx, 0x5c
mov dword [ebp - 0x154], eax
mov eax, edx
add eax, ebx
add eax, 0x38
mov ebx, ecx
add ebx, 1
imul ecx, ecx, 0x5c
add edx, ecx
add edx, 4
mov eax, dword [eax]
mov ecx, dword [edi]
movzx edx, word [edx]
xor edx, eax
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x15c], ebx
call fcn.10007b78
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x154]
add eax, ecx
mov edx, dword [ebp - 0x15c]
cmp edx, 0x349
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x150], eax
jne 0x10008891
lea eax, [0x1027776f]
mov ecx, 0x20
lea edx, [ebp - 0x12c]
mov dword [0x1028ae50], 0x10db
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.10007c56
mov dword [0x1028ae50], 0x2503
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x148]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x140]
mov dword [esp + 0xc], edx
call fcn.10007dcf
xor eax, eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x136090
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x117c00
mov ecx, dword [ebp - 0x148]
add ecx, 0x10f01c
mov dword [edx + 8], ecx
mov dword [0x1028ae50], 0x14b
mov dword [edx + 0xc], 0x2030
mov dword [0x1028ae54], 0x112e
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x74f92a
Capabilities:
Encode data using base64
Encrypt data using chaskey

Disassembly:
adc edi, 5
mov dword [esp], 0x598b6c29
call fcn.00c0ebc7
mov edx, 0x841f6727
xor dl, dl
mov eax, dword [ebp]
movsx ecx, dx
jp 0x7c426f
xor eax, 0x230b43b8
and dl, 0x25
sbb dx, dx
bswap ecx
lea eax, [eax + ecx*2 - 0x7db2e320]
lea edx, [ecx + edx*4 - 0x3c5ae5c3]
neg eax
bts ecx, 0x87
lea eax, [eax + ecx*2 - 0xc27b395]
xor ebx, eax
call fcn.007b19c3
mov ecx, 0x531a9693
and ecx, ecx
mov eax, dword [ecx + esi - 0x531a9693]
sbb cl, cl
lea edx, [ecx + ecx*4 - 0x4d6c9ec4]
push edx
lea esi, [esi + ecx - 0x531a95fc]
pop ecx
not dl
xor eax, ebx
rol ecx, 0xa1
ror dx, 0xcb
jb 0x785136
btc ecx, 0x21
lea ebp, [ebp + ecx - 0x66fe]
shr dx, 0x61
xor eax, ebx
not dl
push ecx
ror eax, cl
sub ecx, edx
sbb ecx, edx
dec eax
ror eax, 1
xor dword [esp], 0x3317f515
xadd dl, cl
lea edx, [ecx*4 + 0x16a6488b]
inc eax
xchg edx, ecx
xor ebx, eax
shl byte [esp + 2], 0xa6
inc byte [esp + 2]
and byte [esp + 1], cl
adc esi, eax
sal edx, 0x5a
movzx eax, byte [ebp]
adc ebp, 0
imul dx, cx
pop ecx
xor al, bl
bt edx, edx
xor al, 0xa7
add cl, cl
btr cx, 0x34
dec al
btr edx, ecx
call fcn.007d687b
mov eax, dword [esi + 4]
mov dword [esp + 4], 0x223cd986
mov ecx, dword [esp + 6]
sar word [esp + ecx - 0x40ba2235], 0x61
lea esi, [esi + ecx - 0x40ba2238]
adc cl, 0xa1
call fcn.00b40ecb
jmp 0x7a4501