joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4369d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov eax, dword [edx]
push esi
mov ebp, dword [ebx + 0x20]
movzx esi, word [ebx + 6]
lea eax, [eax*4]
add eax, ebp
mov dword [esp + 0x14], eax
mov eax, esi
push edi
lea ecx, [eax + eax*2]
mov eax, dword [ebx + 0x1c]
lea edi, [eax + ecx*4]
lea eax, [edx + 0xc]
mov dword [esp + 0x14], edi
cmp eax, edi
jne 0x436a10
mov eax, dword [ebx + 0x18]
jmp 0x436a12
mov eax, dword [eax]
lea eax, [eax*4]
add eax, ebp
cmp byte [ebx + 0x76], 0
mov dword [esp + 0x24], eax
movzx eax, byte [edx + 0xa]
mov dword [esp + 0x10], eax
mov al, byte [edx + 8]
mov byte [esp + 0x30], al
movzx eax, al
mov dword [esp + 0x20], eax
jge 0x436a47
mov ecx, dword [ebx + 0x18]
lea eax, [esi + 1]
mov word [ebx + 6], ax
jmp 0x436a51
mov ecx, dword [edi - 0xc]
sub edi, 0xc
mov dword [esp + 0x14], edi
mov byte [ebx + 0x76], 0
xor ebp, ebp
mov dword [edi], ecx
mov ax, word [ebx + 8]
mov word [edi + 4], ax
xor eax, eax
mov word [edi + 6], ax
mov al, byte [esp + 0x30]
mov byte [edi + 8], al
movzx eax, byte [edx + 9]
mov byte [edi + 9], al
mov byte [edi + 0xb], 0
mov eax, dword [ebx + 0x20]
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 0x436af5
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x34]
mov edx, dword [edx + ebp*4]
mov edi, edx
mov ebx, dword [ebx + eax*4]
mov esi, ebx
shr esi, 0x18
inc eax
shr edi, 0x18
cmp esi, edi
jae 0x436ab4
mov dword [esp + 0x30], eax
jmp 0x436adf
cmovne eax, dword [esp + 0x30]
movzx esi, dx
mov dword [esp + 0x30], eax
cmp esi, 0x8000
jb 0x436adc
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 dword [edi + ecx*4], ebx
mov ecx, edx
cmp ebp, dword [esp + 0x10]
jb 0x436a91
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov esi, dword [edx + eax*4]
lea edx, [edx + eax*4]
mov ebp, dword [esp + 0x20]
mov eax, esi
shr eax, 0x18
cmp eax, ebp
jae 0x436b22
nop dword [eax]
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 0x436b10
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x24]
mov byte [eax + 0xa], cl
lea eax, [edi + ecx*4]
mov ecx, dword [esp + 0x10]
lea edx, [edx + ecx*4]
cmp edx, ebp
jae 0x436b4e
nop
mov ecx, dword [edx]
add edx, 4
mov dword [eax], ecx
add eax, 4
cmp edx, ebp
jb 0x436b40
sub eax, dword [ebx + 0x20]
pop edi
pop esi
sar eax, 2
pop ebp
mov dword [ebx + 0x18], eax
pop ebx
add esp, 0x18
ret
Function at 0x437790
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push ebx
push ebp
movzx eax, word [ecx]
mov ebp, dword [esp + 0x18]
movzx ecx, word [ecx + 2]
push esi
mov esi, dword [esp + 0x14]
push edi
mov dword [esp + 0x10], ecx
mov edi, dword [esi + 8]
lea ebx, [edi - 1]
mov dword [esi + 8], ebx
movzx edx, word [edx + eax*2]
movzx eax, word [ebp + eax*8 + 6]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], eax
cmp ebx, dword [esi + 0x114]
jb 0x4377e1
mov ecx, esi
call fcn.004520a0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x10]
mov dword [esi + 8], edi
mov edi, 0x6400
mov word [eax + ebx*8 + 4], di
mov edi, dword [esp + 0x20]
mov word [eax + ebx*8], di
mov word [eax + ebx*8 + 2], dx
mov edi, dword [esi + 8]
movzx ebp, word [ebp + ecx*8 + 6]
cmp edi, dword [esi + 0x114]
jb 0x437819
mov ecx, esi
call fcn.004520a0
mov ecx, dword [esp + 0x10]
lea eax, [edi + 1]
mov edx, 0x6400
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + edi*8 + 4], dx
mov word [eax + edi*8], bx
mov word [eax + edi*8 + 2], bp
mov eax, dword [esp + 0x1c]
mov ebx, dword [esi + 8]
movzx ebp, word [eax + ecx*2]
cmp ebx, dword [esi + 0x114]
jb 0x43784f
mov ecx, esi
call fcn.004520a0
lea eax, [ebx + 1]
mov ecx, 0x6400
mov dword [esi + 8], eax
mov eax, dword [esi + 0x10]
mov word [eax + ebx*8 + 4], cx
mov word [eax + ebx*8], di
mov word [eax + ebx*8 + 2], bp
mov edi, dword [esi + 8]
cmp edi, dword [esi + 0x114]
jb 0x43787d
mov ecx, esi
call fcn.004520a0
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, 0x5f13
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 + 0x114]
jb 0x4378be
mov ecx, esi
call fcn.004520a0
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 0x4387f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x68]
and eax, 0x10f0000
cmp eax, 0x10f0000
jne 0x438927
cmp word [esi + 0x1e8], 0
jne 0x438834
cmp word [esi + 0x1ea], 0
jne 0x438834
cmp word [esi + 0x1ec], 0
jne 0x438834
cmp word [esi + 0x1ee], 0
je 0x438927
cmp dword [esi + 0x11c], 0
push ebx
push edi
jne 0x438879
movzx eax, word [esi + 6]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x1c]
movzx edi, byte [eax + ecx*4 - 2]
lea edx, [eax + ecx*4]
mov ecx, dword [edx - 0xc]
mov eax, dword [esi + 0x20]
lea ebx, [eax + ecx*4]
xor ecx, ecx
test edi, edi
je 0x438879
movzx edx, word [ebx + ecx*4]
cmp edx, 0x8000
jb 0x438874
mov eax, dword [esi + 0x10]
or byte [eax + edx*8 + 4], 0x20
inc ecx
cmp ecx, edi
jb 0x438860
push esi
call fcn.00438a10
add esp, 4
cmp dword [esi + 0x11c], 0
je 0x43891c
push ebp
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x10]
cmp byte [edx + eax*8 - 3], 0x13
lea ecx, [edx + eax*8]
mov dword [esp + 0x14], 0
lea eax, [ecx - 8]
jne 0x43891b
nop dword [eax + eax]
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 ebp, [edx + ecx*8]
mov cl, bl
xor cl, bh
test cl, 0x20
jne 0x4388d8
mov cx, word [edi + 6]
cmp cx, word [ebp + 6]
je 0x438906
mov ebp, dword [esp + 0x14]
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]
mov dword [esp + 0x14], ebp
or byte [ecx + edx*8 + 4], 0x20
mov edx, dword [esi + 0x10]
jmp 0x43890a
mov ebp, dword [esp + 0x14]
sub eax, 8
cmp byte [eax + 5], 0x13
je 0x4388b0
test ebp, ebp
jne 0x438890
pop ebp
push esi
call fcn.00438d60
add esp, 4
pop edi
pop ebx
pop esi
ret
Function at 0x440630
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x58]
cmp eax, dword [edi + 0x920]
jne 0x4406a3
mov eax, dword [edi + 0xbc]
add eax, dword [edi + 0xb8]
jne 0x4406a3
cmp dword [edi + 0x924], eax
jne 0x4406a3
cmp dword [edi + 0x928], eax
jne 0x4406a3
cmp dword [edi + 8], 0x8002
ja 0x44067e
jne 0x4406a3
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x4000d], 0x15
je 0x4406a3
movzx eax, word [edi + 0x40]
push eax
push 2
push edi
mov dword [edi + 0xac], 0
call fcn.0043eec0
add esp, 0xc
mov eax, 2
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
push edi
mov dword [edi + 0x6c], esi
call fcn.004394e0
mov eax, dword [edi + 0x64]
lea ecx, [esi - 2]
add esp, 4
mov eax, dword [eax + ecx*4]
test eax, eax
jne 0x4406c9
push ecx
push edi
call fcn.00442090
add esp, 8
mov dword [esp + 0x38], eax
lea ecx, [esi*4]
mov eax, dword [edi + 0x64]
mov dword [esp + 0xc], ecx
mov eax, dword [ecx + eax - 4]
test eax, eax
jne 0x440706
mov ax, word [edi + 0x70]
dec esi
add ax, si
mov dword [edi + 0x7a], 0x47930044
mov ecx, edi
mov word [edi + 0x78], ax
call fcn.00452030
mov ecx, dword [edi + 0x64]
mov dword [ecx + esi*4], eax
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], 3
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x48], 1
mov edx, dword [eax + 0x10]
mov eax, dword [edx + esi*8 - 0x10]
mov ecx, dword [edx + esi*8 - 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [edx + esi*8 - 8]
mov dword [esp + 0x18], eax
sbb eax, eax
neg eax
mov dword [esp + 0x14], ecx
mov ecx, dword [edx + esi*8 - 4]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x24], ecx
call fcn.0043e090
add eax, esi
mov byte [edi + 0x75], 1
add esp, 8
mov dword [edi + 0x6c], eax
test dword [esp + 0x3c], 0x1f000000
je 0x4407ac
mov eax, dword [edi + 0x64]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
or ecx, 0x100000
mov dword [eax + edx - 4], ecx
mov eax, dword [edi + 0x64]
mov ecx, dword [esp + 0x3c]
mov dword [edx + eax], ecx
mov ecx, dword [edi + 0x64]
mov eax, dword [esp + 0x40]
mov dword [ecx + edx + 4], eax
mov ecx, dword [edi + 0x58]
movzx eax, word [ecx + 6]
add eax, 0xffff8002
lea eax, [ecx + eax*4]
mov dword [edi + 0x58], eax
mov eax, 2
pop edi
pop esi
mov esp, ebp
pop ebp
ret
add dword [edi + 0x58], 8
lea eax, [esi - 3]
mov dword [edi + 0x6c], eax
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x446f30
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 0x446f6d
cmp byte [edi + 7], 0
jne 0x446f6d
mov ebx, 0x80
jmp 0x446f7e
push 0xef
push edi
push esi
call fcn.0044d6e0
add esp, 0xc
mov ebx, eax
movzx edx, word [edi]
mov ecx, dword [esi + 0x48]
movzx eax, byte [ecx + edx*8 + 6]
mov dword [esp + 0x14], eax
test al, al
jns 0x446fa4
push 0xef
push edx
push esi
call fcn.0044d620
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 0x447000
test ebp, ebp
je 0x446fdd
push ebp
cmp ebx, eax
jne 0x446fcb
push ebx
push 0x838100
push esi
call fcn.0044c3c0
add esp, 0x10
jmp 0x447000
push eax
push ebx
push 0x8d0000fe
push esi
call fcn.0044c7e0
add esp, 0x14
jmp 0x447000
cmp ebx, eax
je 0x447000
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.00445d70
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 0x44708d
mov ecx, dword [ecx + 8]
movsx eax, cl
cmp ecx, eax
jne 0x447034
lea eax, [ebx - 1]
mov dword [esi + 0x40], eax
mov byte [eax], cl
mov ecx, 0x830000fe
jmp 0x447040
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.0044c7e0
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 0x44707f
lea eax, [ecx - 3]
mov dword [esi + 0x40], eax
mov byte [eax], dl
jmp 0x4470cc
mov dword [ecx - 6], edx
mov ecx, 0x810000fe
add dword [esi + 0x40], 0xfffffffc
jmp 0x4470d1
mov edi, dword [esp + 0x14]
cmp al, 2
jbe 0x4470b9
push dword [ecx]
lea eax, [ebp + 8]
push eax
push edi
push 0x838107
push esi
call fcn.0044c360
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.0044c7e0
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x44be80
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.0044d6e0
mov ebx, eax
mov ecx, 0x8000
movzx eax, word [ebp]
add esp, 0xc
cmp ax, cx
jae 0x44bee2
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 0x44bf65
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 eax, si
movzx edx, cx
cmovae edx, eax
movzx esi, dx
cmp esi, 0x8000
jb 0x44bf57
mov eax, dword [edi + 0x60]
mov edx, eax
and edx, 0xef
je 0x44bf57
mov ecx, dword [edi + 0x48]
mov cl, byte [ecx + esi*8 + 6]
shr eax, cl
test al, 1
jne 0x44bf57
bsf eax, edx
movzx esi, word [edi + eax*4]
push esi
push edi
call fcn.0044dfe0
add esp, 8
mov esi, eax
jmp 0x44bf68
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 0x44bf98
push 0xef
push ecx
push edi
call fcn.0044d620
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], 0x3d
jne 0x44bfd9
push 8
push esi
push ebx
push 0x8d0000fe
push edi
call fcn.0044c7e0
push 5
push edi
call fcn.00445d70
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 0x44bfe3
mov eax, 0x8b0000fe
mov ecx, 0x10
push ecx
push esi
push ebx
push eax
push edi
call fcn.0044c7e0
movzx eax, byte [ebp + 3]
lea eax, [eax*4 + 0x14]
push eax
push dword [esp + 0x30]
push esi
push 0x8b0000fe
push edi
call fcn.0044c7e0
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x451750
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 0x45189a
mov eax, dword [esi + 4]
cmp eax, 0xfffffff2
jbe 0x45187c
cmp eax, 0xfffffff5
jne 0x45186a
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0xfc]
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 0x4517b8
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 0x4517eb
movzx ecx, dx
shl ecx, 4
add ecx, esi
mov edx, dword [ecx]
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x4517d3
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x50000000
jne 0x451803
movzx ecx, dx
shl ecx, 4
add ecx, esi
mov edx, dword [ecx]
and edx, 0xfc800000
cmp edx, 0x800000
jne 0x451827
cmp dword [ecx + 4], 8
jne 0x451827
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xc
mov eax, 0xc
jmp 0x45183b
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
test eax, eax
jne 0x45183b
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.0044edd0
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 0x45189a
mov ecx, dword [esi]
mov edx, esi
call fcn.0041a600
test eax, eax
je 0x45189a
movsd xmm0, qword [esi]
xor edx, edx
addsd xmm0, qword [0x4d9f98]
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.00409560
int3
Function at 0x451920
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 0x10]
cmp dword [eax + 4], 0xfffffff5
jne 0x451996
mov eax, dword [eax]
mov ebp, dword [esp + 0x20]
movzx esi, word [eax + 6]
mov edx, dword [ebp]
mov eax, esi
add eax, eax
mov ecx, dword [edx + eax*8]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x451976
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 0x451960
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x20000000
jne 0x451987
movzx esi, cx
push ebx
push esi
push ebp
call fcn.00414150
add esp, 0xc
test eax, eax
jne 0x451a11
mov eax, dword [edi + 0x10]
lea esi, [edi + 0x14]
lea ecx, [eax + 8]
cmp ecx, dword [edi + 0x14]
jae 0x451a23
cmp dword [eax + 0xc], 0xfffffff5
lea esi, [edi + 0x14]
jne 0x451a23
mov eax, dword [ecx]
lea esi, [edi + 0x14]
mov ebx, dword [esp + 0x20]
movzx ebp, word [eax + 6]
mov ebx, dword [ebx]
mov eax, ebp
add eax, eax
mov ecx, dword [ebx + eax*8]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x4519ea
movzx eax, cx
add eax, eax
mov ecx, dword [ebx + eax*8]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x4519d1
lea esi, [edi + 0x14]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x20000000
jne 0x4519fb
movzx ebp, cx
mov ebx, dword [esp + 0x28]
push ebx
push ebp
push dword [esp + 0x28]
call fcn.00414150
add esp, 0xc
test eax, eax
je 0x451a23
push eax
push edi
call fcn.00412800
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
or ebp, 0xffffffff
or ecx, ebp
mov dword [esp + 0x1c], ecx
cmp ebx, 4
jne 0x451a5b
mov ecx, dword [esp + 0x24]
xor edx, edx
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
mov eax, dword [esi]
setne dl
add edx, 0xfffffffd
mov dword [eax - 4], edx
mov eax, dword [edi + 8]
pop edi
pop esi
mov dword [eax + 0x9c], edx
lea eax, [ebp + 2]
pop ebp
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x24]
xor esi, esi
add ebx, 8
mov edx, dword [ebx]
lea ecx, [esi*8]
test edx, edx
je 0x451aa4
mov eax, dword [edi + 0x10]
cmp dword [ecx + eax + 4], 0xfffffff5
jne 0x451aa4
mov eax, dword [edx]
and eax, 0xf0000000
cmp eax, 0x50000000
mov eax, dword [esp + 0x20]
push 0
cmove ebp, esi
sub edx, dword [eax]
sar edx, 4
push edx
push edi
call fcn.004142b0
add esp, 0xc
add eax, 0x14
jmp 0x451abd
mov eax, dword [edi + 0x10]
mov eax, dword [ecx + eax + 4]
cmp eax, 0xfffffffb
jne 0x451ad9
mov dword [esp + 0x1c], esi
not eax
mov eax, dword [eax*4 + 0x4d7ec8]
mov dword [esp + esi*4 + 0x10], eax
add ebx, 4
inc esi
cmp esi, 2
jl 0x451a64
mov ecx, dword [esp + 0x1c]
mov eax, ecx
xor eax, ebp
cmp eax, 1
je 0x451b20
jmp 0x451ae5
cmp eax, 0xfffffff2
ja 0x451ab4
mov eax, 0xd
jmp 0x451ab6
mov ecx, dword [esp + 0x28]
cmp ecx, 5
jne 0x451af5
mov eax, 0xceb
jmp 0x451b11
cmp ecx, 8
jne 0x451b01
mov eax, 0xd09
jmp 0x451b11
cmp ecx, 0xa
mov eax, 0xd2e
mov edx, 0xd5d
cmovl eax, edx
push dword [esp + 0x14]
push dword [esp + 0x14]
push eax
push edi
call fcn.00409720
push dword [esp + ebp*4 + 0x10]
push dword [esp + ecx*4 + 0x14]
push 0xccf
push edi
call fcn.00409720
int3
Function at 0x45c970
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x28
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 + 0x24], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x30], ebp
push edi
cmp al, 0xe
jne 0x45c9c7
movzx edx, word [ebx + 0x1bc]
cmp edx, ebp
jbe 0x45c9c4
movzx ecx, word [ebx + 0x1da]
cmp ecx, ebp
jbe 0x45c9c4
nop
cmp ecx, edx
jb 0x45cb43
mov eax, dword [ebx + 0x10]
movzx ecx, word [eax + ecx*8 + 6]
cmp ecx, ebp
ja 0x45c9b0
lea edx, [ebx + 0x78]
movzx eax, word [ebx + 0x1dc]
cmp eax, ebp
jbe 0x45cb4d
mov esi, dword [ebx + 0x10]
mov dword [esp + 0x18], 0x8000
lea eax, [esi + eax*8]
mov dword [esp + 0x30], eax
movzx eax, word [eax]
movzx ecx, word [esi + eax*8 + 2]
lea ebx, [esi + eax*8]
cmp edx, ebx
je 0x45cb43
movzx edi, word [edx + 2]
cmp byte [esi + edi*8 + 5], 0x1e
lea edx, [esi + edi*8]
jne 0x45ca0f
movzx edi, word [edx]
lea edx, [esi + edi*8]
cmp byte [esi + ecx*8 + 5], 0x1e
lea ebp, [esi + ecx*8]
jne 0x45ca20
movzx ecx, word [ebp]
lea ebp, [esi + ecx*8]
mov eax, dword [esp + 0x14]
mov al, byte [eax + 5]
mov byte [esp + 0x13], al
cmp al, 0x39
je 0x45ca3c
cmp al, 0x38
je 0x45ca3c
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
jmp 0x45ca47
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
movzx eax, word [esi + eax*8]
movzx eax, ax
mov dword [esp + 0x24], eax
mov al, byte [ebx + 5]
cmp al, 0x39
je 0x45ca5e
cmp al, 0x38
je 0x45ca5e
movzx eax, word [ebx]
jmp 0x45ca65
movzx eax, word [ebx]
movzx eax, word [esi + eax*8]
movzx eax, ax
mov dword [esp + 0x20], eax
cmp edi, ecx
jne 0x45ca83
mov edx, dword [esp + 0x24]
cmp edx, eax
je 0x45cb43
mov ecx, eax
jmp 0x45cb19
cmp edi, 0x8000
jae 0x45ca97
cmp ecx, 0x8000
jb 0x45cb2c
cmp byte [esp + 0x13], 0x38
jne 0x45cb03
xor eax, eax
mov dword [esp + 0x2c], edi
xor ebx, ebx
mov dword [esp + 0x1c], eax
cmp byte [edx + 5], 0x29
jne 0x45cad5
movzx eax, word [edx + 2]
cmp ax, word [esp + 0x18]
jae 0x45cacf
movzx edx, word [edx]
mov eax, dword [esi + eax*8]
mov dword [esp + 0x1c], eax
cmp edx, ecx
jne 0x45cad7
test eax, eax
jne 0x45cb2c
jmp 0x45cad7
mov edx, dword [esp + 0x2c]
jmp 0x45cad7
mov edx, edi
cmp byte [ebp + 5], 0x29
jne 0x45caf7
movzx eax, word [ebp + 2]
cmp ax, word [esp + 0x18]
jae 0x45caf7
movzx ecx, word [ebp]
mov ebx, dword [esi + eax*8]
cmp edi, ecx
jne 0x45caf7
test ebx, ebx
jne 0x45cb2c
cmp edx, ecx
jne 0x45cb0d
cmp dword [esp + 0x1c], ebx
je 0x45cb0d
jmp 0x45cb2c
mov al, byte [ebp + 4]
xor al, byte [edx + 4]
test al, 0x1f
jne 0x45cb2c
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
cmp edx, ecx
je 0x45cb43
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.0045d320
add esp, 0xc
test eax, eax
jne 0x45cb43
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 6]
cmp eax, dword [esp + 0x34]
jbe 0x45cb4d
mov edx, dword [esp + 0x14]
jmp 0x45c9e1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x28
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret
Function at 0x45d9a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
movzx eax, word [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
push ebp
mov dword [esp + 8], eax
lea ebp, [ecx + 0x10]
movzx eax, word [ecx + eax*2 + 0x156]
push esi
push edi
cmp eax, edx
jbe 0x45da23
mov edi, dword [ebp]
nop dword [eax + eax]
mov cl, byte [edi + eax*8 + 4]
lea ebx, [edi + eax*8]
movzx eax, word [ebx]
and cl, 0x1f
cmp eax, edx
je 0x45da50
test cl, cl
jne 0x45da17
cmp word [esp + 0x1c], 0x42
movzx ecx, word [edi + eax*8 + 2]
movzx esi, word [edi + edx*8 + 2]
je 0x45da03
mov al, byte [edi + esi*8 + 4]
xor al, byte [edi + ecx*8 + 4]
test al, 0x1f
jne 0x45da17
cmp ecx, esi
je 0x45da48
cmp ecx, 0x8000
jae 0x45da48
cmp esi, 0x8000
jae 0x45da48
movzx eax, word [ebx + 6]
cmp eax, edx
ja 0x45d9d0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
movzx eax, word [ecx + eax*2 + 0x146]
cmp eax, edx
jbe 0x45da48
mov esi, dword [ebp]
lea ecx, [esi + eax*8]
movzx eax, word [ecx]
cmp eax, edx
je 0x45da5d
movzx eax, word [ecx + 6]
cmp eax, edx
ja 0x45da36
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
pop edi
xor eax, eax
test cl, cl
pop esi
pop ebp
setne al
pop ebx
pop ecx
ret
test byte [ecx + 4], 0x1f
mov eax, 0
pop edi
pop esi
pop ebp
setne al
pop ebx
pop ecx
ret