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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x3c]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x10c05c0
mov ebx, eax
sar ebx, 1
cmp ebx, 0xfffffffb
jge 0x10c05db
mov eax, 0xffffffff
jmp 0x10c05de
add eax, 0xa
push eax
call fcn.01088730
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
mov ecx, eax
add ecx, 8
movzx edx, word [esi]
test dx, dx
je 0x10c0621
add esi, 2
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [esi]
add esi, 2
test dx, dx
jne 0x10c0610
mov word [ecx], 0
lea ecx, [ebx*2 + 8]
mov word [esp + 8], cx
lea ecx, [ebx*2 + 0xa]
mov word [esp + 0xa], cx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x585b5a45
mov byte [esp + 4], 0
xor ecx, ecx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx]
mov ebx, edx
xor ebx, 0xe43ac66f
add ebx, ecx
xor ebx, esi
mov esi, ebx
and esi, 1
xor ebx, 1
lea ebx, [ebx + esi*2]
add bl, 0xd4
mov byte [esp + edx], bl
inc edx
add ecx, 2
cmp edx, 5
jne 0x10c0690
mov esi, dword [esp]
mov ecx, dword [0x10ccdc4]
test ecx, ecx
je 0x10c0711
xor edx, edx
mov ebx, dword [0x10ccdc8]
nop
cmp dword [ebx + edx*8], 0x3174e150
je 0x10c06e0
inc edx
cmp ecx, edx
jne 0x10c06d0
jmp 0x10c0711
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x10c0711
mov edx, esp
lea esi, [esp + 0x10]
push edi
push ebp
push edx
push esi
push dword [esp + 0x54]
push dword [esp + 0x54]
push 0x18
push ecx
push dword [0x10ccdcc]
mov edi, eax
call fcn.010bdb70
add esp, 0x24
mov esi, eax
mov eax, edi
push eax
call fcn.01088740
add esp, 4
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10c0730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov edi, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [edi + eax + 2], 0
lea eax, [eax + 2]
jne 0x10c0750
mov esi, eax
sar esi, 1
and eax, 8
mov ecx, esi
xor ecx, 4
lea ebx, [ecx + eax]
add eax, ecx
inc eax
test eax, eax
jns 0x10c0778
mov eax, 0xffffffff
jmp 0x10c077f
lea eax, [ebx*2 + 2]
push eax
call fcn.01088730
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
mov word [eax + 8], 0
mov ecx, eax
add ecx, 8
movzx edx, word [edi]
test dx, dx
je 0x10c07c1
add edi, 2
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [edi]
add edi, 2
test dx, dx
jne 0x10c07b0
mov word [ecx], 0
mov ecx, ebx
and ecx, 0xfffd
and esi, 2
mov edx, esi
xor edx, 2
imul edx, ecx
or ebx, 2
imul ebx, esi
lea ecx, [ebx + edx]
mov word [esp], cx
lea ecx, [ebx + edx]
add ecx, 2
mov word [esp + 2], cx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0x40
mov ecx, esp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x585b5a45
mov byte [esp + 0x24], 0
xor ecx, ecx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx + 0x20]
mov edi, edx
xor edi, 0xe43ac66f
add edi, ecx
xor edi, esi
mov esi, edi
and esi, 1
xor edi, 1
lea ebx, [edi + esi*2]
add bl, 0xd4
mov byte [esp + edx + 0x20], bl
inc edx
add ecx, 2
cmp edx, 5
jne 0x10c0840
mov esi, dword [esp + 0x20]
mov ecx, dword [0x10ccdc4]
test ecx, ecx
je 0x10c08c9
xor edx, edx
mov edi, dword [0x10ccdc8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x1ce638e1
je 0x10c08a0
inc edx
cmp ecx, edx
jne 0x10c0890
jmp 0x10c08c9
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x10c08c9
lea edx, [esp + 0x20]
lea esi, [esp + 8]
push edx
push esi
push 8
push ecx
push dword [0x10ccdcc]
mov edi, eax
call fcn.010bdb70
add esp, 0x14
mov esi, eax
mov eax, edi
push eax
call fcn.01088740
add esp, 4
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x10c08df
mov eax, dword [esp + 0x40]
mov dword [ecx], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10c08f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp], 0x585b5a45
mov byte [esp + 4], 0
xor eax, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edx]
mov ebx, edx
xor ebx, 0xe43ac66f
add ebx, eax
xor ebx, ecx
mov ecx, ebx
and ecx, 1
xor ebx, 1
lea ecx, [ebx + ecx*2]
add cl, 0xd4
mov byte [esp + edx], cl
inc edx
add eax, 2
cmp edx, 5
jne 0x10c0920
mov eax, dword [esp]
mov edx, dword [0x10ccdc4]
test edx, edx
je 0x10c0998
xor ebx, ebx
mov ecx, dword [0x10ccdc8]
nop
cmp dword [ecx + ebx*8], 0x9c142cda
je 0x10c0970
inc ebx
cmp edx, ebx
jne 0x10c0960
jmp 0x10c0998
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x10c0998
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 0x14
push edx
push dword [0x10ccdcc]
call fcn.010bdb70
add esp, 0x20
test edi, edi
je 0x10c09a2
mov ecx, dword [esp + 8]
mov dword [edi], ecx
test esi, esi
je 0x10c09ae
cmp byte [esp + 0x15], 0
setne byte [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10c09c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov dword [esp], 0x585b5a45
mov byte [esp + 4], 0
xor eax, eax
xor ebx, ebx
nop
movzx edi, byte [esp + ebx]
mov ebp, ebx
xor ebp, 0xe43ac66f
add ebp, eax
xor ebp, edi
mov edi, ebp
and edi, 1
xor ebp, 1
lea ecx, [edi*2]
add ecx, ebp
add cl, 0xd4
mov byte [esp + ebx], cl
inc ebx
add eax, 2
cmp ebx, 5
jne 0x10c09e0
mov eax, dword [esp]
mov ebx, dword [0x10ccdc4]
test ebx, ebx
je 0x10c0a6e
xor ebp, ebp
mov edi, dword [0x10ccdc8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0x5b126fe8
je 0x10c0a40
inc ebp
cmp ebx, ebp
jne 0x10c0a30
jmp 0x10c0a6e
mov ebx, dword [edi + ebp*8 + 4]
cmp ebx, eax
je 0x10c0a6e
lea eax, [esp + 8]
push 0
push 0
push edx
push esi
push eax
push 0
push 0
push 0
push dword [esp + 0x44]
push 0x24
push ebx
push dword [0x10ccdcc]
call fcn.010bdb70
add esp, 0x30
cmp eax, 0x103
jne 0x10c0b09
mov dword [esp], 0x585b5a45
mov byte [esp + 4], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx]
mov esi, ecx
xor esi, 0xe43ac66f
add esi, eax
xor esi, edx
mov edx, esi
and edx, 1
xor esi, 1
lea edx, [esi + edx*2]
add dl, 0xd4
mov byte [esp + ecx], dl
inc ecx
add eax, 2
cmp ecx, 5
jne 0x10c0a90
mov eax, dword [esp]
mov ecx, dword [0x10ccdc4]
test ecx, ecx
je 0x10c0b01
xor edx, edx
mov edi, dword [0x10ccdc8]
nop
cmp dword [edi + edx*8], 0x4c697c35
je 0x10c0ae0
inc edx
cmp ecx, edx
jne 0x10c0ad0
jmp 0x10c0b01
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x10c0b01
push 0
push 0
push dword [esp + 0x2c]
push 0xc
push ecx
push dword [0x10ccdcc]
call fcn.010bdb70
add esp, 0x18
test eax, eax
js 0x10c0b09
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x30]
test edx, edx
je 0x10c0b20
xor ecx, ecx
cmp eax, 0xc0000011
je 0x10c0b1e
mov ecx, dword [esp + 0xc]
mov dword [edx], ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10c0b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov dword [esp], 0x585b5a45
mov byte [esp + 4], 0
xor eax, eax
xor ebx, ebx
nop
movzx edi, byte [esp + ebx]
mov ebp, ebx
xor ebp, 0xe43ac66f
add ebp, eax
xor ebp, edi
mov edi, ebp
and edi, 1
xor ebp, 1
lea ecx, [edi*2]
add ecx, ebp
add cl, 0xd4
mov byte [esp + ebx], cl
inc ebx
add eax, 2
cmp ebx, 5
jne 0x10c0b50
mov eax, dword [esp]
mov ebx, dword [0x10ccdc4]
test ebx, ebx
je 0x10c0bde
xor ebp, ebp
mov edi, dword [0x10ccdc8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0xa2545bf7
je 0x10c0bb0
inc ebp
cmp ebx, ebp
jne 0x10c0ba0
jmp 0x10c0bde
mov ebx, dword [edi + ebp*8 + 4]
cmp ebx, eax
je 0x10c0bde
lea eax, [esp + 8]
push 0
push 0
push edx
push esi
push eax
push 0
push 0
push 0
push dword [esp + 0x44]
push 0x24
push ebx
push dword [0x10ccdcc]
call fcn.010bdb70
add esp, 0x30
cmp eax, 0x103
jne 0x10c0c79
mov dword [esp], 0x585b5a45
mov byte [esp + 4], 0
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx]
mov esi, ecx
xor esi, 0xe43ac66f
add esi, eax
xor esi, edx
mov edx, esi
and edx, 1
xor esi, 1
lea edx, [esi + edx*2]
add dl, 0xd4
mov byte [esp + ecx], dl
inc ecx
add eax, 2
cmp ecx, 5
jne 0x10c0c00
mov eax, dword [esp]
mov ecx, dword [0x10ccdc4]
test ecx, ecx
je 0x10c0c71
xor edx, edx
mov edi, dword [0x10ccdc8]
nop
cmp dword [edi + edx*8], 0x4c697c35
je 0x10c0c50
inc edx
cmp ecx, edx
jne 0x10c0c40
jmp 0x10c0c71
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x10c0c71
push 0
push 0
push dword [esp + 0x2c]
push 0xc
push ecx
push dword [0x10ccdcc]
call fcn.010bdb70
add esp, 0x18
test eax, eax
js 0x10c0c79
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x30]
test edx, edx
je 0x10c0c87
mov ecx, dword [esp + 0xc]
mov dword [edx], ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10c0c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
mov ebx, 0xfffffffe
nop
nop
nop
nop
cmp word [edi + ebx + 2], 0
lea ebx, [ebx + 2]
jne 0x10c0cb0
sar ebx, 1
mov ecx, ebx
and ecx, 2
mov ebp, ebx
or ebx, 2
imul ebx, ecx
xor ecx, 2
and ebp, 0xfffd
imul ebp, ecx
lea ecx, [ebx + ebp]
mov word [esp + 8], cx
lea ecx, [ebx + ebp]
add ecx, 2
mov word [esp + 0xa], cx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x40
lea eax, [esp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x585b5a45
mov byte [esp + 4], 0
xor eax, eax
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edi]
mov ebx, edi
xor ebx, 0xe43ac66f
add ebx, eax
xor ebx, ecx
mov ecx, ebx
and ecx, 1
xor ebx, 1
lea ecx, [ebx + ecx*2]
add cl, 0xd4
mov byte [esp + edi], cl
inc edi
add eax, 2
cmp edi, 5
jne 0x10c0d30
mov eax, dword [esp]
mov edi, dword [0x10ccdc4]
test edi, edi
je 0x10c0da5
xor ebx, ebx
mov ebp, dword [0x10ccdc8]
nop
cmp dword [ebp + ebx*8], 0x40915fe0
je 0x10c0d81
inc ebx
cmp edi, ebx
jne 0x10c0d70
jmp 0x10c0da5
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x10c0da5
lea eax, [esp + 0x10]
push esi
push eax
push edx
push dword [esp + 0x4c]
push 0x10
push edi
push dword [0x10ccdcc]
call fcn.010bdb70
add esp, 0x1c
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40219a
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
cmp dword [esp + 0x24], 0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
je 0x4021ad
mov eax, dword [esi]
push dword [esp + 0x34]
call dword [eax + 8]
mov ebp, dword [esp + 0x2c]
xorps xmm0, xmm0
xor edi, edi
movlpd qword [esp + 0x20], xmm0
cmp dword [esp + 0x30], 8
jb 0x40225b
push 8
pop eax
sub eax, ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x18]
mov edx, dword [ebp]
mov ebx, dword [ebp + 4]
test eax, eax
jle 0x402218
mov ecx, dword [esi + 0x1c]
mov esi, ecx
mov dword [esp + 0x18], ecx
sub edx, dword [esi + eax*8 + 4]
mov ecx, ebx
and ecx, 0x1f
ror edx, cl
xor edx, ebx
sub ebx, dword [esi + eax*8]
mov ecx, edx
and ecx, 0x1f
ror ebx, cl
xor ebx, edx
dec eax
test eax, eax
jg 0x4021f6
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x1c]
xor ecx, ecx
add edi, 8
sub ebx, dword [eax]
sub edx, dword [eax + 4]
or ecx, ebx
mov eax, dword [ebp]
xor edx, dword [esp + 0x34]
xor ecx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [ebp], edx
mov dword [ebp + 4], ecx
add ebp, 8
add eax, ebp
cmp eax, dword [esp + 0x30]
jbe 0x4021e0
mov ebp, dword [esp + 0x2c]
jmp 0x4022f7
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
jmp 0x4022f7
mov bl, byte [edi + ebp]
mov eax, dword [esi + 0x18]
mov dh, bl
shr dh, 4
mov cl, bl
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x4022db
mov eax, dword [esi + 0x1c]
mov esi, eax
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
sub bl, byte [esi + ebp*8 + 4]
movzx eax, dh
and bl, 0xf
and eax, 3
mov dl, bl
push 4
pop ecx
sub ecx, eax
shl bl, cl
mov cl, dh
and cl, 3
shr dl, cl
or bl, dl
xor bl, dh
sub dh, byte [esi + ebp*8]
and dh, 0xf
movzx eax, bl
and eax, 3
mov dl, dh
push 4
pop ecx
sub ecx, eax
shl dh, cl
mov cl, bl
and cl, 3
shr dl, cl
or dh, dl
xor dh, bl
dec ebp
test ebp, ebp
jg 0x40228a
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
mov cl, byte [edi + ebp]
mov eax, dword [esi + 0x1c]
sub bl, byte [eax + 4]
sub dh, byte [eax]
and bl, 0xf
shl dh, 4
add bl, dh
xor bl, byte [esp + 0x34]
mov byte [edi + ebp], bl
inc edi
mov byte [esp + 0x34], cl
cmp edi, dword [esp + 0x30]
jb 0x402268
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc
Function at 0x40251b
Capabilities:
Encrypt data using rc6

Disassembly:
sub esp, 0x1c
movsd xmm0, qword [0x43b200]
push ebx
push ebp
push esi
push edi
push ecx
push ecx
mov edi, ecx
movsd qword [esp], xmm0
call fcn.0041c1e0
pop ecx
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
pop ecx
call fcn.0042bd91
mov esi, eax
mov dword [esp + 0x20], eax
shl esi, 2
push esi
call fcn.0041c069
push esi
mov ebp, eax
xor ebx, ebx
push ebx
push ebp
mov dword [esp + 0x2c], ebp
call fcn.00417080
push 0x10
lea ecx, [edi + 8]
push ecx
push ebp
call fcn.004171e0
mov eax, dword [edi + 0x18]
add esp, 0x1c
lea esi, [eax*2 + 2]
cmp dword [edi + 0x1c], ebx
je 0x40258f
push dword [edi + 0x1c]
call fcn.0041c049
pop ecx
mov eax, esi
shl eax, 2
push eax
call fcn.0041c069
mov dword [edi + 0x1c], eax
pop ecx
test eax, eax
je 0x402641
xor edx, edx
mov dword [eax], 0xb7e15163
inc edx
cmp esi, edx
jbe 0x4025c7
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx + edx*4 - 4]
sub eax, 0x61c88647
mov dword [ecx + edx*4], eax
inc edx
cmp edx, esi
jb 0x4025b3
imul eax, esi, 3
mov edx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
test eax, eax
je 0x402637
mov ecx, dword [edi + 0x1c]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
mov eax, dword [ecx + eax*4]
add eax, edx
add eax, dword [esp + 0x14]
rol eax, 3
mov dword [ecx + ebp*4], eax
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
lea ecx, [edx + eax]
add edx, eax
mov eax, dword [esp + 0x10]
and ecx, 0x1f
add edx, dword [ebp + ebx*4]
rol edx, cl
inc eax
mov dword [ebp + ebx*4], edx
mov dword [esp + 0x24], edx
xor edx, edx
div esi
lea eax, [ebx + 1]
mov dword [esp + 0x10], edx
xor edx, edx
div dword [esp + 0x20]
sub dword [esp + 0x18], 1
mov ebx, edx
mov edx, dword [esp + 0x24]
jne 0x4025dc
push ebp
call fcn.0041c049
xor eax, eax
pop ecx
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x402d48
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 1
mov ecx, dword [esi + 8]
call fcn.00408b66
mov eax, dword [esp + 0x28]
lea ebx, [esp + 0x18]
test eax, eax
push 0
cmovne ebx, eax
xor ecx, ecx
push ebx
test eax, eax
mov eax, dword [esp + 0x2c]
push eax
push dword [esp + 0x2c]
sete cl
mov dword [esp + 0x20], eax
and dword [ebx], 0
push dword [esi + 0x21c]
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x24], 0
mov edi, eax
mov ebp, dword [ebx]
jbe 0x402deb
test edi, edi
jne 0x402deb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x402dbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xa2
jne 0x402deb
mov eax, dword [esp + 0x10]
sub eax, dword [ebx]
mov ecx, dword [esp + 0x20]
add ecx, dword [ebx]
push 0
push ebx
push eax
push ecx
push dword [esi + 0x21c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
add ebp, dword [ebx]
mov edi, eax
cmp dword [esp + 0x10], 0
jne 0x402d9d
mov dword [ebx], ebp
add dword [esi + 0x220], ebp
adc dword [esi + 0x224], 0
test edi, edi
je 0x402e12
cmp dword [esp + 0x28], 0
jne 0x402e0b
cmp ebp, dword [esp + 0x24]
jne 0x402e12
mov eax, edi
jmp 0x402ecf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 8]
mov ebx, eax
push 3
call fcn.00408b66
mov ecx, dword [esi + 8]
push 1
push 0x439e68
call fcn.00408a3f
mov ecx, dword [esi + 8]
push ecx
test edi, edi
je 0x402e3f
push 0
jmp 0x402e40
push ebx
call fcn.00409059
push dword [esi + 0x21c]
push str._IXStream__Handle__p_
push dword [esi + 8]
call fcn.00408d2e
push dword [esp + 0x20]
push str._IXStream__bExact__d_
push dword [esi + 8]
call fcn.00408d2e
push ebp
push dword [esp + 0x40]
push str._IXStream__A_lire__u___lu__u_
push dword [esi + 8]
call fcn.00408d2e
mov ecx, dword [esi + 0x220]
mov eax, dword [esi + 0x224]
sub ecx, ebp
sbb eax, 0
push eax
push ecx
push str._IXStream__Offset__I64u_
push dword [esi + 8]
call fcn.00408d2e
add esp, 0x38
mov ecx, esi
call fcn.004028e3
push eax
push 0x6d63
push 0x439e68
push dword [esi + 8]
call fcn.00408b9f
add esp, 0x10
mov ecx, esi
call fcn.004028e3
mov ecx, dword [esi + 8]
push eax
push 1
call fcn.00408db4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x402d4d
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 1
mov ecx, dword [esi + 8]
call fcn.00408b66
mov eax, dword [esp + 0x28]
lea ebx, [esp + 0x18]
test eax, eax
push 0
cmovne ebx, eax
xor ecx, ecx
push ebx
test eax, eax
mov eax, dword [esp + 0x2c]
push eax
push dword [esp + 0x2c]
sete cl
mov dword [esp + 0x20], eax
and dword [ebx], 0
push dword [esi + 0x21c]
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x24], 0
mov edi, eax
mov ebp, dword [ebx]
jbe 0x402deb
test edi, edi
jne 0x402deb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x402dbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xa2
jne 0x402deb
mov eax, dword [esp + 0x10]
sub eax, dword [ebx]
mov ecx, dword [esp + 0x20]
add ecx, dword [ebx]
push 0
push ebx
push eax
push ecx
push dword [esi + 0x21c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
add ebp, dword [ebx]
mov edi, eax
cmp dword [esp + 0x10], 0
jne 0x402d9d
mov dword [ebx], ebp
add dword [esi + 0x220], ebp
adc dword [esi + 0x224], 0
test edi, edi
je 0x402e12
cmp dword [esp + 0x28], 0
jne 0x402e0b
cmp ebp, dword [esp + 0x24]
jne 0x402e12
mov eax, edi
jmp 0x402ecf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 8]
mov ebx, eax
push 3
call fcn.00408b66
mov ecx, dword [esi + 8]
push 1
push 0x439e68
call fcn.00408a3f
mov ecx, dword [esi + 8]
push ecx
test edi, edi
je 0x402e3f
push 0
jmp 0x402e40
push ebx
call fcn.00409059
push dword [esi + 0x21c]
push str._IXStream__Handle__p_
push dword [esi + 8]
call fcn.00408d2e
push dword [esp + 0x20]
push str._IXStream__bExact__d_
push dword [esi + 8]
call fcn.00408d2e
push ebp
push dword [esp + 0x40]
push str._IXStream__A_lire__u___lu__u_
push dword [esi + 8]
call fcn.00408d2e
mov ecx, dword [esi + 0x220]
mov eax, dword [esi + 0x224]
sub ecx, ebp
sbb eax, 0
push eax
push ecx
push str._IXStream__Offset__I64u_
push dword [esi + 8]
call fcn.00408d2e
add esp, 0x38
mov ecx, esi
call fcn.004028e3
push eax
push 0x6d63
push 0x439e68
push dword [esi + 8]
call fcn.00408b9f
add esp, 0x10
mov ecx, esi
call fcn.004028e3
mov ecx, dword [esi + 8]
push eax
push 1
call fcn.00408db4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x40355b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xchg esp, eax
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004031ab
push eax
push esi
push dword [ebp + 8]
call fcn.00403160
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
loope 0x403649
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004031ab
push eax
push esi
push dword [ebp + 8]
call fcn.00403160
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040319b
stosd dword es:[edi], eax
adc ebx, dword [esi - 0x3a]
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
jb 0x403631
inc ebp
lea edi, [edx - 0x3a]
inc ebp
invalid
jae 0x403639
inc ebp
invalid
push edi
mov byte [ebp - 0x70], 0x16
call fcn.0040319b
test dword [ebx - 0x7a72494f], esp
jl 0x403686
invalid
invalid
Function at 0x403874
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x403872
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x403890
movzx eax, ax
lea eax, [eax + eax*4]
or byte [ebx + 0x104c78c], 0
add dword [eax], eax
invalid
ror byte [ebp - 0x73747ffc], 0xc7
add al, 1
add dword [eax], eax
invalid
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4038ee
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4038d5
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4038de
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4038e8
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4038ca
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x403854
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40393b
dec eax
je 0x403932
sub eax, 3
je 0x403929
mov dword [ebp - 4], 0x40
jmp 0x403958
mov dword [ebp - 4], 4
jmp 0x40393e
mov dword [ebp - 4], 0x20
jmp 0x40393e
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40398a
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40390a
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040319b
lodsb al, byte [esi]
fcmovbe st(0), st(4)
jle 0x40397e
push dword [ebp + 0x14]
jne 0x403995
push 1
push esi
call edi
mov eax, esi
jmp 0x403996
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret