Function at 0x43b220
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov dword [esp + 0x2c], ecx
mov edi, dword [esp + 0x70]
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov dword [edi], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], 0x100000
mov dword [esp + 0x14], 0
mov dword [esp + 0x38], 0x3c3d3a3b
mov edx, 0x4a
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + edx - 0x12]
mov ebx, eax
mov esi, eax
and ebx, edx
mov eax, ebx
or al, 0xfd
inc al
mov ecx, ebx
and cl, 0x4d
mul cl
mov ecx, eax
mov eax, esi
add cl, al
mov eax, ebx
shr al, 1
and al, 1
or bl, 2
mul bl
add al, al
sub cl, al
movzx eax, cl
add eax, edx
add al, 0x8e
mov byte [esp + edx - 0x12], al
inc edx
cmp edx, 0x4e
jne 0x43b270
mov eax, dword [esp + 0x38]
mov ecx, dword [0x44c008]
test ecx, ecx
je 0x43b30e
xor edx, edx
mov esi, dword [0x44c00c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x98d5a07f
je 0x43b2e0
inc edx
cmp ecx, edx
jne 0x43b2d0
jmp 0x43b30e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43b30e
lea eax, [esp + 0x20]
lea edx, [esp + 0x14]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44c010]
call fcn.0043d3e0
add esp, 0x24
test eax, eax
js 0x43ba3a
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 dword [esp + 4], 0xb18d8f8c
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov eax, 0xdd
mov ecx, 0x22
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0xd9]
mov edx, ecx
xor edx, eax
and edx, esi
xor edx, eax
add dl, 0xaf
mov byte [esp + eax - 0xd9], dl
inc eax
dec ecx
cmp eax, 0xe4
jne 0x43b370
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
cmp eax, 0x7ffffffe
ja 0x43b98a
mov dword [esp + 0x18], 0
xor ebx, ebx
xor edi, edi
jmp 0x43b3e7
mov eax, dword [esp + 0x70]
mov dword [eax + 4], edi
mov dword [eax], ebx
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
cmp eax, 0x7fffffff
jae 0x43b98a
mov dword [esp], ebx
mov eax, dword [esp + 0x2c]
mov ebp, dword [eax]
mov dword [esp + 4], 0x3c3d3a3b
mov esi, 0x4a
nop
nop
nop
movzx edx, byte [esp + esi - 0x46]
mov ebx, edx
and ebx, esi
mov eax, ebx
or al, 0xfd
inc al
mov ecx, ebx
and cl, 0x4d
mul cl
mov ecx, eax
add cl, dl
mov eax, ebx
shr al, 1
and al, 1
or bl, 2
mul bl
add al, al
sub cl, al
movzx eax, cl
add eax, esi
add al, 0x8e
mov byte [esp + esi - 0x46], al
inc esi
cmp esi, 0x4e
jne 0x43b400
mov eax, dword [esp + 4]
mov ecx, dword [0x44c008]
test ecx, ecx
je 0x43b490
xor edx, edx
mov esi, dword [0x44c00c]
cmp dword [esi + edx*8], 0xc18bc4ba
je 0x43b460
inc edx
cmp ecx, edx
jne 0x43b450
jmp 0x43b490
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43b490
push 0
push 0x1c
lea eax, [esp + 0x40]
push eax
push 0
push dword [esp + 0x2c]
push ebp
push 0x18
push ecx
push dword [0x44c010]
call fcn.0043d3e0
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
mov ebx, dword [esp]
ja 0x43b98a
test eax, eax
js 0x43b3d0
cmp dword [esp + 0x48], 0x1000
jne 0x43b3d0
test byte [esp + 0x4c], 0x66
je 0x43b3d0
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x20]
cmp ebp, esi
jbe 0x43b63a
mov dword [esp + 4], 0x3c3d3a3b
mov esi, 0x4a
nop
nop
nop
nop
movzx edx, byte [esp + esi - 0x46]
mov ebx, edx
and ebx, esi
mov eax, ebx
or al, 0xfd
inc al
mov ecx, ebx
and cl, 0x4d
mul cl
mov ecx, eax
add cl, dl
mov eax, ebx
shr al, 1
and al, 1
or bl, 2
mul bl
add al, al
sub cl, al
movzx eax, cl
add eax, esi
add al, 0x8e
mov byte [esp + esi - 0x46], al
inc esi
cmp esi, 0x4e
jne 0x43b4e0
mov eax, dword [0x44c008]
test eax, eax
je 0x43b56e
mov ecx, dword [esp + 4]
xor edx, edx
mov esi, dword [0x44c00c]
nop
cmp dword [esi + edx*8], 0x6dbc3610
je 0x43b540
inc edx
cmp eax, edx
jne 0x43b530
jmp 0x43b56e
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43b56e
push 0x8000
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push 0x10
push eax
push dword [0x44c010]
call fcn.0043d3e0
add esp, 0x1c
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], ebp
mov dword [esp + 4], 0x3c3d3a3b
mov edx, 0x4a
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + edx - 0x46]
mov ebx, eax
mov esi, eax
and ebx, edx
mov eax, ebx
or al, 0xfd
inc al
mov ecx, ebx
and cl, 0x4d
mul cl
mov ecx, eax
mov eax, esi
add cl, al
mov eax, ebx
shr al, 1
and al, 1
or bl, 2
mul bl
add al, al
sub cl, al
movzx eax, cl
add eax, edx
add al, 0x8e
mov byte [esp + edx - 0x46], al
inc edx
cmp edx, 0x4e
jne 0x43b590
mov eax, dword [esp + 4]
mov ecx, dword [0x44c008]
test ecx, ecx
je 0x43b62e
xor edx, edx
mov esi, dword [0x44c00c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x98d5a07f
je 0x43b600
inc edx
cmp ecx, edx
jne 0x43b5f0
jmp 0x43b62e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43b62e
push 4
push 0x3000
lea eax, [esp + 0x28]
push eax
push 0
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44c010]
call fcn.0043d3e0
add esp, 0x24
test eax, eax
js 0x43b98a
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x3c3d3a3b
mov ebp, 0x4a
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + ebp - 0x46]
mov edx, ebx
and edx, ebp
mov eax, edx
or al, 0xfd
inc al
mov ecx, edx
and cl, 0x4d
mul cl
mov ecx, eax
add cl, bl
mov eax, edx
shr al, 1
and al, 1
or dl, 2
mul dl
add al, al
sub cl, al
movzx eax, cl
add eax, ebp
add al, 0x8e
mov byte [esp + ebp - 0x46], al
inc ebp
cmp ebp, 0x4e
jne 0x43b660
mov eax, dword [esp + 4]
mov ecx, dword [0x44c008]
test ecx, ecx
je 0x43b6d2
xor edx, edx
mov ebx, dword [0x44c00c]
mov ebp, dword [esp]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edx*8], 0xe6c7f7c6
je 0x43b6d7
inc edx
cmp ecx, edx
jne 0x43b6c0
mov ebx, ebp
jmp 0x43b710
mov ebx, dword [esp]
jmp 0x43b710
mov ecx, dword [ebx + edx*8 + 4]
cmp ecx, eax
mov ebx, ebp
je 0x43b710
lea eax, [esp + 0x58]
push eax
push esi
push dword [esp + 0x2c]
push dword [esp + 0x28]
push dword [esp + 0x20]
push 0x14
push ecx
push dword [0x44c010]
call fcn.0043d3e0
add esp, 0x20
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test eax, eax
jns 0x43b71f
cmp eax, 0x8000000d
jne 0x43b3d0
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x64]
push dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
call fcn.0043ba50
add esp, 0x18
mov esi, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
cmp esi, eax
je 0x43b3b4
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
jmp 0x43b788
mov edi, ebx
mov ebx, dword [esp]
mov dword [ebx + ecx], edx
add edi, 4
add esi, 4
cmp esi, dword [esp + 0x24]
je 0x43b949
mov edx, dword [esi]
add edx, eax
sub edx, dword [esp + 0x14]
mov ecx, edi
mov dword [esp], ebx
sub ecx, ebx
mov ebx, edi
cmp edi, ebp
jne 0x43b770
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ecx
sar ecx, 2
lea eax, [ecx + 1]
mov ebp, ecx
shr ebp, 1
add ebp, ecx
cmp ebp, eax
ja 0x43b7b7
mov ebp, eax
lea eax, [ebp*4]
push eax
call fcn.004095c0
add esp, 4
mov ecx, dword [esp]
test ecx, ecx
je 0x43b92f
cmp eax, ecx
mov dword [esp + 0x30], eax
jbe 0x43b8a2
mov edi, ebx
cmp ebx, eax
jbe 0x43b8a2
cmp dword [esp + 0x10], 0
je 0x43b920
mov dword [esp + 0x28], ebp
mov edx, dword [esp + 0x10]
mov eax, dword [esp]
add eax, edx
dec eax
mov ecx, dword [esp + 0x30]
add ecx, edx
dec ecx
mov ebp, edx
and ebp, 7
je 0x43b834
neg ebp
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp ebp, edx
jne 0x43b820
add eax, edx
add ecx, edx
add edx, dword [esp + 0x10]
mov ebx, dword [esp]
sub ebx, edi
cmp ebx, 0xfffffff8
mov ebp, dword [esp + 0x28]
ja 0x43b920
neg edx
xor edi, edi
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edi]
mov byte [ecx + edi], bl
movzx ebx, byte [eax + edi - 1]
mov byte [ecx + edi - 1], bl
movzx ebx, byte [eax + edi - 2]
mov byte [ecx + edi - 2], bl
movzx ebx, byte [eax + edi - 3]
mov byte [ecx + edi - 3], bl
movzx ebx, byte [eax + edi - 4]
mov byte [ecx + edi - 4], bl
movzx ebx, byte [eax + edi - 5]
mov byte [ecx + edi - 5], bl
movzx ebx, byte [eax + edi - 6]
mov byte [ecx + edi - 6], bl
movzx ebx, byte [eax + edi - 7]
mov byte [ecx + edi - 7], bl
add edi, 0xfffffff8
cmp edx, edi
jne 0x43b850
jmp 0x43b920
mov ebx, dword [esp + 0x10]
mov ecx, ebx
shr ecx, 2
mov dword [esp + 0x28], ebp
mov ebp, dword [esp]
mov edx, ebp
mov edi, eax
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov edx, ebx
and edx, 0xfffffffc
lea ecx, [eax + edx]
add edx, ebp
mov eax, ebx
mov ebx, ecx
and eax, 3
mov ecx, eax
shr ecx, 1
mov ebp, edx
mov edi, ebx
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
mov ebp, dword [esp + 0x28]
mov ecx, eax
xor ecx, 0xfffffffe
or eax, 1
and eax, ecx
je 0x43b920
mov edi, dword [esp + 0x10]
and edi, 2
movzx ecx, byte [edx + edi]
mov byte [ebx + edi], cl
cmp eax, 1
je 0x43b920
movzx ecx, byte [edx + edi + 1]
mov byte [ebx + edi + 1], cl
cmp eax, 2
je 0x43b920
movzx eax, byte [edx + edi + 2]
mov byte [ebx + edi + 2], al
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push dword [esp]
call fcn.004095d0
add esp, 4
mov eax, dword [esp + 0x30]
lea ebp, [eax + ebp*4]
mov edi, eax
mov ecx, dword [esp + 0x10]
add edi, ecx
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
jmp 0x43b775
mov eax, dword [esp + 0x70]
mov dword [eax + 4], edi
mov dword [eax], ebx
mov dword [eax + 8], ebp
mov eax, dword [esp + 0x54]
test eax, eax
je 0x43b981
mov dword [esp + 0x18], ebp
cmp eax, dword [esp + 0x24]
je 0x43b3d0
push eax
call fcn.004095d0
add esp, 4
mov dword [esp + 4], 0
jmp 0x43b3d0
mov dword [esp + 0x18], ebp
jmp 0x43b3d0
mov dword [esp + 4], 0x3c3d3a3b
mov edx, 0x4a
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + edx - 0x46]
mov ebx, eax
mov esi, eax
and ebx, edx
mov eax, ebx
or al, 0xfd
inc al
mov ecx, ebx
and cl, 0x4d
mul cl
mov ecx, eax
mov eax, esi
add cl, al
mov eax, ebx
shr al, 1
and al, 1
or bl, 2
mul bl
add al, al
sub cl, al
movzx eax, cl
add eax, edx
add al, 0x8e
mov byte [esp + edx - 0x46], al
inc edx
cmp edx, 0x4e
jne 0x43b9a0
mov eax, dword [0x44c008]
test eax, eax
mov edi, dword [esp + 0x70]
je 0x43ba3a
mov ecx, dword [esp + 4]
xor edx, edx
mov esi, dword [0x44c00c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x6dbc3610
je 0x43ba10
inc edx
cmp eax, edx
jne 0x43ba00
jmp 0x43ba3a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43ba3a
lea ecx, [esp + 0x34]
lea edx, [esp + 0x14]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 0x10
push eax
push dword [0x44c010]
call fcn.0043d3e0
add esp, 0x1c
mov eax, edi
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret 0x10