Function at 0x43d2c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov dword [esp + 0x28], ecx
mov edi, dword [esp + 0x74]
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov dword [edi], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x1c], 0x100000
mov dword [esp + 0x10], 0
mov dword [esp + 0x38], 0xc8cbcacd
mov word [esp + 0x3c], 0
mov eax, 0x3678be33
nop
movzx ecx, byte [esp + eax - 0x3678bdfb]
mov edx, eax
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
mov edx, ecx
xor edx, 0xe46233df
and ecx, 0x1b9dcc20
add ecx, ecx
sub ecx, edx
mov edx, ecx
and edx, 0x5f
xor ecx, 0xdf
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax - 0x3678bdfb], cl
inc eax
cmp eax, 0x3678be39
jne 0x43d310
mov eax, dword [esp + 0x38]
mov ecx, dword [0x44f2b4]
test ecx, ecx
je 0x43d3ae
xor edx, edx
mov esi, dword [0x44f2b8]
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x98d5a07f
je 0x43d380
inc edx
cmp ecx, edx
jne 0x43d370
jmp 0x43d3ae
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43d3ae
lea eax, [esp + 0x1c]
lea edx, [esp + 0x10]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44f2bc]
call fcn.0043f4a0
add esp, 0x24
test eax, eax
js 0x43da4a
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], 0x8f8f8988
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
and ecx, 2
movzx edx, byte [esp + eax + 4]
mov esi, eax
and esi, 5
mov edi, eax
xor edi, 0xcf02fe62
sub edi, esi
add ecx, eax
add ecx, edi
xor ecx, edx
mov edx, ecx
xor edx, 0xeb
and ecx, 0x14
add ecx, ecx
sub ecx, edx
inc cl
mov byte [esp + eax + 4], cl
inc eax
cmp eax, 7
jne 0x43d410
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
cmp eax, 0x7ffffffe
ja 0x43d990
mov dword [esp + 0x18], 0
xor edi, edi
mov dword [esp], 0
jmp 0x43d48d
mov edx, dword [esp]
mov dword [esp], edx
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
cmp eax, 0x7fffffff
jae 0x43d990
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov dword [esp + 4], 0xc8cbcacd
mov word [esp + 8], 0
mov eax, 0x3678be33
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x3678be2f]
mov esi, eax
and esi, edx
add esi, esi
sub edx, esi
add edx, eax
mov esi, edx
xor esi, 0xe46233df
and edx, 0x1b9dcc20
add edx, edx
sub edx, esi
mov esi, edx
and esi, 0x5f
xor edx, 0xdf
lea edx, [edx + esi*2]
inc dl
mov byte [esp + eax - 0x3678be2f], dl
inc eax
cmp eax, 0x3678be39
jne 0x43d4b0
mov eax, dword [esp + 4]
mov edx, dword [0x44f2b4]
test edx, edx
je 0x43d550
xor esi, esi
mov ebx, dword [0x44f2b8]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0xc18bc4ba
je 0x43d520
inc esi
cmp edx, esi
jne 0x43d510
jmp 0x43d550
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x43d550
push 0
push 0x1c
lea eax, [esp + 0x40]
push eax
push 0
push dword [esp + 0x34]
push ecx
push 0x18
push edx
push dword [0x44f2bc]
call fcn.0043f4a0
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x43d990
test eax, eax
js 0x43d476
cmp dword [esp + 0x48], 0x1000
jne 0x43d476
test byte [esp + 0x4c], 0x66
je 0x43d476
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
cmp eax, edx
jbe 0x43d70a
mov dword [esp + 4], 0xc8cbcacd
mov word [esp + 8], 0
mov ecx, 0x3678be33
movzx edx, byte [esp + ecx - 0x3678be2f]
mov esi, ecx
and esi, edx
add esi, esi
sub edx, esi
add edx, ecx
mov esi, edx
xor esi, 0xe46233df
and edx, 0x1b9dcc20
add edx, edx
sub edx, esi
mov esi, edx
and esi, 0x5f
xor edx, 0xdf
lea edx, [edx + esi*2]
inc dl
mov byte [esp + ecx - 0x3678be2f], dl
inc ecx
cmp ecx, 0x3678be39
jne 0x43d5a0
mov ecx, dword [0x44f2b4]
test ecx, ecx
je 0x43d63e
mov edx, dword [esp + 4]
xor esi, esi
mov ebx, dword [0x44f2b8]
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0x6dbc3610
je 0x43d610
inc esi
cmp ecx, esi
jne 0x43d600
jmp 0x43d63e
mov ecx, dword [ebx + esi*8 + 4]
cmp ecx, edx
je 0x43d63e
push 0x8000
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push 0x10
push ecx
push dword [0x44f2bc]
call fcn.0043f4a0
add esp, 0x1c
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0xc8cbcacd
mov word [esp + 8], 0
mov eax, 0x3678be33
nop
nop
movzx ecx, byte [esp + eax - 0x3678be2f]
mov edx, eax
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
mov edx, ecx
xor edx, 0xe46233df
and ecx, 0x1b9dcc20
add ecx, ecx
sub ecx, edx
mov edx, ecx
and edx, 0x5f
xor ecx, 0xdf
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax - 0x3678be2f], cl
inc eax
cmp eax, 0x3678be39
jne 0x43d660
mov eax, dword [esp + 4]
mov ecx, dword [0x44f2b4]
test ecx, ecx
je 0x43d6fe
xor edx, edx
mov esi, dword [0x44f2b8]
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x98d5a07f
je 0x43d6d0
inc edx
cmp ecx, edx
jne 0x43d6c0
jmp 0x43d6fe
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43d6fe
push 4
push 0x3000
lea eax, [esp + 0x24]
push eax
push 0
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
push 0x18
push ecx
push dword [0x44f2bc]
call fcn.0043f4a0
add esp, 0x24
test eax, eax
js 0x43d990
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x5c]
push eax
push edx
push dword [esp + 0x18]
push dword [esp + 0x30]
call fcn.0043d1e0
test eax, eax
jns 0x43d730
cmp eax, 0x8000000d
jne 0x43d470
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x68]
push dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
call fcn.0043da60
add esp, 0x18
mov esi, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
cmp esi, eax
je 0x43d978
mov dword [esp + 0x54], esi
mov edx, dword [esp]
jmp 0x43d7ce
push dword [esp + 0x20]
call fcn.00408820
add esp, 4
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
lea eax, [ecx + ebx*4]
mov dword [esp + 0x18], eax
mov edx, ecx
mov ebx, dword [esp + 0x14]
add edx, ebx
mov edi, ecx
mov eax, dword [esp + 0x58]
mov ecx, eax
not eax
and eax, ebp
not ebp
and ebp, ecx
mov ecx, dword [esp + 0x24]
sub ecx, eax
add ecx, ebp
mov dword [edi + ebx], ecx
add edx, 4
add esi, 4
cmp esi, dword [esp + 0x30]
je 0x43d937
mov eax, dword [esi]
mov ebp, dword [esp + 0x10]
mov ebx, edx
sub ebx, edi
cmp edx, dword [esp + 0x18]
jne 0x43d7a9
mov dword [esp + 0x58], eax
mov dword [esp], edx
mov dword [esp + 0x14], ebx
mov ecx, ebx
sar ecx, 2
lea eax, [ecx + 1]
mov ebx, ecx
shr ebx, 1
add ebx, ecx
cmp ebx, eax
ja 0x43d7fd
mov ebx, eax
lea eax, [ebx*4]
push eax
call fcn.00408810
add esp, 4
mov ecx, eax
test edi, edi
je 0x43d794
mov dword [esp + 0x18], ebx
cmp ecx, edi
mov eax, dword [esp]
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], ecx
jbe 0x43d8e2
cmp eax, ecx
jbe 0x43d8e2
cmp dword [esp + 0x14], 0
je 0x43d780
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
add eax, edx
dec eax
mov ecx, dword [esp + 0x2c]
add ecx, edx
dec ecx
mov edi, edx
and edi, 7
je 0x43d874
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x43d860
add eax, edx
add ecx, edx
add edx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
sub edi, dword [esp]
cmp edi, 0xfffffff8
ja 0x43d780
neg edx
xor edi, edi
nop
nop
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 0x43d890
jmp 0x43d780
mov eax, dword [esp + 0x14]
mov ebx, ecx
mov ecx, eax
mov edx, eax
shr ecx, 2
mov eax, edi
mov edi, ebx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, edx
and edx, 0xfffffffc
lea eax, [ebx + edx]
add edx, dword [esp + 0x20]
shr ecx, 1
and ecx, 1
mov ebx, edx
mov dword [esp], eax
mov edi, eax
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
test byte [esp + 0x14], 1
je 0x43d780
mov ecx, dword [esp + 0x14]
and ecx, 2
movzx edx, byte [edx + ecx]
mov eax, dword [esp]
mov byte [eax + ecx], dl
jmp 0x43d780
mov ebp, dword [esp + 0x74]
mov dword [ebp + 4], edx
mov dword [ebp], edi
mov eax, dword [esp + 0x18]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x54]
test eax, eax
je 0x43d473
cmp eax, dword [esp + 0x30]
je 0x43d473
push eax
mov esi, edx
call fcn.00408820
mov edx, esi
add esp, 4
mov dword [esp + 4], 0
jmp 0x43d473
mov eax, dword [esp + 0x74]
mov edx, dword [esp]
mov dword [eax + 4], edx
mov dword [eax], edi
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], ecx
jmp 0x43d473
mov dword [esp + 4], 0xc8cbcacd
mov word [esp + 8], 0
mov eax, 0x3678be33
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x3678be2f]
mov edx, eax
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
mov edx, ecx
xor edx, 0xe46233df
and ecx, 0x1b9dcc20
add ecx, ecx
sub ecx, edx
mov edx, ecx
and edx, 0x5f
xor ecx, 0xdf
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax - 0x3678be2f], cl
inc eax
cmp eax, 0x3678be39
jne 0x43d9b0
mov eax, dword [0x44f2b4]
test eax, eax
mov edi, dword [esp + 0x74]
je 0x43da4a
mov ecx, dword [esp + 4]
xor edx, edx
mov esi, dword [0x44f2b8]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x6dbc3610
je 0x43da20
inc edx
cmp eax, edx
jne 0x43da10
jmp 0x43da4a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43da4a
lea ecx, [esp + 0x34]
lea edx, [esp + 0x10]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 0x10
push eax
push dword [0x44f2bc]
call fcn.0043f4a0
add esp, 0x1c
mov eax, edi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret 0x10