joyce8/EMBER2024-capa huggingface dataset:
Function at 0x385139e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
or dl, 0xff
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], 0xffffffff
movzx eax, byte [edi]
mov bl, 8
mov dword [ebp - 4], eax
inc edi
movzx eax, byte [ebp - 0xb]
xor byte [ebp - 4], dl
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 8]
mov byte [ebp - 0xb], al
movzx eax, byte [ebp - 7]
mov dword [ebp + 0x10], edi
mov edi, 0x8320
mov dword [ebp - 0x10], 0
mov byte [ebp - 8], al
push 1
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.38513980
movzx eax, ax
lea edx, [ebp - 4]
push 1
push eax
mov ecx, esi
call fcn.38513910
test ax, ax
je 0x38513a5e
xor word [ebp - 4], di
mov eax, 0xedb8
xor word [ebp - 0x10], ax
add bl, 0xff
jne 0x38513a30
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp + 0x10]
mov byte [ebp - 7], bl
xor dword [ebp - 8], ecx
sub dword [ebp + 0xc], 1
mov dword [ebp - 0xc], edx
jne 0x38513a00
pop edi
not edx
pop esi
mov ax, dx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x385169e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
mov eax, 0x100
push edi
mov edi, dword [ebp + 8]
movzx ecx, byte [edi + eax - 1]
lea edx, [eax - 1]
mov byte [ecx + esi], dl
sub eax, 1
jne 0x385169f1
mov esi, dword [ebp + 0x18]
push ebx
xor bh, bh
mov dword [ebp - 4], eax
lea ebx, [ebx]
inc al
movzx edx, al
mov bl, byte [edx + edi]
add bh, bl
movzx ecx, bh
movzx eax, byte [ecx + edi]
mov byte [edx + edi], al
mov byte [ecx + edi], bl
movzx eax, byte [edx + edi]
mov ecx, dword [ebp - 4]
add al, bl
movzx eax, al
movzx eax, byte [eax + edi]
xor byte [ecx + esi], al
mov eax, ecx
inc eax
mov dword [ebp - 4], eax
cmp eax, 0x100
jl 0x38516a10
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
pop ebx
test edx, edx
je 0x38516a72
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0x10]
lea ecx, [eax - 1]
add ecx, edx
sub esi, eax
nop
movzx eax, byte [esi + ecx]
lea ecx, [ecx - 1]
mov al, byte [eax + edi]
mov byte [ecx + 1], al
sub edx, 1
jne 0x38516a60
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x385243f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x10
xor al, al
push ebx
push esi
push edi
cmp byte [edx], al
je 0x385244ba
mov ecx, dword [ebp + 0x10]
mov ebx, edx
add ecx, edx
cmp edx, ecx
jae 0x3852441d
cmp byte [ebx], al
je 0x3852441c
inc ebx
cmp ebx, ecx
jb 0x38524411
jmp 0x3852441d
dec ebx
sub ebx, edx
mov ecx, ebx
mov dword [ebp - 0x10], ebx
shr ecx, 2
mov dword [ebp - 4], ecx
test bl, 3
je 0x38524436
inc ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x385244bc
xor ebx, ebx
mov dword [ebp - 0xc], ebx
xor esi, esi
mov dword [ebp - 8], 4
xor edi, edi
add ebx, edx
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx edx, byte [ecx + 0x7ab16b8]
mov ecx, edi
shl edx, cl
add edi, 6
add esi, edx
sub dword [ebp - 8], 1
jne 0x38524450
mov ebx, dword [ebp - 0xc]
mov edx, ebx
mov edi, dword [ebp + 8]
movzx ecx, al
sub edx, ecx
mov dword [edx + edi + 0x1501], esi
test esi, 0xff000000
jne 0x3852448c
or al, 1
jmp 0x385244a6
test esi, 0xffff0000
jne 0x38524498
or al, 2
jmp 0x385244a6
test esi, 0xffffff00
jne 0x385244a4
or al, 3
jmp 0x385244a6
xor al, al
mov edx, dword [ebp + 0xc]
add ebx, 4
sub dword [ebp - 4], 1
mov dword [ebp - 0xc], ebx
jne 0x38524443
mov ebx, dword [ebp - 0x10]
jmp 0x385244bf
xor ebx, ebx
mov edi, dword [ebp + 8]
movzx eax, al
sub ebx, eax
je 0x38524505
mov esi, dword [ebp + 0x14]
lea edx, [edi + 0x1400]
mov edi, 0x3193
mov cl, byte [edx + 0x101]
lea edx, [edx + 1]
mov eax, esi
shr eax, 8
xor al, cl
movzx ecx, cl
add cx, si
mov byte [edx - 1], al
mov eax, edi
movzx ecx, cx
imul ecx, eax
mov eax, 0x58bf
sub ax, cx
movzx esi, ax
sub ebx, 1
jne 0x385244d4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x385248c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x10
xor al, al
push ebx
push esi
push edi
cmp byte [edx], al
je 0x3852498a
mov ecx, dword [ebp + 0x10]
mov ebx, edx
add ecx, edx
cmp edx, ecx
jae 0x385248ed
cmp byte [ebx], al
je 0x385248ec
inc ebx
cmp ebx, ecx
jb 0x385248e1
jmp 0x385248ed
dec ebx
sub ebx, edx
mov ecx, ebx
mov dword [ebp - 0x10], ebx
shr ecx, 2
mov dword [ebp - 4], ecx
test bl, 3
je 0x38524906
inc ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x3852498c
xor ebx, ebx
mov dword [ebp - 0xc], ebx
xor esi, esi
mov dword [ebp - 8], 4
xor edi, edi
add ebx, edx
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx edx, byte [ecx + 0x7ab1b90]
mov ecx, edi
shl edx, cl
add edi, 6
add esi, edx
sub dword [ebp - 8], 1
jne 0x38524920
mov ebx, dword [ebp - 0xc]
mov edx, ebx
mov edi, dword [ebp + 8]
movzx ecx, al
sub edx, ecx
mov dword [edx + edi + 0x1601], esi
test esi, 0xff000000
jne 0x3852495c
or al, 1
jmp 0x38524976
test esi, 0xffff0000
jne 0x38524968
or al, 2
jmp 0x38524976
test esi, 0xffffff00
jne 0x38524974
or al, 3
jmp 0x38524976
xor al, al
mov edx, dword [ebp + 0xc]
add ebx, 4
sub dword [ebp - 4], 1
mov dword [ebp - 0xc], ebx
jne 0x38524913
mov ebx, dword [ebp - 0x10]
jmp 0x3852498f
xor ebx, ebx
mov edi, dword [ebp + 8]
movzx eax, al
sub ebx, eax
je 0x385249d5
mov esi, dword [ebp + 0x14]
lea edx, [edi + 0x1400]
mov edi, 0x3193
mov cl, byte [edx + 0x201]
lea edx, [edx + 1]
mov eax, esi
shr eax, 8
xor al, cl
movzx ecx, cl
add cx, si
mov byte [edx - 1], al
mov eax, edi
movzx ecx, cx
imul ecx, eax
mov eax, 0x58bf
sub ax, cx
movzx esi, ax
sub ebx, 1
jne 0x385249a4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x38524d80
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x10
xor al, al
push ebx
push esi
push edi
cmp byte [edx], al
je 0x38524e4a
mov ecx, dword [ebp + 0x10]
mov ebx, edx
add ecx, edx
cmp edx, ecx
jae 0x38524dad
cmp byte [ebx], al
je 0x38524dac
inc ebx
cmp ebx, ecx
jb 0x38524da1
jmp 0x38524dad
dec ebx
sub ebx, edx
mov ecx, ebx
mov dword [ebp - 0x10], ebx
shr ecx, 2
mov dword [ebp - 4], ecx
test bl, 3
je 0x38524dc6
inc ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x38524e4c
xor ebx, ebx
mov dword [ebp - 0xc], ebx
xor esi, esi
mov dword [ebp - 8], 4
xor edi, edi
add ebx, edx
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx edx, byte [ecx + 0x7ab2050]
mov ecx, edi
shl edx, cl
add edi, 6
add esi, edx
sub dword [ebp - 8], 1
jne 0x38524de0
mov ebx, dword [ebp - 0xc]
mov edx, ebx
mov edi, dword [ebp + 8]
movzx ecx, al
sub edx, ecx
mov dword [edx + edi + 0x1601], esi
test esi, 0xff000000
jne 0x38524e1c
or al, 1
jmp 0x38524e36
test esi, 0xffff0000
jne 0x38524e28
or al, 2
jmp 0x38524e36
test esi, 0xffffff00
jne 0x38524e34
or al, 3
jmp 0x38524e36
xor al, al
mov edx, dword [ebp + 0xc]
add ebx, 4
sub dword [ebp - 4], 1
mov dword [ebp - 0xc], ebx
jne 0x38524dd3
mov ebx, dword [ebp - 0x10]
jmp 0x38524e4f
xor ebx, ebx
mov edi, dword [ebp + 8]
movzx eax, al
sub ebx, eax
je 0x38524e95
mov esi, dword [ebp + 0x14]
lea edx, [edi + 0x1400]
mov edi, 0x3193
mov cl, byte [edx + 0x201]
lea edx, [edx + 1]
mov eax, esi
shr eax, 8
xor al, cl
movzx ecx, cl
add cx, si
mov byte [edx - 1], al
mov eax, edi
movzx ecx, cx
imul ecx, eax
mov eax, 0x58bf
sub ax, cx
movzx esi, ax
sub ebx, 1
jne 0x38524e64
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x3852aa10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x7076dbc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, edx
push edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esi
cmp dword [esi], 0x4550
jne 0x3852ab35
movzx edx, word [esi + 0x14]
or ecx, 0xffffffff
movzx ebx, word [esi + 6]
add edx, 0x18
and ebx, 0x3f
mov dword [ebp - 0x30], ecx
mov edi, 0
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], edi
jbe 0x3852ab2c
mov eax, 0x28
lea ebx, [esi + edx]
sub eax, esi
mov dword [ebp - 0x48], eax
mov edi, edi
add eax, ebx
cmp eax, 0x400
ja 0x3852aa7d
mov ecx, ebx
jmp 0x3852aac8
push 1
push 0
push esi
call 0x37ad4c10
mov ecx, dword [esi + 0xdc10]
mov edi, eax
add ecx, dword [ebp - 0x34]
push 0
push ecx
push esi
call 0x37ad4c10
push 0x28
lea eax, [ebp - 0x2c]
push eax
push esi
call 0x37ad4b60
push 0
push edi
push dword [ebp - 0x3c]
mov esi, eax
call 0x37ad4c10
add esp, 0x30
cmp esi, 0x28
jne 0x3852ab35
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x34]
add edx, 0x28
add ebx, 0x28
mov dword [ebp - 0x34], edx
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x3852aafa
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x3852aae4
mov ecx, edx
cmp dword [ebp - 0x38], ecx
jb 0x3852aaf0
add eax, ecx
cmp dword [ebp - 0x38], eax
jb 0x3852ab11
cmp dword [ebp - 0x30], ecx
jbe 0x3852aafa
mov dword [ebp - 0x30], ecx
jmp 0x3852aafd
mov ecx, dword [ebp - 0x30]
inc edi
mov dword [ebp - 0x40], edi
cmp edi, dword [ebp - 0x44]
jae 0x3852ab29
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x48]
jmp 0x3852aa70
pop edi
sub edx, ecx
add edx, dword [ebp - 0x38]
pop esi
mov eax, edx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call 0x37ad3614
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x38]
cmp eax, ecx
jae 0x3852ab35
cmp ecx, 0xffffffff
jne 0x3852ab37
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call 0x37ad3614
mov esp, ebp
pop ebp
ret

