Function at 0x43b2a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x68
mov ebp, ecx
mov ebx, dword [esp + 0x7c]
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], 0x100000
mov dword [esp + 8], 0
mov dword [esp], 0xe2e3dcdd
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 3
ja 0x43b349
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]
mov edx, eax
and edx, 0x263a9e1e
xor eax, 0x263a9e1e
lea eax, [eax + edx*2]
xor eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov ecx, eax
not ecx
and ecx, 0xc4
and eax, 0x3b
sub eax, ecx
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 4
jb 0x43b300
mov eax, dword [esp]
mov ecx, dword [0x44ad40]
test ecx, ecx
je 0x43b39e
xor edx, edx
mov esi, dword [0x44ad44]
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x43b370
inc edx
cmp ecx, edx
jne 0x43b360
jmp 0x43b39e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43b39e
lea eax, [esp + 0x18]
lea edx, [esp + 8]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x44ad48]
push ecx
call fcn.0043cab0
add esp, 0x24
test eax, eax
js 0x43b9da
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 dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x20], 0x10000
mov dword [esp + 0x4c], ebp
jmp 0x43b407
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
cmp eax, 0x7fffffff
jae 0x43b91b
mov ecx, dword [ebp]
mov dword [esp + 4], 0xe2e3dcdd
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x43b476
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 + 4]
mov esi, eax
and esi, 0x263a9e1e
xor eax, 0x263a9e1e
lea eax, [eax + esi*2]
xor eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov edx, eax
not edx
and edx, 0xc4
and eax, 0x3b
sub eax, edx
mov edx, dword [esp]
mov byte [esp + edx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x43b430
mov eax, dword [esp + 4]
mov edx, dword [0x44ad40]
test edx, edx
je 0x43b4d0
xor esi, esi
mov edi, dword [0x44ad44]
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x2ee8d390
je 0x43b4a0
inc esi
cmp edx, esi
jne 0x43b490
jmp 0x43b4d0
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x43b4d0
push 0
push 0x1c
lea eax, [esp + 0x38]
push eax
push 0
push dword [esp + 0x30]
push ecx
push 6
push dword [0x44ad48]
push edx
call fcn.0043cab0
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x43b91b
test eax, eax
js 0x43b3f0
cmp dword [esp + 0x40], 0x1000
jne 0x43b3f0
cmp dword [esp + 0x44], 1
je 0x43b3f0
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x3c], eax
jbe 0x43b6aa
mov dword [esp + 4], 0xe2e3dcdd
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x43b576
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]
mov edx, eax
and edx, 0x263a9e1e
xor eax, 0x263a9e1e
lea eax, [eax + edx*2]
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, eax
not ecx
and ecx, 0xc4
and eax, 0x3b
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x43b530
mov eax, dword [0x44ad40]
test eax, eax
je 0x43b5ca
mov ecx, dword [esp + 4]
xor edx, edx
mov esi, dword [0x44ad44]
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x43b5a0
inc edx
cmp eax, edx
jne 0x43b590
jmp 0x43b5ca
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43b5ca
push 0x8000
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x44ad48]
push eax
call fcn.0043cab0
add esp, 0x1c
mov dword [esp + 8], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov dword [esp + 4], 0xe2e3dcdd
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x43b646
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]
mov edx, eax
and edx, 0x263a9e1e
xor eax, 0x263a9e1e
lea eax, [eax + edx*2]
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, eax
not ecx
and ecx, 0xc4
and eax, 0x3b
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x43b600
mov eax, dword [esp + 4]
mov ecx, dword [0x44ad40]
test ecx, ecx
je 0x43b69e
xor edx, edx
mov esi, dword [0x44ad44]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x633c81d
je 0x43b670
inc edx
cmp ecx, edx
jne 0x43b660
jmp 0x43b69e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43b69e
push 4
push 0x3000
lea eax, [esp + 0x20]
push eax
push 0
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push 6
push dword [0x44ad48]
push ecx
call fcn.0043cab0
add esp, 0x24
test eax, eax
js 0x43b91b
mov eax, dword [esp + 0x18]
mov ecx, ebp
mov edx, esp
push edx
push eax
push dword [esp + 0x10]
push dword [esp + 0x2c]
call fcn.0043b110
cmp eax, 0xbfffffff
ja 0x43b3f0
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.0043b9f0
add esp, 0x18
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
cmp ecx, edx
je 0x43b3f0
mov eax, dword [ebx + 8]
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov dword [esp + 0x50], ecx
mov ebp, ecx
mov ecx, edi
mov dword [esp + 0x5c], edx
jmp 0x43b758
push dword [esp + 0x1c]
call fcn.00409da0
add esp, 4
mov ecx, dword [esp + 0x28]
lea eax, [ecx + ebx*4]
mov esi, ecx
mov edi, dword [esp + 0x60]
add esi, edi
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x64]
add ebx, dword [esp + 0x20]
mov dword [ecx + edi], ebx
add esi, 4
add ebp, 4
cmp ebp, edx
je 0x43b8e1
mov edi, dword [ebp]
sub edi, dword [esp + 8]
mov dword [esp + 0x64], edi
mov edi, esi
sub edi, ecx
cmp esi, eax
jne 0x43b73f
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x60], edi
sar edi, 2
lea eax, [edi + 1]
mov ebx, edi
shr ebx, 1
add ebx, edi
cmp ebx, eax
ja 0x43b785
mov ebx, eax
mov eax, ebx
and eax, 4
mov ecx, ebx
or ecx, 4
imul ecx, eax
xor eax, 4
mov edx, ebx
and edx, 0xfffffffb
imul edx, eax
add ecx, edx
push ecx
call fcn.00409d90
add esp, 4
mov ecx, eax
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x43b730
mov edi, esi
not edi
and edi, edx
mov eax, edx
not eax
and eax, esi
mov dword [esp + 0x24], eax
sub eax, edi
cmp ecx, edx
mov dword [esp + 0x28], ecx
jbe 0x43b892
mov esi, eax
add eax, edx
cmp eax, ecx
mov eax, esi
jbe 0x43b892
test eax, eax
je 0x43b720
mov edx, eax
mov eax, dword [esp + 0x1c]
add eax, edx
dec eax
mov ecx, dword [esp + 0x28]
add ecx, edx
dec ecx
and edx, 7
je 0x43b82a
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], ebx
neg edx
xor edi, edi
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
dec edi
cmp edx, edi
jne 0x43b810
add eax, edi
add ecx, edi
add esi, edi
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
sub edi, dword [esp + 0x24]
cmp edi, 0xfffffff8
ja 0x43b720
neg esi
xor edi, edi
nop
nop
nop
nop
nop
movzx edx, byte [eax + edi]
mov byte [ecx + edi], dl
movzx edx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], dl
movzx edx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], dl
movzx edx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], dl
movzx edx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], dl
movzx edx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], dl
movzx edx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], dl
movzx edx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], dl
add edi, 0xfffffff8
cmp esi, edi
jne 0x43b840
jmp 0x43b720
mov edi, edx
mov esi, ecx
mov ecx, eax
shr ecx, 2
mov edx, eax
mov eax, edi
mov edi, esi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov eax, edx
and eax, 0xfffffffc
lea edi, [esi + eax]
add eax, dword [esp + 0x1c]
mov ecx, edx
shr ecx, 1
and ecx, 1
mov esi, eax
mov dword [esp + 0x24], edi
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test dl, 1
je 0x43b720
and edx, 2
movzx eax, byte [eax + edx]
mov ecx, dword [esp + 0x24]
mov byte [ecx + edx], al
jmp 0x43b720
mov ebx, dword [esp + 0x7c]
mov dword [ebx + 4], esi
mov dword [ebx], ecx
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x50]
test eax, eax
mov ebp, dword [esp + 0x4c]
je 0x43b3f0
cmp eax, edx
je 0x43b3f0
push eax
call fcn.00409da0
add esp, 4
mov dword [esp + 0xc], 0
jmp 0x43b3f0
mov dword [esp + 4], 0xe2e3dcdd
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x43b986
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]
mov edx, eax
and edx, 0x263a9e1e
xor eax, 0x263a9e1e
lea eax, [eax + edx*2]
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, eax
not ecx
and ecx, 0xc4
and eax, 0x3b
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x43b940
mov eax, dword [0x44ad40]
test eax, eax
je 0x43b9da
mov ecx, dword [esp + 4]
xor edx, edx
mov esi, dword [0x44ad44]
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x44caaeb6
je 0x43b9b0
inc edx
cmp eax, edx
jne 0x43b9a0
jmp 0x43b9da
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43b9da
push 0x8000
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x44ad48]
push eax
call fcn.0043cab0
add esp, 0x1c
mov eax, ebx
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret 0x10