joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426da0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
mov ecx, dword [ebx + 0x10]
mov edi, 1
lea esi, [ecx + eax*8]
cmp esi, dword [ebx + 0x14]
jae 0x426dfe
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push esi
push ebx
call fcn.0041aa40
add esp, 0xc
test eax, eax
je 0x426e0f
test edi, edi
je 0x426df4
push ebp
push dword [esp + 0x18]
push 1
push eax
call fcn.0047098b
add esp, 0x10
cmp eax, dword [esp + 0x14]
jne 0x426df4
mov edi, 1
jmp 0x426df6
xor edi, edi
add esi, 8
cmp esi, dword [ebx + 0x14]
jb 0x426dc0
push 0
push edi
push ebx
call sym.luajit.exe_luaL_fileresult
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret
sub esi, dword [ebx + 0x10]
sar esi, 3
push 4
inc esi
push esi
push ebx
call fcn.0040a910
int3
Function at 0x42e5e0
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
or ecx, 0xffffffff
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov dword [esp + 0xc], ecx
test esi, esi
jne 0x42e623
mov eax, dword [ebx]
test eax, eax
je 0x42e612
mov edx, dword [esp + 0x24]
bsf ecx, eax
cmp ecx, edx
jb 0x42e61b
mov ecx, edx
shr eax, cl
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret
shr eax, cl
sub edx, ecx
mov dword [ebx], eax
jmp 0x42e627
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], edx
mov eax, 1
push ebp
cmp edx, 0x12
jbe 0x42e6c6
mov eax, dword [esp + 0x2c]
mov ebp, eax
shr ebp, 0x18
and al, 0x30
lea ecx, [ebp - 1]
mov dword [esp + 0x18], ecx
cmp al, 0x20
jne 0x42e66d
mov eax, 0x38e38e39
mov ebp, 0x3f
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebp, eax
mov dword [esp + 0x14], ebp
jmp 0x42e6e0
bsr ecx, dword [ebx + esi*4]
imul eax, esi, 0x1d
sub eax, edx
add eax, ecx
mov ecx, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x495a60]
cvttsd2si eax, xmm0
sub ecx, eax
mov eax, 0x38e38e39
sub ecx, ebp
imul ecx
mov eax, dword [esp + 0x18]
mov ecx, esi
sar edx, 1
mov ebp, edx
add edx, 0x3e
shr ebp, 0x1f
add ebp, edx
cdq
and edx, 7
mov dword [esp + 0x14], ebp
add eax, edx
sar eax, 3
sub ecx, eax
add ecx, 0x3d
mov dword [esp + 0x10], ecx
jmp 0x42e6e0
or ecx, 0xffffffff
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], ecx
cmp edx, 9
jb 0x42e76e
nop
mov ecx, dword [ebx + esi*4]
mov edx, esi
mov eax, ecx
and ecx, 0x1ff
shr eax, 9
imul ebp, ecx, 0x1dcd65
mov dword [ebx + esi*4], eax
cmp esi, edi
je 0x42e721
nop dword [eax]
dec edx
and edx, 0x3f
mov ecx, dword [ebx + edx*4]
mov eax, ecx
shr eax, 9
and ecx, 0x1ff
add eax, ebp
imul ebp, ecx, 0x1dcd65
mov dword [ebx + edx*4], eax
cmp edx, edi
jne 0x42e700
mov eax, dword [esp + 0x10]
cmp edi, dword [esp + 0x14]
je 0x42e742
cmp edi, eax
je 0x42e742
test ebp, ebp
je 0x42e73a
dec edi
and edi, 0x3f
mov dword [ebx + edi*4], ebp
cmp dword [ebx + esi*4], 0
jne 0x42e755
jmp 0x42e74c
cmp dword [ebx + esi*4], 0
jne 0x42e755
cmp esi, edi
je 0x42e7cb
dec esi
and esi, 0x3f
dec eax
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
sub edx, 9
mov dword [esp + 0x24], edx
cmp edx, 9
jae 0x42e6e0
mov eax, 1
test edx, edx
je 0x42e7cb
mov ebp, dword [ebx + esi*4]
mov ecx, edx
shl eax, cl
dec eax
mov dword [esp + 0x14], eax
mov eax, 0x3b9aca00
sar eax, cl
mov dword [esp + 0x10], eax
mov eax, ebp
and ebp, dword [esp + 0x14]
imul ebp, dword [esp + 0x10]
shr eax, cl
mov dword [ebx + esi*4], eax
cmp esi, edi
je 0x42e7c0
mov ecx, dword [esp + 0x24]
dec esi
and esi, 0x3f
mov edx, dword [ebx + esi*4]
mov eax, edx
shr eax, cl
add eax, ebp
mov ebp, edx
and ebp, dword [esp + 0x14]
imul ebp, dword [esp + 0x10]
mov dword [ebx + esi*4], eax
cmp esi, edi
jne 0x42e7a1
test ebp, ebp
je 0x42e7cb
dec edi
and edi, 0x3f
mov dword [ebx + edi*4], ebp
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x430050
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
movzx eax, word [edx]
push esi
movzx esi, word [ebx + 0x18]
push edi
mov edi, dword [ebx + 0x20]
mov ecx, esi
lea eax, [edi + eax*4]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x1c]
lea ebp, [eax + ecx*8]
lea eax, [edx + 8]
mov dword [esp + 0x14], ebp
cmp eax, ebp
jne 0x430089
movzx eax, word [ebx + 0x1a]
jmp 0x43008c
movzx eax, word [eax]
cmp byte [ebx + 0x72], 0
movzx eax, ax
lea eax, [edi + eax*4]
mov dword [esp + 0x24], eax
movzx eax, byte [edx + 6]
mov dword [esp + 0x10], eax
mov al, byte [edx + 4]
mov byte [esp + 0x30], al
movzx eax, al
mov dword [esp + 0x20], eax
jge 0x4300bf
movzx ecx, word [ebx + 0x1a]
lea eax, [esi + 1]
mov word [ebx + 0x18], ax
jmp 0x4300ca
movzx ecx, word [ebp - 8]
sub ebp, 8
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x34]
mov byte [ebx + 0x72], 0
mov word [ebp], cx
mov ax, word [ebx + 8]
mov word [ebp + 2], ax
mov al, byte [esp + 0x30]
mov byte [ebp + 4], al
movzx eax, byte [edx + 5]
mov byte [ebp + 5], al
mov byte [ebp + 7], 0
xor ebp, ebp
mov eax, dword [ebx + 0x20]
movzx ecx, cx
lea edi, [eax + ecx*4]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], eax
cmp dword [esp + 0x10], eax
jbe 0x430174
nop dword [eax]
mov edx, dword [esp + 0x18]
mov ebx, dword [esi + eax*4]
mov esi, ebx
shr esi, 0x18
inc eax
mov edx, dword [edx + ebp*4]
mov edi, edx
shr edi, 0x18
cmp esi, edi
jae 0x43012f
mov dword [esp + 0x30], eax
jmp 0x43015a
cmovne eax, dword [esp + 0x30]
movzx esi, dx
mov dword [esp + 0x30], eax
cmp esi, 0x8000
jb 0x430157
mov eax, dword [esp + 0x38]
and edx, 0xfffb0000
movzx eax, word [eax + esi*2]
or edx, eax
mov eax, dword [esp + 0x30]
inc ebp
mov ebx, edx
lea edx, [ecx + 1]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x34]
mov dword [edi + ecx*4], ebx
mov ecx, edx
cmp ebp, dword [esp + 0x10]
jb 0x430110
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
lea edx, [esi + eax*4]
mov esi, dword [edx]
mov eax, esi
shr eax, 0x18
cmp eax, ebp
jae 0x430198
mov dword [edi + ecx*4], esi
lea edx, [edx + 4]
mov esi, dword [edx]
inc ecx
mov eax, esi
shr eax, 0x18
cmp eax, ebp
jb 0x430186
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov byte [eax + 6], cl
lea eax, [edi + ecx*4]
mov ecx, dword [esp + 0x10]
lea edx, [edx + ecx*4]
cmp edx, ebp
jae 0x4301c3
mov ecx, dword [edx]
add edx, 4
mov dword [eax], ecx
add eax, 4
cmp edx, ebp
jb 0x4301b5
sub eax, dword [ebx + 0x20]
pop edi
pop esi
sar eax, 2
pop ebp
mov word [ebx + 0x1a], ax
pop ebx
add esp, 0x18
ret
Function at 0x430a70
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov ecx, dword [esp + 0x14]
push ebx
push ebp
mov ebp, dword [esp + 0x18]
movzx eax, word [ecx]
movzx ecx, word [ecx + 2]
push esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x18]
push edi
mov ebx, dword [esi + 8]
lea edi, [ebx - 1]
mov dword [esi + 8], edi
movzx ecx, word [ecx + eax*2]
movzx eax, word [ebp + eax*8 + 6]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
cmp edi, dword [esi + 0x110]
jb 0x430abd
mov ecx, esi
call fcn.004457c0
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x10]
mov edx, 0x6300
mov dword [esi + 8], ebx
mov ebx, dword [esp + 0x10]
mov word [eax + edi*8 + 4], dx
mov edx, dword [esp + 0x20]
mov word [eax + edi*8], dx
mov word [eax + edi*8 + 2], cx
movzx eax, word [ebp + ebx*8 + 6]
mov ebp, dword [esi + 8]
mov dword [esp + 0x18], eax
cmp ebp, dword [esi + 0x110]
jb 0x430af9
mov ecx, esi
call fcn.004457c0
lea eax, [ebp + 1]
mov ecx, 0x6300
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + ebp*8 + 4], cx
mov ecx, dword [esp + 0x18]
mov word [eax + ebp*8], di
mov word [eax + ebp*8 + 2], cx
mov eax, dword [esp + 0x1c]
movzx edi, word [eax + ebx*2]
mov ebx, dword [esi + 8]
cmp ebx, dword [esi + 0x110]
jb 0x430b33
mov ecx, esi
call fcn.004457c0
lea eax, [ebx + 1]
mov ecx, 0x6300
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + ebx*8 + 4], cx
mov word [eax + ebx*8], bp
mov word [eax + ebx*8 + 2], di
mov edi, dword [esi + 8]
cmp edi, dword [esi + 0x110]
jb 0x430b61
mov ecx, esi
call fcn.004457c0
lea eax, [edi + 1]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + edi*8], bx
movzx ebx, di
mov ebp, ebx
lea ecx, [eax + edi*8]
mov eax, 0x5e13
mov word [ecx + 4], ax
mov ax, word [esp + 0x28]
mov word [ecx + 2], ax
mov eax, dword [esp + 0x24]
mov word [eax + 6], bx
mov edi, dword [esi + 8]
cmp edi, dword [esi + 0x110]
jb 0x430ba2
mov ecx, esi
call fcn.004457c0
lea ecx, [edi + 1]
mov eax, 0x1013
mov dword [esi + 8], ecx
mov ecx, dword [esi + 0x10]
mov word [ecx + edi*8 + 4], ax
mov eax, edi
mov word [ecx + edi*8], bx
mov word [ecx + edi*8 + 2], bp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x431920
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x64]
and eax, 0x10f0000
cmp eax, 0x10f0000
jne 0x431a3a
cmp word [esi + 0x1e2], 0
jne 0x431964
cmp word [esi + 0x1e4], 0
jne 0x431964
cmp word [esi + 0x1e6], 0
jne 0x431964
cmp word [esi + 0x1e8], 0
je 0x431a3a
cmp dword [esi + 0x118], 0
push ebx
push edi
jne 0x4319a9
movzx ecx, word [esi + 0x18]
mov eax, dword [esi + 0x1c]
movzx edi, byte [eax + ecx*8 - 2]
lea edx, [eax + ecx*8]
movzx ecx, word [edx - 8]
mov eax, dword [esi + 0x20]
lea ebx, [eax + ecx*4]
xor ecx, ecx
test edi, edi
je 0x4319a9
nop
movzx edx, word [ebx + ecx*4]
cmp edx, 0x8000
jb 0x4319a4
mov eax, dword [esi + 0x10]
or byte [eax + edx*8 + 4], 0x20
inc ecx
cmp ecx, edi
jb 0x431990
push esi
call fcn.00431b10
add esp, 4
cmp dword [esi + 0x118], 0
je 0x431a2f
push ebp
nop dword [eax]
mov eax, dword [esi + 0x10]
xor ebp, ebp
mov ecx, dword [esi + 8]
cmp byte [eax + ecx*8 - 3], 0x13
lea ecx, [eax + ecx*8]
lea eax, [ecx - 8]
jne 0x431a2e
mov edx, dword [esi + 0x10]
movzx ecx, word [eax]
mov bl, byte [edx + ecx*8 + 4]
lea edi, [edx + ecx*8]
movzx ecx, word [eax + 2]
mov bh, byte [edx + ecx*8 + 4]
lea edx, [edx + ecx*8]
mov cl, bl
xor cl, bh
test cl, 0x20
jne 0x431a00
mov cx, word [edi + 6]
cmp cx, word [edx + 6]
je 0x431a21
movzx edx, bl
or bl, 0x20
movzx ecx, bh
and edx, ecx
mov byte [edi + 4], bl
mov ecx, dword [esi + 0x10]
not edx
and edx, 0x20
or ebp, edx
movzx edx, word [eax + 2]
or byte [ecx + edx*8 + 4], 0x20
sub eax, 8
cmp byte [eax + 5], 0x13
je 0x4319d5
test ebp, ebp
jne 0x4319c0
pop ebp
push esi
call fcn.00431d70
add esp, 4
pop edi
pop ebx
pop esi
ret
Function at 0x43d480
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
mov edx, dword [esi + 0x48]
movzx eax, word [edi + 2]
lea ecx, [edx + eax*8]
movzx eax, word [ecx]
lea eax, [edx + eax*8]
mov dword [esp + 0x18], eax
movzx eax, word [ecx + 2]
lea ebp, [eax + eax*2]
shl ebp, 3
cmp byte [edi + 6], 0
jge 0x43d4bd
cmp byte [edi + 7], 0
jne 0x43d4bd
mov ebx, 0x80
jmp 0x43d4d1
push 0xef
push edi
push esi
call fcn.004425a0
mov edx, dword [esi + 0x48]
add esp, 0xc
mov ebx, eax
movzx ecx, word [edi]
movzx eax, byte [edx + ecx*8 + 6]
mov dword [esp + 0x14], eax
test al, al
jns 0x43d4f4
push 0xef
push ecx
push esi
call fcn.004424e0
add esp, 0xc
mov dword [esp + 0x14], eax
mov ecx, dword [esi + 0x60]
btr ecx, eax
mov dword [esi + 0x60], ecx
test bl, bl
js 0x43d55a
test ebp, ebp
je 0x43d537
cmp ebx, eax
jne 0x43d524
test dword [esi + 0x68], 0x100
jne 0x43d524
push ebp
push ebx
push 0x838100
push esi
call fcn.004416d0
add esp, 0x10
jmp 0x43d55a
push ebp
push eax
push ebx
push 0x8d0000fe
push esi
call fcn.00441a00
add esp, 0x14
jmp 0x43d55a
cmp ebx, eax
je 0x43d55a
mov ecx, dword [esi + 0x40]
and al, 7
and bl, 7
sub al, 0x40
shl bl, 3
add bl, al
mov byte [ecx - 1], bl
lea eax, [ecx - 2]
mov dword [ecx - 5], 0x8b0000fe
mov dword [esi + 0x40], eax
push 5
push esi
call fcn.0043c390
mov ecx, dword [esp + 0x20]
add esp, 8
mov ebx, dword [esi + 0x40]
mov al, byte [ecx + 4]
and al, 0x1f
cmp al, 0xe
jne 0x43d5e7
mov ecx, dword [ecx + 8]
movsx eax, cl
cmp ecx, eax
jne 0x43d58e
lea eax, [ebx - 1]
mov dword [esi + 0x40], eax
mov byte [eax], cl
mov ecx, 0x830000fe
jmp 0x43d59a
mov dword [ebx - 4], ecx
mov ecx, 0x810000fe
add dword [esi + 0x40], 0xfffffffc
mov edi, dword [esp + 0x14]
lea eax, [ebp + 8]
push eax
push edi
push 7
push ecx
push esi
call fcn.00441a00
mov ecx, dword [esi + 0x40]
add esp, 0x14
sub bl, cl
mov byte [ecx - 2], 0x75
lea eax, [ecx - 2]
mov byte [ecx - 1], bl
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0xc]
movsx eax, dl
cmp edx, eax
jne 0x43d5d9
lea eax, [ecx - 3]
mov dword [esi + 0x40], eax
mov byte [eax], dl
jmp 0x43d626
mov dword [ecx - 6], edx
mov ecx, 0x810000fe
add dword [esi + 0x40], 0xfffffffc
jmp 0x43d62b
mov edi, dword [esp + 0x14]
cmp al, 2
jbe 0x43d613
push dword [ecx]
lea eax, [ebp + 8]
push eax
push edi
push 0x838107
push esi
call fcn.00441670
mov eax, dword [esi + 0x40]
add esp, 0x14
sub bl, al
mov byte [eax - 2], 0x75
mov byte [eax - 1], bl
lea ebx, [eax - 2]
mov eax, dword [esp + 0x18]
lea ecx, [ebx - 1]
mov dword [esi + 0x40], ecx
mov al, byte [eax + 4]
and al, 0x1f
not al
mov byte [ecx], al
mov ecx, 0x830000fe
lea eax, [ebp + 0xc]
push eax
push edi
push 7
push ecx
push esi
call fcn.00441a00
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x441230
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x14]
push 0xef
push ebp
push edi
call fcn.004425a0
mov ebx, eax
mov ecx, 0x8000
movzx eax, word [ebp]
add esp, 0xc
cmp ax, cx
jae 0x441292
movzx ecx, byte [ebp + 3]
mov edx, eax
mov eax, dword [edi + 0x48]
and bl, 7
mov esi, dword [edi + 0x40]
shl bl, 3
mov eax, dword [eax + edx*8]
mov eax, dword [eax + ecx*4 + 0x14]
add eax, 0x10
add bl, 5
mov dword [esi - 4], eax
lea eax, [esi - 6]
mov byte [esi - 5], bl
mov dword [esi - 9], 0x8b0000fe
mov dword [edi + 0x40], eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [edi + 0x58]
and eax, 0xef
jne 0x441330
mov eax, dword [edi + 4]
or ecx, 0xffffffff
cmp dword [edi], 0xffffffff
mov esi, dword [edi + 0x18]
cmovb ecx, dword [edi]
cmp eax, ecx
cmovae eax, ecx
mov ecx, dword [edi + 8]
cmp ecx, eax
cmovae ecx, eax
mov eax, dword [edi + 0xc]
cmp eax, ecx
cmovae eax, ecx
mov ecx, dword [edi + 0x14]
cmp ecx, eax
cmovae ecx, eax
cmp esi, ecx
cmovae esi, ecx
mov ecx, dword [edi + 0x1c]
cmp ecx, esi
movzx edx, cx
movzx eax, si
cmovae edx, eax
movzx ecx, dx
mov dword [esp + 0x18], ecx
cmp ecx, 0x8000
jb 0x441322
mov edx, dword [edi + 0x60]
mov esi, edx
and esi, 0xef
je 0x441322
mov eax, dword [edi + 0x48]
mov cl, byte [eax + ecx*8 + 6]
shr edx, cl
test dl, 1
jne 0x44131e
bsf eax, esi
movzx ecx, word [edi + eax*4]
push ecx
push edi
call fcn.00442e90
add esp, 8
mov esi, eax
jmp 0x441333
mov ecx, dword [esp + 0x18]
push ecx
push edi
call fcn.00442e90
add esp, 8
mov esi, eax
jmp 0x441333
bsr esi, eax
mov eax, dword [edi + 0x5c]
bts eax, esi
mov dword [edi + 0x5c], eax
movzx ecx, word [ebp]
mov eax, dword [edi + 0x48]
movzx eax, byte [eax + ecx*8 + 6]
mov dword [esp + 0x18], eax
test al, al
jns 0x441363
push 0xef
push ecx
push edi
call fcn.004424e0
add esp, 0xc
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 0x60]
btr ecx, eax
mov dword [edi + 0x60], ecx
cmp byte [ebp + 5], 0x3e
jne 0x4413a4
push 8
push esi
push ebx
push 0x8d0000fe
push edi
call fcn.00441a00
push 5
push edi
call fcn.0043c390
add esp, 0x1c
mov ebx, 7
dec dword [edi + 0x40]
mov eax, dword [edi + 0x40]
lea ecx, [ebx - 1]
mov byte [eax], 1
mov eax, 0x800000fe
jmp 0x4413ae
mov eax, 0x8b0000fe
mov ecx, 0x10
push ecx
push esi
push ebx
push eax
push edi
call fcn.00441a00
movzx eax, byte [ebp + 3]
lea eax, [eax*4 + 0x14]
push eax
push dword [esp + 0x30]
push esi
push 0x8b0000fe
push edi
call fcn.00441a00
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x444f70
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
dec esi
mov eax, dword [edi + 0x10]
lea esi, [eax + esi*8]
cmp esi, dword [edi + 0x14]
jae 0x4450ba
mov eax, dword [esi + 4]
cmp eax, 0xfffffff2
jbe 0x44509c
cmp eax, 0xfffffff5
jne 0x44508a
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0xe4]
mov dword [esp + 0xc], ecx
mov dword [ecx + 0xc], edi
mov eax, dword [esi]
mov esi, dword [ecx]
movzx edx, word [eax + 6]
lea edi, [eax + 8]
mov eax, edx
add eax, eax
mov ecx, dword [esi + eax*8]
mov eax, ecx
and eax, 0xf0800000
cmp eax, 0x20800000
jne 0x444fd8
mov edi, dword [edi]
movzx ecx, cx
cmovne ecx, edx
shl ecx, 4
add ecx, esi
mov edx, dword [ecx]
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x44500b
movzx ecx, dx
shl ecx, 4
add ecx, esi
mov edx, dword [ecx]
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x444ff3
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x50000000
jne 0x445023
movzx ecx, dx
shl ecx, 4
add ecx, esi
mov edx, dword [ecx]
and edx, 0xfc800000
cmp edx, 0x800000
jne 0x445047
cmp dword [ecx + 4], 8
jne 0x445047
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xc
mov eax, 0xc
jmp 0x44505b
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
test eax, eax
jne 0x44505b
mov dword [edx], 0xb
mov eax, 0xb
mov edx, dword [ebp + 0xc]
shl edx, 8
push edx
push edi
lea edx, [esp + 0x18]
shl eax, 4
push edx
push ecx
mov ecx, dword [esp + 0x1c]
add eax, dword [ecx]
push eax
push ecx
call fcn.004437e0
mov eax, dword [esp + 0x28]
add esp, 0x18
mov edx, dword [esp + 0x14]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0xfffffffb
jne 0x4450ba
mov ecx, dword [esi]
mov edx, esi
call fcn.00418a70
test eax, eax
je 0x4450ba
movsd xmm0, qword [esi]
xor edx, edx
addsd xmm0, qword [0x495d08]
pop edi
pop esi
movsd qword [esp + 8], xmm0
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
push 3
push dword [ebp + 0xc]
push edi
call fcn.0040a910
int3
Function at 0x445140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov eax, dword [ebx + 0x10]
mov esi, dword [esp + 0x24]
push edi
cmp dword [eax + 4], 0xfffffff5
jne 0x4451b7
mov eax, dword [eax]
mov edx, dword [ebp]
movzx edi, word [eax + 6]
mov eax, edi
add eax, eax
mov ecx, dword [edx + eax*8]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x445196
nop word [eax + eax]
movzx eax, cx
add eax, eax
mov ecx, dword [edx + eax*8]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x445180
mov eax, ecx
movzx ecx, cx
and eax, 0xf0000000
cmp eax, 0x20000000
push esi
cmovne ecx, edi
push ecx
push ebp
call fcn.00413830
add esp, 0xc
test eax, eax
jne 0x44521d
mov eax, dword [ebx + 0x10]
lea ecx, [eax + 8]
cmp ecx, dword [ebx + 0x14]
jae 0x44522f
cmp dword [eax + 0xc], 0xfffffff5
jne 0x44522f
mov eax, dword [ecx]
mov edx, dword [ebp]
movzx edi, word [eax + 6]
mov eax, edi
add eax, eax
mov ecx, dword [edx + eax*8]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x4451fc
movzx eax, cx
add eax, eax
mov ecx, dword [edx + eax*8]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x4451e6
mov eax, ecx
movzx ecx, cx
and eax, 0xf0000000
cmp eax, 0x20000000
push esi
cmovne ecx, edi
push ecx
push ebp
call fcn.00413830
add esp, 0xc
test eax, eax
je 0x44522f
push eax
push ebx
call fcn.00412380
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
or edx, 0xffffffff
or ebp, edx
cmp esi, 4
jne 0x445264
mov ecx, dword [esp + 0x24]
xor edx, edx
pop edi
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
mov eax, dword [ebx + 0x14]
setne dl
add edx, 0xfffffffd
mov dword [eax - 4], edx
mov eax, dword [ebx + 8]
mov dword [eax + 0x8c], edx
lea eax, [esi - 3]
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x24]
xor edi, edi
nop word [eax + eax]
mov ecx, dword [eax + edi*4 + 8]
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x4452b5
mov eax, dword [ebx + 0x10]
cmp dword [eax + edi*8 + 4], 0xfffffff5
jne 0x4452b5
mov eax, dword [esp + 0x20]
mov esi, dword [ecx]
push 0
sub ecx, dword [eax]
sar ecx, 4
push ecx
push ebx
call fcn.00413980
and esi, 0xf0000000
add esp, 0xc
add eax, 0x10
mov edx, edi
cmp esi, 0x50000000
cmovne edx, dword [esp + 0x1c]
jmp 0x4452db
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + edi*8 + 4]
cmp ecx, 0xfffffffb
mov eax, edi
cmovne eax, ebp
mov ebp, eax
cmp ecx, 0xfffffff2
ja 0x4452d2
mov ecx, 0xd
jmp 0x4452d4
not ecx
mov eax, dword [ecx*4 + 0x493da0]
mov dword [esp + edi*4 + 0x10], eax
inc edi
mov eax, dword [esp + 0x24]
cmp edi, 2
jl 0x445270
mov eax, ebp
xor eax, edx
cmp eax, 1
je 0x44532d
mov ecx, dword [esp + 0x28]
cmp ecx, 5
jne 0x445302
mov eax, 0xcf2
jmp 0x44531e
cmp ecx, 8
jne 0x44530e
mov eax, 0xd10
jmp 0x44531e
cmp ecx, 0xa
mov eax, 0xd35
mov edx, 0xd64
cmovl eax, edx
push dword [esp + 0x14]
push dword [esp + 0x14]
push eax
push ebx
call fcn.0040aab0
push dword [esp + edx*4 + 0x10]
push dword [esp + ebp*4 + 0x14]
push 0xcd6
push ebx
call fcn.0040aab0
int3
Function at 0x44e820
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, ecx
push ebp
movzx ebp, word [ebx + 0x78]
lea edx, [ebx + 0x78]
push esi
mov al, byte [ebx + 0x94]
and al, 0x1f
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], ebp
push edi
cmp al, 0xe
jne 0x44e878
movzx edx, word [ebx + 0x1ba]
cmp edx, ebp
jbe 0x44e874
movzx ecx, word [ebx + 0x1d4]
cmp ecx, ebp
jbe 0x44e874
nop
cmp ecx, edx
jb 0x44e9f4
mov eax, dword [ebx + 0x10]
movzx ecx, word [eax + ecx*8 + 6]
cmp ecx, ebp
ja 0x44e860
mov edx, dword [esp + 0x18]
movzx eax, word [ebx + 0x1d6]
cmp eax, ebp
jbe 0x44e9fe
mov esi, dword [ebx + 0x10]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0x8000
lea eax, [esi + eax*8]
mov dword [esp + 0x34], eax
movzx eax, word [eax]
movzx ecx, word [esi + eax*8 + 2]
lea ebx, [esi + eax*8]
cmp edx, ebx
je 0x44e9f4
movzx edi, word [edx + 2]
cmp byte [esi + edi*8 + 5], 0x1e
lea edx, [esi + edi*8]
jne 0x44e8c4
movzx edi, word [edx]
lea edx, [esi + edi*8]
cmp byte [esi + ecx*8 + 5], 0x1e
lea ebp, [esi + ecx*8]
jne 0x44e8d5
movzx ecx, word [ebp]
lea ebp, [esi + ecx*8]
mov eax, dword [esp + 0x14]
mov al, byte [eax + 0x7d]
mov byte [esp + 0x13], al
cmp al, 0x3a
je 0x44e8f2
cmp al, 0x39
je 0x44e8f2
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 0x78]
jmp 0x44e8fe
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 0x78]
movzx eax, word [esi + eax*8]
movzx eax, ax
mov dword [esp + 0x2c], eax
mov al, byte [ebx + 5]
cmp al, 0x3a
je 0x44e915
cmp al, 0x39
je 0x44e915
movzx eax, word [ebx]
jmp 0x44e91c
movzx eax, word [ebx]
movzx eax, word [esi + eax*8]
movzx ebx, ax
cmp edi, ecx
je 0x44e9c3
cmp edi, 0x8000
jae 0x44e93b
cmp ecx, 0x8000
jb 0x44e9dd
cmp byte [esp + 0x13], 0x39
jne 0x44e9b9
xor eax, eax
mov dword [esp + 0x1c], edi
cmp byte [edx + 5], 0x29
mov dword [esp + 0x20], eax
jne 0x44e983
movzx esi, word [edx + 2]
cmp si, word [esp + 0x24]
mov esi, dword [esp + 0x28]
jae 0x44e97f
movzx eax, word [edx]
mov dword [esp + 0x1c], eax
movzx eax, word [edx + 2]
mov edx, dword [esi + eax*8]
cmp dword [esp + 0x1c], ecx
jne 0x44e979
test edx, edx
jne 0x44e9dd
mov eax, dword [esp + 0x20]
jmp 0x44e985
mov edx, eax
jmp 0x44e985
xor edx, edx
cmp byte [ebp + 5], 0x29
jne 0x44e9ad
movzx esi, word [ebp + 2]
cmp si, word [esp + 0x24]
mov esi, dword [esp + 0x28]
jae 0x44e9ad
movzx eax, word [ebp + 2]
movzx ecx, word [ebp]
mov eax, dword [esi + eax*8]
cmp edi, ecx
jne 0x44e9ad
test eax, eax
jne 0x44e9dd
cmp dword [esp + 0x1c], ecx
jne 0x44e9c3
cmp edx, eax
je 0x44e9c3
jmp 0x44e9dd
mov al, byte [ebp + 4]
xor al, byte [edx + 4]
test al, 0x1f
jne 0x44e9dd
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x44e9f4
push ebx
push eax
push dword [esp + 0x1c]
call fcn.0044f180
add esp, 0xc
test eax, eax
jne 0x44e9f4
mov eax, dword [esp + 0x34]
movzx eax, word [eax + 6]
cmp eax, dword [esp + 0x38]
jbe 0x44e9fe
mov edx, dword [esp + 0x18]
jmp 0x44e896
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret