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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10020322
pop dword [ebp - 0x10]
mov eax, 0xa5729f33
sub eax, 0x95709c11
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x56a66091
add dword [ebp - 0x20], 0xf7abe4ba
mov dword [ebp - 0x1c], 0x6919852d
add dword [ebp - 0x1c], 0xc919c718
mov dword [ebp - 0x18], 0x31ce7d2b
add dword [ebp - 0x18], 0x1a7dc703
mov dword [ebp - 0x14], 0x627acae8
sub dword [ebp - 0x14], 0x627acae8
lea eax, [ebp - 0x20]
push eax
mov eax, 0x5d7fb586
sub eax, 0x4d7d9542
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x802d171
sub dword [ebp - 0x20], 0x9390681b
mov dword [ebp - 0x1c], 0x7eb9cfec
sub dword [ebp - 0x1c], 0x3d4d6e77
mov dword [ebp - 0x18], 0x5b6b561e
sub dword [ebp - 0x18], 0xf7fbe9b2
mov dword [ebp - 0x14], 0x887c1809
add dword [ebp - 0x14], 0x7783e7f7
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x81275120
sub eax, 0x712530e0
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x381cc
push 0
call eax
mov ecx, 0xf0fca10a
sub ecx, 0xf0fc5943
mov esi, eax
mov edx, 0x6e3bded4
add edx, 0xa1c73d2c
add edx, dword [ebp - 0x10]
mov edi, 0x3b3b53b9
mov dword [ebp - 0xc], 0x8badfdbf
mov ebx, dword [edx]
sub dword [ebp - 8], ebx
xor ebx, edi
mov dword [esi], ebx
mov dword [ebp - 0xc], 0x630ae012
add esi, 4
add edx, 0xf61e74f4
sub edx, 0xf61e74f0
loop 0x1002043e
add eax, 0x268e543e
add eax, 0xd972bdb1
mov ebx, eax
add eax, 0x8e855916
sub eax, 0x8e855911
mov ecx, 0x61f37c2a
sub ecx, 0x51f37c2a
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x404430
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f4130
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x908074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.004043f0
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov word [esi + 0xc], 0
push dword [ecx]
lea ecx, [esi + 0x10]
call fcn.00405bd0
mov dword [esi + 0x28], 0
mov eax, esi
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x408000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x908074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x4080a3
cmp byte [esi + 0x3d], 0
je 0x4080a3
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x408059
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x40806b
sub eax, 1
je 0x40806f
sub eax, 2
je 0x4080a3
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00479846
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40808c
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.006c0a2e
add esp, 0x10
cmp edi, eax
jne 0x408059
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00479846
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00479846
mov esp, ebp
pop ebp
ret
Function at 0x408200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x908074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x4c], 0
jne 0x408221
xor edi, edi
jmp 0x4082ab
cmp dword [esi + 0x38], 0
je 0x408290
cmp byte [esi + 0x3d], 0
je 0x408290
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x408262
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x408266
sub eax, 1
je 0x40826a
sub eax, 2
je 0x408290
xor al, al
jmp 0x408292
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x408287
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.006c0a2e
add esp, 0x10
cmp edi, eax
jne 0x408262
cmp byte [esi + 0x3d], 0
sete al
jmp 0x408292
mov al, 1
push dword [esi + 0x4c]
xor edi, edi
test al, al
cmovne edi, esi
call fcn.006c0776
xor ecx, ecx
add esp, 4
test eax, eax
cmovne edi, ecx
lea eax, [esi + 4]
mov byte [esi + 0x48], 0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x3d], 0
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [esi + 0x1c]
pop edi
mov dword [ecx], 0
mov ecx, dword [esi + 0x2c]
mov dword [ecx], 0
mov dword [esi + 0x4c], 0
mov ecx, dword [0x1803d30]
mov dword [esi + 0x40], ecx
mov ecx, dword [0x1803d34]
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x38], 0
xor ecx, ebp
pop esi
call fcn.00479846
mov esp, ebp
pop ebp
ret
Function at 0x408eb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, ecx
push ebx
mov dword [ebp - 0x10], eax
push esi
mov eax, dword [eax]
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
add eax, 8
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
lea esi, [eax + 1]
push esi
call fcn.00479abd
push esi
mov esi, eax
mov dword [ebp + 8], eax
push 0
push esi
call fcn.006b7220
mov eax, dword [edi + 0x10]
add esp, 0x10
cmp dword [edi + 0x14], 0x10
jb 0x408efc
mov edi, dword [edi]
push eax
push edi
push esi
call fcn.006b6ca0
xor edi, edi
add esp, 0xc
cmp dword [ebp - 0xc], edi
jle 0x408f58
nop
mov eax, dword [ebp - 4]
inc bl
mov esi, dword [ebp - 4]
movzx ebx, bl
mov ecx, dword [eax + ebx*4]
mov eax, dword [ebp - 8]
add eax, ecx
movzx edx, al
mov eax, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [eax + edx*4]
mov dword [esi + ebx*4], eax
mov dword [esi + edx*4], ecx
add cl, al
movzx eax, cl
mov ecx, esi
mov esi, dword [ebp + 8]
movzx eax, byte [ecx + eax*4]
xor byte [edi + esi], al
mov al, byte [edi + esi]
mov ecx, dword [ebp + 0xc]
push eax
call fcn.004053b0
inc edi
cmp edi, dword [ebp - 0xc]
jl 0x408f10
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
push esi
mov eax, dword [ecx]
mov dword [eax], ebx
mov eax, dword [ecx]
mov dword [eax + 4], edx
call fcn.00479ab8
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x410a20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f4c88
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x908074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], edx
push 0
call fcn.006c4ab0
push eax
call fcn.006c4a1f
add esp, 8
mov dword [ebp - 0x50], 0x33323130
mov dword [ebp - 0x4c], 0x37363534
mov dword [ebp - 0x48], 0x42413938
mov dword [ebp - 0x44], 0x46454443
mov dword [ebp - 0x40], 0x4a494847
mov dword [ebp - 0x3c], 0x4e4d4c4b
mov dword [ebp - 0x38], 0x5251504f
mov dword [ebp - 0x34], 0x56555453
mov dword [ebp - 0x30], 0x5a595857
mov dword [ebp - 0x2c], 0x64636261
mov dword [ebp - 0x28], 0x68676665
mov dword [ebp - 0x24], 0x6c6b6a69
mov dword [ebp - 0x20], 0x706f6e6d
mov dword [ebp - 0x1c], 0x74737271
mov dword [ebp - 0x18], 0x78777675
mov word [ebp - 0x14], 0x7a79
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov esi, 0x10
mov dword [ebp - 4], 0
lea edi, [esi + 0x2e]
call fcn.006c49fe
cdq
lea ecx, [ebp - 0x68]
idiv edi
movzx eax, byte [ebp + edx - 0x50]
push eax
call fcn.004053b0
sub esi, 1
jne 0x410af0
cmp dword [ebp - 0x54], 0x10
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x58]
lea edi, [ebp - 0x68]
cmovae edx, dword [ebp - 0x68]
add eax, edx
mov dword [ebp - 0x70], esi
cmp dword [ebp - 0x54], 0x10
mov dword [ebp - 0x88], eax
cmovae edi, dword [ebp - 0x68]
xor ecx, ecx
sub eax, edi
mov word [ebp - 0x80], cx
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 7
call fcn.00407d50
push dword [ebp - 0x84]
lea ecx, [ebp - 0x80]
push dword [ebp - 0x88]
push edi
call fcn.004079c0
mov esi, dword [ebp - 0x84]
lea eax, [ebp - 0x80]
cmp esi, eax
je 0x410b83
mov ecx, esi
call fcn.00406ca0
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x70]
movq qword [esi + 0x10], xmm0
jmp 0x410bb9
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x410bb9
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410baf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410c04
push edx
push ecx
call fcn.00479a82
add esp, 8
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x410be9
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410bdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410c09
push edx
push ecx
call fcn.00479a82
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00479846
mov esp, ebp
pop ebp
ret
call fcn.006ba549
call fcn.006ba549
int3
Function at 0x418c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f5386
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x908074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea edx, [ebp - 0xb8]
mov dword [ebp - 0x144], eax
push edx
mov ecx, dword [eax + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 4], 0
xor esi, esi
movups xmm0, xmmword [0x8cd4a8]
mov cx, word [0x8cd4b8]
mov word [ebp - 0x24], cx
movups xmmword [ebp - 0x34], xmm0
mov eax, 0x92492493
mov ecx, 1
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [esi + eax*8]
xor word [ebp + esi*2 - 0x34], ax
inc esi
cmp esi, 9
jl 0x418d01
mov ecx, dword [ebp - 0x148]
lea eax, [ebp - 0x34]
push eax
call fcn.005b659a
lea ecx, [ebp - 0xb8]
mov byte [ebp - 0x13d], al
mov dword [ebp - 4], 0xffffffff
call fcn.005b64d4
cmp byte [ebp - 0x13d], 0
je 0x418def
lea ecx, [edi + 0x7f0]
call fcn.0044e860
test eax, eax
je 0x418eb4
mov eax, dword [0x1803d70]
cmp dword [eax + 0x5ec], 4
jne 0x418d99
push 1
lea ecx, [edi + 0x7f0]
call fcn.0044ec40
mov eax, dword [0x1803d70]
mov ecx, dword [eax + 0x84c]
cmp ecx, 1
jne 0x418db5
push 0x2bc
mov ecx, edi
call fcn.005bc860
jmp 0x418eb4
cmp ecx, 2
mov ecx, edi
jne 0x418dcb
push 0x320
call fcn.005bc860
jmp 0x418eb4
cmp dword [eax + 0x5ec], 4
jne 0x418de0
push 0x64
call fcn.005bc860
jmp 0x418eb4
push 0x384
call fcn.005bc860
jmp 0x418eb4
mov ecx, dword [ebp - 0x144]
lea edx, [ebp - 0x13c]
push edx
mov ecx, dword [ecx + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], 1
xor esi, esi
mov ecx, dword [0x8cd4a0]
movq xmm0, qword [0x8cd498]
mov dword [ebp - 0x18], ecx
mov cx, word [0x8cd4a4]
movq qword [ebp - 0x20], xmm0
mov word [ebp - 0x14], cx
nop dword [eax]
mov eax, 0x92492493
mov ecx, 1
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [esi + eax*8]
xor word [ebp + esi*2 - 0x20], ax
inc esi
cmp esi, 7
jl 0x418e40
mov ecx, dword [ebp - 0x144]
lea eax, [ebp - 0x20]
push eax
call fcn.005b659a
lea ecx, [ebp - 0x13c]
mov byte [ebp - 0x13d], al
mov dword [ebp - 4], 0xffffffff
call fcn.005b64d4
cmp byte [ebp - 0x13d], 0
je 0x418eb4
push 0
push 0xf020
push 0x112
mov ecx, edi
call fcn.005bcb40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00479846
mov esp, ebp
pop ebp
ret 4
Function at 0x41d9e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x908074]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [0x8cdd24]
mov eax, dword [0x8cdd3c]
xor ecx, ecx
cmp dword [0x17f9f7c], 2
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0xc], eax
movq xmm0, qword [0x8cdd34]
mov ax, word [0x8cdd40]
movq qword [ebp - 0x14], xmm0
mov word [ebp - 8], ax
jl 0x41db23
movaps xmm2, xmmword [0x8d1650]
mov eax, 5
movaps xmm4, xmmword [0x8d1710]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm5
mov eax, 0x1f
movaps xmm0, xmm1
movd xmm6, eax
mov eax, 0x8cdd24
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d1680]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d1660]
paddd xmm2, xmmword [0x8d1650]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
paddw xmm1, xmmword [0x8d16b0]
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x24], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d1680]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [ebp - 0x1c]
paddw xmm1, xmmword [0x8d16b0]
pxor xmm1, xmm0
movq qword [ebp - 0x1c], xmm1
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 1
sub edx, eax
lea eax, [edx*8]
sub eax, edx
lea eax, [ecx + eax*8]
xor word [ebp + ecx*2 - 0x24], ax
inc ecx
cmp ecx, 0xf
jl 0x41db23
cmp dword [0x1803eac], 8
lea eax, [ebp - 0x24]
mov edx, 0x1803e98
mov ecx, 0x80000001
cmovae edx, dword [0x1803e98]
push 0x17f09a0
push eax
call fcn.00410930
mov ecx, dword [ebp - 4]
xor eax, eax
add esp, 8
cmp dword [0x17f09b0], eax
setne al
xor ecx, ebp
call fcn.00479846
mov esp, ebp
pop ebp
ret
Function at 0x4211e0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.00417300
push 0
push 0
push esi
push 0x41ec30
push 0
push 0
call fcn.006c5add
add esp, 0x18
pop esi
ret
Function at 0x42b270
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x908074]
xor eax, ebp
mov dword [ebp - 4], eax
cmp word [0x8cfc1e], 0
movups xmm0, xmmword [0x8cfc0c]
mov eax, dword [0x8cfc1c]
push edi
mov edi, dword [ecx + 0x858]
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 8], eax
je 0x42b2e2
push esi
xor esi, esi
nop word [eax + eax]
mov eax, 0x92492493
mov ecx, 1
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ecx, eax
lea eax, [ecx*8]
sub eax, ecx
lea eax, [esi + eax*8]
xor word [ebp + esi*2 - 0x18], ax
inc esi
cmp esi, 0xa
jl 0x42b2b0
pop esi
cmp dword [0x1803ec4], 8
lea edx, [ebp - 0x1c]
push 4
push edx
push 4
lea edx, [ebp - 0x18]
mov dword [ebp - 0x1c], edi
mov ecx, 0x1803eb0
cmovae ecx, dword [0x1803eb0]
push edx
push ecx
push 0x80000001
call dword [0x80f6b0]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop edi
call fcn.00479846
mov esp, ebp
pop ebp
ret
Function at 0x43ea30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x908074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x8ced60]
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov ax, word [0x8ced64]
mov word [ebp - 8], ax
mov al, byte [0x8ced66]
mov byte [ebp - 6], al
nop dword [eax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, 1
sub dl, al
mov al, dl
shl al, 3
sub al, dl
shl al, 3
add al, cl
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 7
jl 0x43ea60
push 0xf
lea eax, [ebp - 0xc]
push eax
call fcn.004412a0
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.00479846
mov esp, ebp
pop ebp
ret
Function at 0x5510de
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x908768], 0
push esi
je 0x551130
cmp dword [0x908ac0], 0xfffffffe
jne 0x55111d
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x551130
push edi
mov edi, 0x17fd6ec
push edi
call dword [0x80f2d4]
cmp dword [0x17fd704], 0
jne 0x551133
push 0
push 0
push 0x551139
call fcn.006c5a51
add esp, 0xc
mov dword [0x17fd704], eax
test eax, eax
je 0x55110c
cmp eax, 0xffffffff
je 0x55110c
push 0xffffffffffffffff
push eax
call dword [0x80f488]
mov dword [0x908ac0], esi
jmp 0x551113
and dword [0x17fd704], 0
push edi
call dword [0x80f2d8]
pop edi
jmp 0x551130
mov eax, dword [ebp + 8]
mov dword [0x908ac0], eax
inc eax
neg eax
sbb eax, eax
and dword [0x17fd704], eax
pop esi
pop ebp
ret
call fcn.00484852
int3

Function at 0x5bf1b6
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movsx eax, byte [ebp + 0xc]
mov ecx, dword [edx]
xor eax, ecx
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x841488]
xor eax, ecx
mov ecx, dword [edx + 8]
mov dword [edx], eax
movzx eax, al
add eax, dword [edx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x841488]
mov dword [edx + 8], ecx
pop ebp
ret

Function at 0x5c166f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x5c167d
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x5c173c
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x841488]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x841488]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x841488]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x841488]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x841488]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x841488]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x841488]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x841488]
sub edi, 1
jne 0x5c1695
pop edi
test esi, esi
je 0x5c1758
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x841488]
inc edx
sub esi, 1
jne 0x5c1740
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x5d220b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x5d2239
cmp eax, edi
jge 0x5d222d
push esi
call fcn.005cd87d
mov eax, dword [esi + 8]
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x5d225c
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x5d2242
mov dword [esi + 8], edx
jmp 0x5d2271
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x5d2267
xor dl, dl
jmp 0x5d226c
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x5d225c
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x5d22a9
push str.zlib_corrupt
call fcn.005cd7a2
pop ecx
jmp 0x5d22e9
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x5d22b9
push str.read_past_buffer
jmp 0x5d22a1
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x5d22d3
push edi
push ecx
push esi
call fcn.005d54dc
add esp, 0xc
test eax, eax
je 0x5d22e9
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.006b6ca0
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x603b74
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp byte [0x17fdc2f], 0
jne 0x603c23
push esi
push 0x84a750
call fcn.0060e086
mov dword [esp], 0x84a5cc
call fcn.0060e086
mov dword [esp], 0x84a848
call fcn.0060e086
mov dword [esp], 0x84a86c
call fcn.0060e086
mov dword [esp], 0x84a774
call fcn.0060e086
mov esi, 0x84a630
push esi
call fcn.0061821a
push esi
call fcn.0061821a
push 0x84a650
call fcn.0061821a
push 0x84a670
call fcn.0061821a
push 0x84a798
call fcn.0061821a
push 0x84a5f0
call fcn.0061821a
push 0x84a610
call fcn.0061821a
push 0x84a7f0
call fcn.0061821a
push 0x84a810
call fcn.0061821a
add esp, 0x28
mov byte [0x17fdc2f], 1
pop esi
jmp 0x62056a
ret
xor edx, edx
push esi
push 8
mov ecx, edx
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jne 0x620572
mov dword [edx*4 + 0x1804180], ecx
inc edx
cmp edx, 0x100
jb 0x62056d
mov esi, 0x800
jmp 0x6205ba
mov ecx, dword [edx*4 + 0x1803d80]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x1804180]
mov dword [edx*4 + 0x1804180], ecx
inc edx
cmp edx, esi
jb 0x62059e
mov eax, 0x7f3fd0
mov esi, 0x7f3ef0
mov dword [0x1804160], eax
mov dword [0x1804158], eax
mov dword [0x180415c], esi
call fcn.00637f75
mov ecx, dword [0x1804158]
test eax, eax
cmove ecx, esi
mov dword [0x1804158], ecx
pop esi
ret
Function at 0x613ea3
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7fa8f0
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x908074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x30]
mov dword [esi], 0x84bcc0
push 0x90908c
push eax
mov dword [esi + 4], 0x84bcd8
mov dword [esi + 8], 0x84bcec
mov dword [esi + 0xc], 0x84bd00
mov dword [esi + 0x10], 0x84bd18
mov dword [esi + 0x14], 0x84bd30
mov dword [esi + 0x18], 0x84bd44
call fcn.0063145e
push dword [esi + 0x24]
call fcn.00479a90
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x613f22
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret