Function at 0x4324e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x68
mov ebp, ecx
mov eax, dword [esp + 0x7c]
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], 0x100000
mov dword [esp + 8], 0
mov dword [esp], 0xe8ebeae5
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 3
ja 0x432571
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
movzx ecx, byte [esp + ecx]
add eax, 0xc18521d7
xor eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
add al, 0xcd
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 4
jb 0x432540
mov eax, dword [esp]
mov ecx, dword [0x440ee8]
test ecx, ecx
je 0x4325ce
xor edx, edx
mov esi, dword [0x440eec]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x4325a0
inc edx
cmp ecx, edx
jne 0x432590
jmp 0x4325ce
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x4325ce
lea eax, [esp + 0x20]
lea edx, [esp + 8]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x440ef0]
push ecx
call fcn.00433ae0
add esp, 0x24
test eax, eax
js 0x432c7a
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov edi, 0x10000
mov dword [esp + 0x54], ebp
jmp 0x432634
mov edi, dword [esp + 0x44]
add edi, dword [esp + 0x38]
cmp edi, 0x7fffffff
jae 0x432bca
mov ecx, dword [ebp]
mov dword [esp + 4], 0xe8ebeae5
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x43267e
nop
nop
mov eax, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 4]
add eax, 0xc18521d7
xor eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0xcd
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x432650
mov eax, dword [esp + 4]
mov edx, dword [0x440ee8]
test edx, edx
je 0x4326f0
mov ebx, edi
xor esi, esi
mov edi, dword [0x440eec]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x2ee8d390
je 0x4326c0
inc esi
cmp edx, esi
jne 0x4326a0
mov edi, ebx
jmp 0x4326f0
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
mov edi, ebx
je 0x4326f0
push 0
push 0x1c
lea eax, [esp + 0x40]
push eax
push 0
push edi
push ecx
push 6
push dword [0x440ef0]
push edx
call fcn.00433ae0
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x432bca
test eax, eax
js 0x432620
cmp dword [esp + 0x48], 0x1000
jne 0x432620
cmp dword [esp + 0x4c], 1
je 0x432620
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x44], eax
jbe 0x4328aa
mov dword [esp + 4], 0xe8ebeae5
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x43277e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
add eax, 0xc18521d7
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0xcd
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x432750
mov eax, dword [0x440ee8]
test eax, eax
je 0x4327da
mov ecx, dword [esp + 4]
xor edx, edx
mov esi, dword [0x440eec]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x4327b0
inc edx
cmp eax, edx
jne 0x4327a0
jmp 0x4327da
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x4327da
push 0x8000
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x440ef0]
push eax
call fcn.00433ae0
add esp, 0x1c
mov dword [esp + 8], 0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov dword [esp + 4], 0xe8ebeae5
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x43283e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
add eax, 0xc18521d7
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0xcd
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x432810
mov eax, dword [esp + 4]
mov ecx, dword [0x440ee8]
test ecx, ecx
je 0x43289e
xor edx, edx
mov esi, dword [0x440eec]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x432870
inc edx
cmp ecx, edx
jne 0x432860
jmp 0x43289e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43289e
push 4
push 0x3000
lea eax, [esp + 0x28]
push eax
push 0
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push 6
push dword [0x440ef0]
push ecx
call fcn.00433ae0
add esp, 0x24
test eax, eax
js 0x432bca
mov eax, dword [esp + 0x20]
mov ecx, ebp
mov edx, esp
push edx
push eax
push dword [esp + 0x10]
push edi
call fcn.00432300
cmp eax, 0xbfffffff
ja 0x432620
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0xc]
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
call fcn.00432c90
add esp, 0x18
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
cmp ebx, edx
je 0x432620
add edi, 0x1d689a85
mov dword [esp + 0x60], edi
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx + 8]
mov dword [esp + 0x1c], eax
mov ebp, dword [ecx]
mov edi, dword [ecx + 4]
mov ecx, ebp
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], edx
jmp 0x432958
mov esi, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
add ecx, eax
add ecx, 0xe297657b
mov dword [ebp + esi], ecx
add edi, 4
add ebx, 4
cmp ebx, edx
mov ecx, ebp
je 0x432b8c
mov ebp, dword [ebx]
sub ebp, dword [esp + 8]
mov dword [esp + 0x64], ebp
mov ebp, edi
sub ebp, ecx
cmp edi, dword [esp + 0x1c]
jne 0x432930
mov dword [esp + 0x2c], ecx
mov ecx, ebp
sar ecx, 2
lea eax, [ecx + 1]
mov esi, ecx
shr esi, 1
add esi, ecx
cmp esi, eax
ja 0x432984
mov esi, eax
mov eax, esi
and eax, 0xfffffffb
mov ecx, esi
and ecx, 4
mov edx, esi
or edx, 4
imul edx, ecx
xor ecx, 4
imul ecx, eax
add edx, ecx
push edx
call fcn.004095a0
add esp, 4
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x432b74
mov dword [esp + 0x1c], ebp
mov ebp, edi
not ebp
and ebp, edx
mov ecx, edx
not ecx
and ecx, edi
mov dword [esp + 0x18], ecx
mov edi, ecx
sub edi, ebp
cmp eax, edx
mov dword [esp + 0x30], eax
jbe 0x432a6e
lea ecx, [edx + edi]
cmp ecx, eax
jbe 0x432a6e
test edi, edi
je 0x432b60
mov edx, edi
mov eax, dword [esp + 0x2c]
add eax, edi
dec eax
mov ecx, dword [esp + 0x30]
add edi, ecx
dec edi
mov dword [esp + 0x24], edx
and edx, 3
je 0x432a28
mov dword [esp + 0x28], esi
neg edx
xor esi, esi
nop
nop
nop
nop
nop
movzx ecx, byte [eax + esi]
mov byte [edi + esi], cl
dec esi
cmp edx, esi
jne 0x432a10
add eax, esi
add edi, esi
add dword [esp + 0x24], esi
mov esi, dword [esp + 0x28]
sub ebp, dword [esp + 0x18]
cmp ebp, 0xfffffffc
mov ebp, dword [esp + 0x24]
ja 0x432b60
neg ebp
xor ecx, ecx
nop
nop
nop
movzx edx, byte [eax + ecx]
mov byte [edi + ecx], dl
movzx edx, byte [eax + ecx - 1]
mov byte [edi + ecx - 1], dl
movzx edx, byte [eax + ecx - 2]
mov byte [edi + ecx - 2], dl
movzx edx, byte [eax + ecx - 3]
mov byte [edi + ecx - 3], dl
add ecx, 0xfffffffc
cmp ebp, ecx
jne 0x432a40
jmp 0x432b60
mov ebp, eax
mov ecx, edi
shr ecx, 2
mov eax, edx
mov edx, edi
mov edi, ebp
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, edx
not ecx
or ecx, 0xfffffffc
add ecx, edx
lea eax, [ecx + ebp]
inc eax
mov edi, dword [esp + 0x2c]
lea ebp, [edi + ecx]
inc ebp
mov dword [esp + 0x24], edx
mov ecx, edx
and ecx, 3
mov edx, ecx
not edx
or edx, 1
add edx, ecx
shr ecx, 1
mov dword [esp + 0x18], ebp
mov edi, eax
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x18]
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x18], edx
mov edi, edx
inc edi
je 0x432b60
mov ecx, dword [esp + 0x24]
and ecx, 2
add ebp, ecx
add eax, ecx
mov esi, edi
and esi, 7
je 0x432b03
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [ebp + edx]
mov byte [eax + edx], cl
inc edx
cmp esi, edx
jne 0x432af0
add ebp, edx
add eax, edx
sub edi, edx
cmp dword [esp + 0x18], 7
mov esi, dword [esp + 0x28]
jb 0x432b60
xor edx, edx
movzx ecx, byte [ebp + edx]
mov byte [eax + edx], cl
movzx ecx, byte [ebp + edx + 1]
mov byte [eax + edx + 1], cl
movzx ecx, byte [ebp + edx + 2]
mov byte [eax + edx + 2], cl
movzx ecx, byte [ebp + edx + 3]
mov byte [eax + edx + 3], cl
movzx ecx, byte [ebp + edx + 4]
mov byte [eax + edx + 4], cl
movzx ecx, byte [ebp + edx + 5]
mov byte [eax + edx + 5], cl
movzx ecx, byte [ebp + edx + 6]
mov byte [eax + edx + 6], cl
movzx ecx, byte [ebp + edx + 7]
mov byte [eax + edx + 7], cl
add edx, 8
cmp edi, edx
jne 0x432b10
nop
nop
push dword [esp + 0x2c]
call fcn.004095b0
add esp, 4
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
lea ecx, [eax + esi*4]
mov dword [esp + 0x1c], ecx
mov edi, eax
add edi, ebp
mov esi, ebp
mov ebp, eax
mov edx, dword [esp + 0x5c]
jmp 0x432934
mov ebx, dword [esp + 0x7c]
mov dword [ebx + 4], edi
mov dword [ebx], ecx
mov eax, dword [esp + 0x1c]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x58]
test eax, eax
mov ebp, dword [esp + 0x54]
je 0x432620
cmp eax, edx
je 0x432620
push eax
call fcn.004095b0
add esp, 4
mov dword [esp + 0xc], 0
jmp 0x432620
mov dword [esp + 4], 0xe8ebeae5
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x432c1e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
add eax, 0xc18521d7
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0xcd
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x432bf0
mov eax, dword [0x440ee8]
test eax, eax
je 0x432c7a
mov ecx, dword [esp + 4]
xor edx, edx
mov esi, dword [0x440eec]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x432c50
inc edx
cmp eax, edx
jne 0x432c40
jmp 0x432c7a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x432c7a
push 0x8000
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x440ef0]
push eax
call fcn.00433ae0
add esp, 0x1c
mov eax, dword [esp + 0x7c]
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret 0x10