Function at 0x3853b260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor dl, dl
xor eax, eax
mov word [edi + 0x100], 1
mov byte [eax + edi], al
inc eax
cmp eax, 0x100
jl 0x3853b276
mov ebx, dword [ebp + 0x10]
xor esi, esi
movzx eax, dl
lea ecx, [edx + 1]
mov edx, dword [ebp + 0xc]
mov al, byte [eax + edx]
xor byte [esi + edi], al
inc esi
movzx eax, cl
cmp eax, ebx
sbb dl, dl
and dl, cl
cmp esi, 0x100
jl 0x3853b286
mov eax, dword [ebp + 0x14]
mov esi, edi
sub eax, edi
mov ebx, 0x100
mov dword [ebp + 0x14], eax
jmp 0x3853b2c0
movzx ecx, byte [eax + esi]
lea esi, [esi + 1]
movzx eax, byte [ecx + edi]
xor byte [esi - 1], al
movzx eax, byte [esi - 1]
lea edx, [ecx + edi]
mov cl, byte [ecx + edi]
xor cl, al
mov eax, dword [ebp + 0x14]
mov byte [edx], cl
xor byte [esi - 1], cl
sub ebx, 1
jne 0x3853b2c0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x38541880
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.38541810
add esp, 0xc
cmp al, bl
je 0x385418a2
pop esi
xor al, al
pop ebx
pop ebp
ret
shr bl, 1
je 0x385418dc
mov edx, dword [ebp + 0x14]
push edi
movzx edi, bl
mov bx, word [ebp + 0x1c]
mov cl, byte [esi]
lea esi, [esi + 1]
mov eax, edx
shr eax, 8
xor al, cl
movzx ecx, cl
add cx, dx
mov byte [esi - 1], al
movzx eax, word [ebp + 0x18]
movzx ecx, cx
imul ecx, eax
add cx, bx
movzx edx, cx
sub edi, 1
jne 0x385418b1
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret
Function at 0x38546700
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test eax, eax
je 0x385469ab
mov eax, 0x5a4d
lea esi, [ebx + 0x1450]
cmp word [ebx], ax
jne 0x3854677e
push 1
push 0
push ebx
call 0x37ad4c10
push 0
push dword [ebx + 0x3c]
mov edi, eax
push ebx
call 0x37ad4c10
push 0x400
push esi
push ebx
mov dword [ebp - 4], esi
call 0x37ad4b60
push 0
push edi
push ebx
movzx esi, ax
call 0x37ad4c10
mov eax, 0xf8
add esp, 0x30
cmp si, ax
jb 0x385469ab
mov eax, dword [ebp - 4]
cmp dword [eax], 0x4550
jne 0x385469ab
mov edx, dword [ebx + 0x3c]
jmp 0x385467a1
cmp dword [ebx], 0x4550
jne 0x385469ab
mov edx, dword [ebx + 0xdc10]
lea eax, [ebx + 0x1450]
mov ecx, 0x100
mov esi, ebx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [eax + 0x88]
test edi, edi
je 0x385469ab
push 1
push 0
lea esi, [ebx + 0x1400]
mov dword [ebx + 0x1408], 0
push ebx
mov dword [esi], edx
mov dword [ebx + 0x140c], edi
call 0x37ad4c10
push 2
push 0
push ebx
mov dword [ebp - 8], eax
call 0x37ad4c10
push 1
push 0
push ebx
call 0x37ad4c10
lea ecx, [ebx + 0x1414]
mov dword [ebx + 0x1410], eax
add esp, 0x24
test ecx, ecx
je 0x385469ab
mov dword [ebx + 0x1418], 0
xor edx, edx
mov dword [ebx + 0x141c], 0
mov dword [ebx + 0x1420], 0
mov dword [ebx + 0x1424], 0
mov dword [ebx + 0x1428], 0
mov dword [ebx + 0x142c], 0
mov dword [ebx + 0x1430], 0
mov dword [ebx + 0x1434], 0
mov dword [ebx + 0x1438], 0
mov dword [ebx + 0x143c], 0
mov dword [ebx + 0x1440], 0
mov dword [ebx + 0x1444], 0
mov dword [ebx + 0x1448], 0
mov dword [ebx + 0x144c], 0
mov dword [ecx], edi
mov dword [ecx + 8], eax
mov dword [ecx + 0x10], edi
jmp 0x385468a0
lea esi, [ebx + 0x1400]
lea ecx, [ecx]
mov eax, edx
inc edx
mov dword [ebp - 4], edx
and eax, 0xf
jne 0x385468c2
push 1
push ebx
call 0x37ad4a70
add esp, 8
test ax, ax
jne 0x3854699d
mov edx, dword [ebp - 4]
cmp edx, 0x100
jae 0x3854699d
lea eax, [ebp - 0x10]
mov edx, esi
push eax
mov ecx, ebx
call fcn.38546520
test eax, eax
je 0x3854699d
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp edi, 0x200
jb 0x385468a0
push dword [ebp - 0x10]
mov edx, esi
mov ecx, ebx
call fcn.385462d0
mov edx, dword [ebp - 4]
mov esi, eax
test esi, esi
je 0x38546897
mov ecx, dword [ebx + 0x1410]
cmp esi, ecx
jae 0x38546897
cmp edi, ecx
ja 0x38546897
lea eax, [esi + edi]
cmp eax, ecx
ja 0x38546897
push 0
push esi
push ebx
call 0x37ad4c10
lea eax, [ebx + 0x1860]
push 0x10
push eax
push ebx
call 0x37ad4b60
mov edx, dword [ebp - 4]
add esp, 0x18
cmp ax, 0x10
jne 0x38546897
cmp dword [ebx + 0x1860], 0x4643534d
jne 0x38546897
push 0
push esi
push ebx
call 0x37ad4c10
push 0x24
lea eax, [ebx + 0x1400]
push eax
push ebx
call 0x37ad4b60
add esp, 0x18
cmp eax, 0x24
jne 0x385469ab
mov edx, dword [ebp + 0xc]
movzx eax, word [ebx + 0x141c]
mov dword [edx + 0x10], eax
movzx eax, word [ebx + 0x141a]
mov dword [edx + 8], edi
pop edi
mov dword [edx + 4], esi
pop esi
mov dword [edx + 0xc], eax
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp - 8]
push ebx
call 0x37ad4c10
add esp, 0xc
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x385777e0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x83
push ebx
push esi
push edi
jne 0x38577a20
mov ecx, dword [ebp + 0x10]
mov eax, ecx
and eax, 0xf8
cmp al, 0xc8
jne 0x38577a20
mov edx, dword [ebp + 8]
cmp byte [edx + 2], 0xff
jne 0x38577a20
cmp byte [edx + 3], 0x68
jne 0x38577a20
cmp byte [edx + 8], 0x89
jne 0x38577a20
mov bl, byte [edx + 9]
mov al, bl
and al, 0xc7
cmp al, 0x45
jne 0x38577a20
cmp byte [edx + 0xa], 0xfc
jne 0x38577a20
cmp byte [edx + 0xb], 0xe8
jne 0x38577a20
cmp byte [edx + 0x10], 0x83
jne 0x38577a20
cmp byte [edx + 0x11], 0xc4
jne 0x38577a20
cmp byte [edx + 0x12], 4
jne 0x38577a20
movzx eax, bl
and ecx, 7
shr eax, 3
and eax, 7
cmp ecx, eax
jne 0x38577a20
cmp ecx, 4
je 0x38577a20
cmp ecx, 5
je 0x38577a20
mov eax, dword [edx + 4]
test al, 3
jne 0x38577a20
add eax, 0xfffffe00
cmp eax, 0x30
ja 0x38577a20
cmp byte [edx + 0x13], 0x89
mov al, byte [edx + 0x14]
jne 0x38577a20
cmp al, 0x45
jne 0x385778be
mov eax, 3
jmp 0x385778cb
cmp al, 0x85
jne 0x38577a20
mov eax, 6
lea ecx, [edx + 0x13]
add ecx, eax
movzx esi, byte [ecx]
movzx edi, byte [ecx + 1]
cmp esi, 0x85
jne 0x38577916
cmp edi, 0xc0
jne 0x38577a20
cmp byte [ecx + 2], 0xc7
jne 0x38577a20
mov eax, 0xfc45
cmp word [ecx + 3], ax
jne 0x38577a20
cmp dword [ecx + 5], 2
jne 0x38577a20
lea eax, [esi - 0x7c]
jmp 0x385779ef
cmp esi, 0x33
jne 0x385779a7
mov eax, edi
and eax, 0xc0
cmp al, 0xc0
jne 0x38577a20
cmp byte [ecx + 2], 0xc7
jne 0x38577a20
mov eax, 0xfc45
cmp word [ecx + 3], ax
jne 0x38577a20
cmp dword [ecx + 5], 2
jne 0x38577a20
cmp byte [ecx + 9], 0x3b
jne 0x38577a20
mov bl, byte [ecx + 0xa]
mov al, bl
and al, 0xf8
cmp al, 0xc0
jne 0x38577a20
mov esi, edi
shr edi, 3
and esi, 7
and edi, 7
cmp esi, edi
jne 0x38577a20
cmp esi, 4
je 0x38577a20
cmp esi, 5
je 0x38577a20
or esi, 0xc0
movzx eax, bl
cmp eax, esi
jne 0x38577a20
mov eax, 0xb
jmp 0x385779ef
mov eax, esi
and eax, 0xf8
cmp al, 0xb8
jne 0x38577a20
cmp dword [ecx + 1], 2
jne 0x38577a20
mov eax, 0xc085
cmp word [ecx + 5], ax
jne 0x38577a20
cmp byte [ecx + 7], 0x89
jne 0x38577a20
mov bl, byte [ecx + 8]
mov al, bl
and al, 0xc7
cmp al, 0x45
jne 0x38577a20
cmp byte [ecx + 9], 0xfc
jne 0x38577a20
and esi, 7
movzx eax, bl
shl esi, 3
or esi, 0x45
cmp eax, esi
jne 0x38577a20
mov eax, 0xa
add eax, ecx
cmp byte [eax], 0x74
jne 0x38577a20
cmp byte [eax + 1], 9
jne 0x38577a20
mov ecx, 0xc88b
cmp word [eax + 2], cx
jne 0x38577a20
cmp byte [eax + 4], 0xe8
jne 0x38577a20
cmp dword [eax + 9], 0xc03302eb
jne 0x38577a20
pop edi
sub eax, edx
pop esi
add eax, 0xd
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x38578f50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
test eax, eax
je 0x38578fb8
lea esi, [eax + 0x18]
add eax, 0x20
mov dword [ebp + 0xc], eax
cmp esi, eax
ja 0x38578fb8
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x1400]
push 0x400
push edi
push 2
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push esi
push ebx
call fcn.38578e80
add esp, 0x20
test eax, eax
je 0x38578fb8
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x38578fb2
mov eax, dword [edi + 0x3c]
cmp eax, 0x3fc
ja 0x38578fb2
cmp dword [eax + ebx + 0x1400], 0x4550
je 0x38578fbf
inc esi
cmp esi, dword [ebp + 0xc]
jbe 0x38578f73
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x385822a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
cmp dword [ebx], 0x4550
jne 0x3858243e
cmp dword [ebx + 0xdc14], 0x800
jb 0x3858243e
mov eax, dword [ebx + 0x94cd]
cmp eax, dword [ebx + 0x9545]
jne 0x3858243e
push 0x2000
push ebx
call 0x37fbec60
add esp, 8
test eax, eax
jne 0x3858243e
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
call 0x37fbceb0
add esp, 0x10
test eax, eax
jne 0x3858243e
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x3858243e
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
sub eax, edx
add eax, ecx
mov dword [ebp - 0x10], eax
cmp eax, 0x800
jb 0x3858243e
add ebx, 0x1400
mov esi, edx
mov edx, dword [ebp + 8]
mov ecx, 0x200
mov edi, ebx
mov dword [ebp - 0xc], ebx
rep movsd dword es:[edi], dword [esi]
add edx, 0x1504
mov esi, 0x400
mov dword [ebp - 0x14], edx
jmp 0x38582360
mov al, byte [edx + esi]
sub al, byte [edx + esi - 4]
mov ecx, dword [edx + esi - 0x104]
movzx eax, al
xor ecx, 0xe8
mov dword [ebp - 8], eax
add eax, ecx
xor eax, dword [edx + esi - 0x100]
mov dword [ebp - 0x20], ecx
cmp eax, 0xed815d00
jne 0x38582431
mov edx, 0x800
sub edx, esi
shr edx, 2
test edx, edx
je 0x385823bb
mov edi, ecx
mov ecx, ebx
mov ebx, dword [ebp - 8]
mov eax, dword [ecx + esi]
lea ecx, [ecx + 4]
xor eax, edi
add edi, ebx
mov dword [ecx - 4], eax
sub edx, 1
jne 0x385823a6
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x8589
cmp word [eax + 0x1417], cx
jne 0x3858243e
mov ecx, dword [eax + 0x1419]
add ecx, 0xffbfeff7
add ecx, esi
cmp dword [ebp - 0x10], ecx
jb 0x3858242e
mov edx, ecx
sub edx, esi
mov edi, edx
shr edi, 2
imul edi, dword [ebp - 8]
add edi, dword [ebp - 0x20]
test dl, 3
jne 0x38582400
mov eax, dword [ebp - 4]
mov edx, dword [ecx + eax]
xor edx, edi
mov dword [ebx], edx
jmp 0x38582422
mov ebx, dword [ebp - 4]
and edx, 3
mov eax, ecx
sub eax, edx
mov eax, dword [eax + ebx]
mov ebx, dword [ebp - 0xc]
xor eax, edi
mov dword [ebx], eax
mov eax, dword [ebp + 8]
mov al, byte [edx + eax + 0x1400]
mov byte [ebx], al
mov dl, al
mov eax, dword [ebp - 0x10]
add eax, 0xfffffc48
cmp ecx, eax
jb 0x38582447
mov edx, dword [ebp - 0x14]
inc esi
cmp esi, 0x6fc
jb 0x38582360
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 4]
mov edi, ebx
add esi, 0x32
mov eax, 0x386
add esi, ecx
mov ecx, 0xe1
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
nop
xor byte [ebx], dl
lea ebx, [ebx + 1]
sub eax, 1
jne 0x38582460
pop edi
pop esi
invalid
add dword [eax], eax
invalid
Function at 0x3858eae0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
xor bh, bh
cmp dword [ebp + 0x10], eax
jbe 0x3858eb37
mov ecx, dword [ebp + 0x14]
sub dword [ebp + 0xc], ecx
push esi
push edi
mov edi, dword [ebp + 8]
jmp 0x3858eb00
lea ecx, [eax + 1]
movzx esi, cl
mov bl, byte [esi + edi]
add bh, bl
movzx edx, bh
mov cl, byte [edx + edi]
mov byte [esi + edi], cl
mov byte [edx + edi], bl
cmp eax, dword [ebp + 0x14]
jb 0x3858eb2f
movzx ecx, byte [esi + edi]
mov edx, dword [ebp + 0xc]
add cl, bl
movzx ecx, cl
movzx ecx, byte [ecx + edi]
xor byte [edx + eax], cl
inc eax
cmp eax, dword [ebp + 0x10]
jb 0x3858eb00
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x38590590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [ecx + 0xdc14]
xor edi, edi
sub esi, 0x401a
test esi, esi
jle 0x3859067a
lea ebx, [ecx + 0x1400]
jmp 0x385905c0
lea eax, [edi + 0x4000]
cmp esi, 0x800
jl 0x3859062f
push 0x800
push ebx
push eax
push ecx
call 0x37e6e7f0
add esp, 0x10
cmp eax, 0x800
jne 0x3859067a
mov eax, ebx
mov ecx, 0x800
xor byte [eax], 0x4a
lea eax, [eax + 1]
sub ecx, 1
jne 0x385905f0
test edi, edi
jne 0x38590609
mov eax, 0x5a4d
cmp word [ebx], ax
jne 0x3859067a
push 0x800
push ebx
push edi
push dword [ebp + 8]
call 0x37e6e820
add esp, 0x10
cmp eax, 0x800
jne 0x3859067a
sub esi, eax
add edi, eax
test esi, esi
jle 0x38590664
mov ecx, dword [ebp + 8]
jmp 0x385905c0
push esi
push ebx
push eax
push ecx
call 0x37e6e7f0
add esp, 0x10
cmp eax, esi
jne 0x3859067a
test esi, esi
jle 0x38590652
mov eax, ebx
mov ecx, esi
xor byte [eax], 0x4a
lea eax, [eax + 1]
sub ecx, 1
jne 0x38590647
push esi
push ebx
push edi
push dword [ebp + 8]
call 0x37e6e820
add esp, 0x10
cmp eax, esi
jne 0x3859067a
push edi
push dword [ebp + 8]
call 0x37e6e760
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x38592260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi], 0x4550
jne 0x3859238c
cmp dword [esi + 0xdc14], 0x800
jb 0x3859238c
mov ecx, dword [esi + 0x408]
sub ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x9545]
cmp ecx, edx
jl 0x3859238c
mov eax, dword [esi + 0x9541]
add eax, edx
cmp ecx, eax
jg 0x3859238c
push ecx
push esi
call 0x37ea5270
mov ebx, eax
add esp, 8
mov eax, dword [esi + 0x954d]
cmp ebx, eax
jl 0x3859238c
mov ecx, dword [esi + 0x9549]
add ecx, eax
cmp ebx, ecx
jg 0x3859238c
mov eax, dword [esi + 0xdc14]
sub eax, 0x300
cmp ebx, eax
jg 0x3859238c
push 0x300
lea edi, [esi + 0x1400]
push edi
push ebx
push esi
call 0x37e6d7f0
add esp, 0x10
cmp eax, 0x300
jne 0x3859238c
cmp dword [esi + 0x1436], 0xb9c93355
jne 0x3859238c
cmp byte [esi + 0x1445], 0xb3
jne 0x3859238c
mov eax, dword [esi + 0x143a]
cmp eax, 0x223
ja 0x3859238c
test eax, eax
je 0x38592357
mov edx, 0xffffeb23
lea ecx, [esi + 0x14dd]
sub edx, esi
lea ecx, [ecx]
mov al, byte [esi + 0x1446]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
lea eax, [edx + ecx]
cmp eax, dword [esi + 0x143a]
jb 0x38592340
xor edx, edx
lea ecx, [esi + 0x14fa]
nop
cmp byte [ecx - 5], 0xb8
jne 0x3859238c
cmp byte [ecx], 0xab
jne 0x3859238c
mov eax, dword [ecx - 4]
inc edx
mov dword [edi], eax
add ecx, 6
add edi, 4
cmp edx, 4
jb 0x38592360
pop edi
mov dword [esi + 0x1410], ebx
mov eax, 1
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret