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

Disassembly:
push ebx
push edi
push esi
mov edx, 0xfffffffe
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp word [ecx + edx + 2], 0
lea edx, [edx + 2]
jne 0x42f130
test edx, edx
je 0x42f1aa
sar edx, 1
lea esi, [edx - 1]
mov edi, edx
and edi, 3
je 0x42f162
nop
nop
nop
nop
nop
dec edx
movzx ebx, word [ecx]
add ecx, 2
xor ebx, eax
imul eax, ebx, 0x1000193
dec edi
jne 0x42f150
cmp esi, 3
jb 0x42f1aa
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
movzx edi, word [ecx + esi*2]
xor edi, eax
imul eax, edi, 0x1000193
movzx edi, word [ecx + esi*2 + 2]
xor edi, eax
imul eax, edi, 0x1000193
movzx edi, word [ecx + esi*2 + 4]
xor edi, eax
imul eax, edi, 0x1000193
movzx edi, word [ecx + esi*2 + 6]
xor edi, eax
imul eax, edi, 0x1000193
add esi, 4
cmp edx, esi
jne 0x42f170
pop esi
pop edi
pop ebx
ret
Function at 0x42fbc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov edi, dword [esp + 0x40]
mov ebp, 0xffffffff
mov edx, 0xfffffffd
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, ebp
add edx, 3
cmp byte [edi + ebp + 1], 0
lea ebp, [ebp + 1]
jne 0x42fbe0
shr edx, 2
movzx eax, byte [edi + ebp - 1]
cmp eax, 0x3d
je 0x42fc01
cmp eax, 0x2e
jne 0x42fc02
dec edx
mov eax, ebp
not eax
and eax, 2
mov ecx, ebp
and ecx, 0xfffffffd
sub ecx, eax
movzx eax, byte [edi + ecx]
cmp eax, 0x3d
je 0x42fc1e
cmp eax, 0x2e
jne 0x42fc1f
dec edx
mov dword [esp], edx
mov edx, 0
test ebp, ebp
je 0x42fd1b
xor ecx, ecx
mov edi, 2
jmp 0x42fc52
lea eax, [edi + 4]
add edi, 2
mov ecx, edx
cmp edi, ebp
mov edi, eax
jae 0x42fd1b
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x40]
mov esi, ebp
mov ebp, eax
movzx eax, byte [eax + edi - 2]
push eax
call fcn.00416c40
add esp, 4
mov ebx, eax
movzx eax, byte [ebp + edi - 1]
mov ebp, esi
mov esi, dword [esp + 8]
push eax
call fcn.00416c40
add esp, 4
mov bh, al
shr al, 4
and al, 3
shl bl, 2
or bl, al
lea edx, [esi + 1]
mov eax, dword [esp + 0x44]
mov byte [eax + esi], bl
cmp edi, ebp
jae 0x42fc40
mov eax, dword [esp + 0x40]
movzx eax, byte [eax + edi]
push eax
mov dword [esp + 8], edx
call fcn.00416c40
mov edx, dword [esp + 8]
add esp, 4
cmp al, 0x40
je 0x42fc40
mov bl, al
shl bh, 4
xor al, 0xc0
mov ecx, ebx
or cl, 0x3c
and cl, al
shr cl, 2
add cl, bh
lea edx, [esi + 2]
mov eax, dword [esp + 0x44]
mov byte [eax + esi + 1], cl
lea eax, [edi + 1]
cmp eax, ebp
jae 0x42fc40
mov eax, dword [esp + 0x40]
movzx eax, byte [eax + edi + 1]
push eax
mov dword [esp + 8], edx
call fcn.00416c40
mov edx, dword [esp + 8]
add esp, 4
cmp al, 0x40
je 0x42fc40
shl bl, 6
add al, bl
mov ecx, dword [esp + 0x44]
mov byte [ecx + esi + 2], al
add esi, 3
mov edx, esi
jmp 0x42fc40
mov ecx, dword [esp]
cmp edx, ecx
mov eax, 0
jne 0x42fdc7
mov ebp, dword [esp + 0x44]
lea eax, [ebp + 0x20]
mov dword [esp + 8], eax
mov esi, ecx
xor esi, 0x20
lea edx, [ecx + ecx]
and edx, 0xffffffbe
mov dword [esp], ecx
lea edi, [esp + 0xc]
mov eax, ebp
mov ecx, 8
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
lea edi, [esp + 0x2c]
xor ebx, ebx
xor ecx, ecx
mov eax, dword [esp + 8]
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, edx
sub eax, esi
je 0x42fdc2
neg edx
mov ecx, dword [esp]
xor ecx, edx
cmp ecx, 0xffffffdf
je 0x42fdac
mov ecx, eax
and ecx, 0xfffffffe
xor ebx, ebx
nop
nop
nop
mov edx, ebx
and edx, 0x1e
movzx edx, byte [esp + edx + 0xc]
xor dl, byte [ebp + ebx + 0x20]
mov byte [ebp + ebx], dl
lea edx, [ebx + 1]
and edx, 0x1f
movzx edx, byte [esp + edx + 0xc]
xor dl, byte [ebp + ebx + 0x21]
mov byte [ebp + ebx + 1], dl
add ebx, 2
cmp ecx, ebx
jne 0x42fd80
test al, 1
je 0x42fdc2
mov ecx, ebx
and ecx, 0x1f
movzx ecx, byte [esp + ecx + 0xc]
xor cl, byte [ebp + ebx + 0x20]
mov byte [ebp + ebx], cl
mov byte [ebp + eax], 0
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x432560
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [ebp + 8]
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x43f284]
Function at 0x432620
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, ecx
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0x9c9d9e9f
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x432699
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
mov edx, 0xc3
sub edx, eax
add eax, 0x2dbd7a3c
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
add al, 0x5c
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x432660
mov edi, dword [esp + 0x10]
mov eax, dword [0x441028]
test eax, eax
je 0x4326e6
xor ecx, ecx
mov edx, dword [0x44102c]
nop
nop
cmp dword [edx + ecx*8], 0x10def2fc
je 0x4326c0
inc ecx
cmp eax, ecx
jne 0x4326b0
jmp 0x4326e6
mov eax, dword [edx + ecx*8 + 4]
cmp eax, edi
je 0x4326e6
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 5
push 4
push dword [0x441030]
push eax
call fcn.00433e50
add esp, 0x1c
mov edi, eax
cmp edi, 0xc0000004
jne 0x432838
mov dword [esp + 0x20], esi
push dword [esp + 8]
call fcn.004324a0
add esp, 4
mov dword [esp + 4], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x10], 0x9c9d9e9f
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x432779
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x10]
mov esi, 0xc3
sub esi, eax
add eax, 0x2dbd7a3c
xor esi, eax
and esi, edx
xor esi, eax
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0xc]
add al, 0x5c
mov edx, dword [esp]
mov byte [esp + edx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x432740
mov edi, dword [esp + 0x10]
mov edx, dword [0x441028]
test edx, edx
je 0x4327c5
xor ebx, ebx
mov esi, dword [0x44102c]
nop
cmp dword [esi + ebx*8], 0x10def2fc
je 0x4327a0
inc ebx
cmp edx, ebx
jne 0x432790
jmp 0x4327c5
mov edx, dword [esi + ebx*8 + 4]
cmp edx, edi
je 0x4327c5
push 0
push ecx
mov eax, dword [esp + 0xc]
push eax
push 5
push 4
push dword [0x441030]
push edx
call fcn.00433e50
add esp, 0x1c
mov edi, eax
test edi, edi
js 0x43282c
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 4]
mov esi, dword [eax]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, dword [eax + esi + 0x3c]
add eax, esi
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, word [edi + ebx]
movzx edx, word [ecx + ebx]
test si, si
je 0x432805
add ebx, 2
cmp si, dx
je 0x4327f0
cmp si, dx
je 0x432817
mov esi, dword [eax]
test esi, esi
jne 0x4327e0
mov edi, 0xc0000225
jmp 0x43282c
mov ecx, dword [eax + 0x44]
mov edx, dword [esp + 0x20]
mov dword [edx + 4], ecx
mov eax, dword [eax + 0xdc]
mov dword [edx + 8], eax
xor edi, edi
push dword [esp + 4]
call fcn.00432560
add esp, 4
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x432870
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [ecx + 4]
test edx, edx
je 0x432881
xor eax, eax
cmp dword [ecx], 0
je 0x432889
ret 4
mov eax, 0xc0000008
ret 4
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 8], 0x9c9d9e9f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x432939
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
mov esi, 0xc3
sub esi, eax
add eax, 0x2dbd7a3c
xor esi, eax
and esi, edx
xor esi, eax
mov dword [esp + 4], esi
mov eax, dword [esp + 4]
add al, 0x5c
mov edx, dword [esp]
mov byte [esp + edx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x432900
mov eax, dword [esp + 8]
mov esi, dword [0x441028]
test esi, esi
je 0x432995
mov edx, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x44102c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xcde6ec36
je 0x432970
inc edi
cmp esi, edi
jne 0x432960
jmp 0x432995
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x432995
lea eax, [esp + 0x1c]
lea edi, [esp + 0x24]
push eax
push edi
push edx
push ecx
push 4
push dword [0x441030]
push esi
call fcn.00433e50
add esp, 0x1c
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x4329a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x432a82
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov dword [esp + 8], 0x9c9d9e9f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 0xb
ja 0x432a1b
nop
nop
nop
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
mov edi, 0xc3
sub edi, edx
add edx, 0x2dbd7a3c
xor edi, edx
and edi, esi
xor edi, edx
mov dword [esp + 4], edi
mov edx, dword [esp + 4]
add dl, 0x5c
mov esi, dword [esp]
mov byte [esp + esi + 8], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 0xc
jb 0x4329e0
mov edx, dword [0x441028]
test edx, edx
je 0x432a6e
mov esi, dword [esp + 8]
xor edi, edi
mov ebx, dword [0x44102c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xa3c1f363
je 0x432a50
inc edi
cmp edx, edi
jne 0x432a40
jmp 0x432a6e
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0x432a6e
push eax
push 1
push dword [0x441030]
push edx
mov esi, ecx
call fcn.00433e50
mov ecx, esi
add esp, 0x10
mov dword [ecx], 0
mov dword [ecx + 4], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x432a90
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xc0000008
cmp dword [ecx + 4], 0
je 0x432c89
mov edx, dword [ecx]
test edx, edx
je 0x432c89
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov dword [esp + 8], 0x9c9d9e9f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x432b19
nop
nop
nop
nop
mov eax, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
mov edi, 0xc3
sub edi, eax
add eax, 0x2dbd7a3c
xor edi, eax
and edi, esi
xor edi, eax
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x18]
add al, 0x5c
mov esi, dword [esp]
mov byte [esp + esi + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x432ae0
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 8]
mov ebx, dword [0x441028]
test ebx, ebx
je 0x432b77
xor edi, edi
mov esi, dword [0x44102c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edi*8], 0x45a3f4b9
je 0x432b53
inc edi
cmp ebx, edi
jne 0x432b40
mov edi, dword [ebp + 0x10]
jmp 0x432b77
mov esi, dword [esi + edi*8 + 4]
cmp esi, eax
mov edi, dword [ebp + 0x10]
je 0x432b77
push dword [ebp + 8]
push edx
push 2
push dword [0x441030]
push esi
mov esi, ecx
call fcn.00433e50
mov ecx, esi
add esp, 0x14
mov esi, dword [ebp + 0xc]
cmp esi, 1
mov edx, edi
sbb edx, 0
jl 0x432c75
cmp eax, 0xc000010a
jne 0x432c75
mov edx, 0xffffd8f0
mov eax, esi
mul edx
sub edx, esi
imul esi, edi, 0xffffd8f0
add esi, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov edx, dword [ecx]
mov dword [esp + 8], 0x9c9d9e9f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xb
ja 0x432c1c
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov esi, dword [esp + 4]
movzx esi, byte [esp + esi + 8]
mov edi, 0xc3
sub edi, eax
add eax, 0x2dbd7a3c
xor edi, eax
and edi, esi
xor edi, eax
mov dword [esp], edi
mov eax, dword [esp]
add al, 0x5c
mov esi, dword [esp + 4]
mov byte [esp + esi + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xc
jb 0x432be0
mov eax, dword [esp + 8]
mov esi, dword [0x441028]
test esi, esi
je 0x432c75
xor edi, edi
mov ebx, dword [0x44102c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x39c83604
je 0x432c50
inc edi
cmp esi, edi
jne 0x432c40
jmp 0x432c75
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x432c75
lea eax, [esp + 0x18]
push eax
push 0
push edx
push 3
push dword [0x441030]
push esi
mov esi, ecx
call fcn.00433e50
mov ecx, esi
add esp, 0x18
test eax, eax
js 0x432c82
mov esi, eax
call fcn.004329a0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x432c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov edx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], 0x9c9d9e9f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
test edx, edx
jne 0x432cc1
lea edx, [esp + 0x18]
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xb
ja 0x432d09
mov eax, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
mov edi, 0xc3
sub edi, eax
add eax, 0x2dbd7a3c
xor edi, eax
and edi, esi
xor edi, eax
mov dword [esp + 4], edi
mov eax, dword [esp + 4]
add al, 0x5c
mov esi, dword [esp]
mov byte [esp + esi + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xc
jb 0x432cd0
mov eax, dword [esp + 8]
mov esi, dword [0x441028]
test esi, esi
je 0x432d54
xor edi, edi
mov ebx, dword [0x44102c]
nop
cmp dword [ebx + edi*8], 0xaead8b9f
je 0x432d30
inc edi
cmp esi, edi
jne 0x432d20
jmp 0x432d54
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x432d54
push edx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ecx
push 5
push dword [0x441030]
push esi
call fcn.00433e50
add esp, 0x20
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x433d70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edx, edx
test eax, eax
sete dl
jmp dword [edx*4 + 0x43f364]
Function at 0x4351f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov dword [esp + 0x18], 0x73726d9c
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xb
ja 0x43526e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x18]
mov edx, 0x71
sub edx, eax
add eax, 0xbfb04a8e
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
add al, 0x1e
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xc
jb 0x435230
mov eax, dword [esp + 0x18]
mov eax, dword fs:[eax]
xor ecx, ecx
cmp dword [ebp + 8], 0
sete cl
jmp dword [ecx*4 + 0x43fac0]
mov edx, dword [eax + 0xc]
add edx, 0xc
mov dword [esp + 8], 0
mov esi, dword [edx]
xor eax, eax
cmp esi, edx
setne al
mov dword [esp + 0xc], edx
jmp dword [eax*4 + 0x43fac8]
mov eax, dword [esp + 0x10]
jmp dword [eax*4 + 0x43fae0]
mov esi, dword [esi]
xor eax, eax
cmp esi, edx
setne al
jmp dword [eax*4 + 0x43fac8]
mov ebx, dword [esi + 0x30]
xor eax, eax
test ebx, ebx
setne al
mov dword [esp + 0x10], 1
jmp dword [eax*4 + 0x43fad0]
mov ecx, dword [ebp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [ecx]
lea eax, [edx - 0x41]
cmp ax, 0x1a
jae 0x4352ff
or edx, 0x20
movzx eax, word [ebx]
lea edi, [eax - 0x41]
cmp di, 0x1a
jae 0x43530e
or eax, 0x20
test dx, dx
je 0x43531e
add ebx, 2
add ecx, 2
cmp dx, ax
je 0x4352f0
xor ecx, ecx
cmp dx, ax
sete cl
mov edx, dword [esp + 0xc]
jmp dword [ecx*4 + 0x43fad8]
mov eax, dword [esi + 0x18]
mov dword [esp + 8], eax
xor eax, eax
jmp dword [eax*4 + 0x43fae0]
mov eax, dword [eax + 8]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
jmp dword [0x43faf4]
jmp dword [0x43faf4]
Function at 0x435570
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov ecx, dword [ebp + 8]
mov dword [esp + 8], 0x2b242516
mov dword [esp + 0xc], 0
mov word [esp + 0x10], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 9
ja 0x4355e9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 8]
mov esi, 0xda
sub esi, eax
add eax, 0x32dbc425
xor esi, eax
and esi, edx
xor esi, eax
mov dword [esp + 4], esi
mov eax, dword [esp + 4]
add al, 0xfd
mov edx, dword [esp]
mov byte [esp + edx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xa
jb 0x4355b0
mov eax, dword [esp + 8]
mov eax, dword fs:[eax]
xor edx, edx
test ecx, ecx
sete dl
jmp dword [edx*4 + 0x43fb30]
mov ecx, dword [eax + 8]
mov edx, dword [case.0x4355f7.0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp edx
mov edx, dword [eax + 0xc]
add edx, 0xc
xor eax, eax
mov esi, dword [0x43fb60]
mov edi, dword [edx]
xor ebx, ebx
cmp edi, edx
setne bl
jmp dword [ebx*4 + 0x43fb48]
mov eax, dword [edi + 0x30]
xor ebx, ebx
jmp dword [ebx*4 + 0x43fb68]
xor ebx, ebx
cmp dword [edi + 0x18], ecx
sete bl
jmp dword [ebx*4 + 0x43fb50]
jmp esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x436080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x4360a0
mov edi, eax
sar edi, 1
cmp edi, 0xfffffffb
jge 0x4360bb
mov eax, 0xffffffff
jmp 0x4360be
add eax, 0xa
push eax
call fcn.00409090
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 0x436101
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 0x4360f0
mov word [ecx], 0
lea ecx, [edi*2 + 8]
mov word [esp + 0x18], cx
lea ecx, [edi*2 + 0xa]
mov word [esp + 0x1a], cx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0x40
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 8], 0x3c3d3e3f
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xc
ja 0x4361c0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 8]
mov esi, 0xd7
sub esi, ecx
add ecx, 0x6cb96f28
xor esi, ecx
and esi, edx
xor esi, ecx
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x20]
add cl, 0xe8
mov edx, dword [esp + 4]
mov byte [esp + edx + 8], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xd
jb 0x436180
mov esi, dword [esp + 8]
mov ecx, dword [0x441028]
test ecx, ecx
je 0x43622f
xor edx, edx
mov edi, dword [0x44102c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0xbc8a835b
je 0x4361f0
inc edx
cmp ecx, edx
jne 0x4361e0
jmp 0x43622f
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x43622f
lea edx, [esp + 8]
lea esi, [esp + 0x24]
push 0
push 0
push dword [ebp + 0x1c]
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x20]
push 0
push edx
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xb
push dword [0x441030]
push ecx
mov edi, eax
call fcn.00433e50
add esp, 0x38
mov esi, eax
mov eax, edi
push eax
call fcn.004090a0
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x436250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
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 0x436270
mov esi, eax
sar esi, 1
cmp esi, 0xfffffffb
jge 0x43628b
mov eax, 0xffffffff
jmp 0x43628e
add eax, 0xa
push eax
call fcn.00409090
add esp, 4
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
lea ecx, [esi + 4]
mov word [eax + 8], 0
mov edx, eax
add edx, 8
movzx ebx, word [edi]
test bx, bx
je 0x4362d1
add edi, 2
nop
nop
nop
mov word [edx], bx
add edx, 2
movzx ebx, word [edi]
add edi, 2
test bx, bx
jne 0x4362c0
mov word [edx], 0
mov edx, ecx
and edx, 0xfffd
and esi, 2
mov edi, esi
xor edi, 2
imul edi, edx
or ecx, 2
imul ecx, esi
lea edx, [ecx + edi]
mov word [esp + 0x18], dx
add ecx, edi
add ecx, 2
mov word [esp + 0x1a], cx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0x40
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 8], 0x3c3d3e3f
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xc
ja 0x4363b0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 8]
mov esi, 0xd7
sub esi, ecx
add ecx, 0x6cb96f28
xor esi, ecx
and esi, edx
xor esi, ecx
mov dword [esp + 0x20], esi
mov ecx, dword [esp + 0x20]
add cl, 0xe8
mov edx, dword [esp + 4]
mov byte [esp + edx + 8], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xd
jb 0x436370
mov esi, dword [esp + 8]
mov ecx, dword [0x441028]
test ecx, ecx
je 0x436415
xor edx, edx
mov edi, dword [0x44102c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0xcd669f2f
je 0x4363e0
inc edx
cmp ecx, edx
jne 0x4363d0
jmp 0x436415
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, esi
je 0x436415
lea edx, [esp + 8]
lea esi, [esp + 0x24]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edx
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 6
push dword [0x441030]
push ecx
mov edi, eax
call fcn.00433e50
add esp, 0x24
mov esi, eax
mov eax, edi
push eax
call fcn.004090a0
add esp, 4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x436430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x436450
mov ebx, eax
sar ebx, 1
cmp ebx, 0xfffffffb
jge 0x43646b
mov eax, 0xffffffff
jmp 0x43646e
add eax, 0xa
push eax
call fcn.00409090
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 0x4364b1
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 0x4364a0
mov word [ecx], 0
lea ecx, [ebx*2 + 8]
mov word [esp + 4], cx
lea ecx, [ebx*2 + 0xa]
mov word [esp + 6], cx
mov dword [esp + 8], eax
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea ecx, [esp + 4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x3c3d3e3f
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov byte [esp + 0x34], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0xc
ja 0x43656b
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x28]
mov esi, 0xd7
sub esi, ecx
add ecx, 0x6cb96f28
xor esi, ecx
and esi, edx
xor esi, ecx
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0xc]
add cl, 0xe8
mov edx, dword [esp]
mov byte [esp + edx + 0x28], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0xd
jb 0x436530
mov esi, dword [esp + 0x28]
mov ecx, dword [0x441028]
test ecx, ecx
je 0x4365c9
xor edx, edx
mov ebx, dword [0x44102c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0xdcc9f508
je 0x4365a0
inc edx
cmp ecx, edx
jne 0x436590
jmp 0x4365c9
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, esi
je 0x4365c9
lea edx, [esp + 0x28]
lea esi, [esp + 0x10]
push edx
push esi
push 2
push dword [0x441030]
push ecx
mov ebx, eax
call fcn.00433e50
add esp, 0x14
mov esi, eax
mov eax, ebx
push eax
call fcn.004090a0
add esp, 4
test edi, edi
je 0x4365dc
mov eax, dword [esp + 0x48]
mov dword [edi], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret