Function at 0x43ce60
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x27c
mov ebx, dword [0x452c6c]
mov ebp, dword [0x452c68]
mov eax, ebp
or eax, ebx
jne 0x43cf1b
mov dword [esp + 0x4c], 0xb72a891a
mov dword [esp + 0x50], 0xb326b558
mov dword [esp + 0x54], 0xbf6cb124
mov dword [esp + 0x58], 0xbb2ebd50
mov dword [esp + 0x5c], 0xa7a6b92c
mov word [esp + 0x60], 0
mov byte [esp + 0x62], 0
mov eax, 0x923d7f5e
mov ecx, 0xa1
nop
nop
movzx edx, byte [esp + eax + 0x6dc280ee]
mov esi, ecx
xor esi, eax
and esi, edx
xor esi, eax
not esi
and esi, eax
add esi, esi
sub edx, esi
add edx, eax
mov esi, edx
and esi, 0x29
xor edx, 0x29
lea edx, [edx + esi*2]
inc dl
mov byte [esp + eax + 0x6dc280ee], dl
inc eax
dec ecx
cmp eax, 0x923d7f75
jne 0x43cec0
lea eax, [esp + 0x4c]
push eax
call fcn.0043ca60
add esp, 4
mov ebp, eax
mov dword [0x452c6c], edx
mov dword [0x452c68], eax
or eax, edx
je 0x43d015
mov ebx, edx
lea eax, [esp + 0x14c]
push 0x40
push eax
push ebx
push ebp
call fcn.0043c840
add esp, 0x10
test eax, eax
js 0x43d015
mov eax, dword [esp + 0x188]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x18c]
push 0xf0
push edx
push ecx
push eax
call fcn.0043c840
add esp, 0x10
xor edi, edi
test eax, eax
js 0x43d017
cmp dword [esp + 0x200], 0
je 0x43d017
mov eax, dword [esp + 0x1fc]
mov esi, 0
test eax, eax
je 0x43d019
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x24]
push 0x28
push edx
push ecx
push eax
call fcn.0043c840
add esp, 0x10
test eax, eax
js 0x43d015
mov esi, dword [esp + 0x38]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x43cfc4
lea eax, [esi*4]
push eax
call fcn.0040c9f0
add esp, 4
mov edx, eax
mov eax, esi
and eax, 4
mov ecx, esi
or esi, 4
imul esi, eax
xor eax, 4
and ecx, 0xfffffffb
imul ecx, eax
add esi, ecx
mov eax, dword [esp + 0x40]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0xc], edx
push edx
push ecx
push eax
call fcn.0043c840
add esp, 0x10
test eax, eax
js 0x43d028
mov eax, dword [esp + 0x38]
test eax, eax
jns 0x43d031
mov eax, 0xffffffff
jmp 0x43d033
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x27c
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x43d286
add eax, eax
push eax
call fcn.0040c9f0
add esp, 4
mov esi, dword [esp + 0x3c]
add esi, esi
mov ecx, dword [esp + 0x48]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 4], eax
push eax
push edx
push ecx
call fcn.0043c840
add esp, 0x10
test eax, eax
js 0x43d277
mov ecx, dword [esp + 0x3c]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x43d07f
mov eax, esi
push eax
call fcn.0040c9f0
add esp, 4
mov edx, dword [esp + 0x44]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x10], eax
push eax
push ecx
push edx
call fcn.0043c840
add esp, 0x10
test eax, eax
js 0x43d265
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
cmp esi, eax
jb 0x43d0b9
mov esi, eax
test esi, esi
je 0x43d265
xor edi, edi
mov dword [esp + 4], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], esi
jmp 0x43d0fc
mov eax, 0x36c0b43e
mov ebx, dword [esp + 4]
cmp eax, dword [esp + 0x290]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
je 0x43d297
inc edi
cmp edi, esi
je 0x43d265
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x50]
push edx
push ecx
push eax
call fcn.0043c840
add esp, 0x10
test eax, eax
jns 0x43d129
cmp eax, 0x8000000d
jne 0x43d0f3
mov dword [esp + 0x20], edi
mov ecx, 0xffffffff
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, eax
cmp byte [esp + ecx + 0x4d], 0
lea ecx, [ecx + 1]
lea eax, [eax + 1]
jne 0x43d140
mov dword [esp + 0x10], 0x22262489
mov dword [esp + 0x14], 0
mov edx, 0x3c23446
mov esi, 0xf03dcbb9
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + esi + 0xfc23457]
lea ebx, [eax + eax]
not ebx
add ebx, eax
and ebx, 0xea5995c4
and eax, 0x3b
or eax, ebx
mov ebx, edx
and ebx, 0x2c01426
mov ebp, esi
and ebp, 0x4004c0d9
or ebp, ebx
mov ebx, ebp
xor ebx, 0x4d06e0d9
and ebp, 0x4403b
xor ebp, 0xfa799fe6
add ebp, ebx
inc ebp
mov ebx, esi
and ebx, 0x10244a3b
or ebx, ebp
xor ebx, eax
mov eax, 1
sub eax, ebx
not eax
and eax, 1
mov ebp, ebx
and ebp, 1
xor ebx, 1
add ebx, 0x62
or ebx, ebp
add ebx, eax
mov byte [esp + esi + 0xfc23457], bl
dec edx
inc esi
cmp edx, 0x3c2343e
jne 0x43d170
test ecx, ecx
je 0x43d0d1
mov edx, dword [esp + 0x10]
mov ebp, 0x36c0b43e
lea esi, [esp + 0x4c]
cmp ecx, 4
jb 0x43d23b
mov eax, edi
and eax, 0xfffffffc
nop
nop
nop
nop
nop
nop
movsx ebx, byte [esi]
xor ebx, ebp
imul ebx, edx
movsx ebp, byte [esi + 1]
xor ebp, ebx
imul ebp, edx
movsx ebx, byte [esi + 2]
xor ebx, ebp
imul ebx, edx
movsx ebp, byte [esi + 3]
add esi, 4
xor ebp, ebx
imul ebp, edx
add eax, 0xfffffffc
jne 0x43d210
mov eax, ebp
test cl, 3
mov ebx, dword [esp + 4]
je 0x43d0da
and edi, 3
xor ecx, ecx
nop
movsx eax, byte [esi + ecx]
xor eax, ebp
imul eax, edx
inc ecx
mov ebp, eax
cmp edi, ecx
jne 0x43d250
jmp 0x43d0da
xor edi, edi
xor esi, esi
push dword [esp + 0xc]
call fcn.0040ca00
add esp, 4
jmp 0x43d27b
xor edi, edi
xor esi, esi
push dword [esp]
call fcn.0040ca00
add esp, 4
push dword [esp + 8]
call fcn.0040ca00
add esp, 4
jmp 0x43d019
mov eax, dword [esp]
movzx eax, word [eax + edi*2]
mov ecx, dword [esp + 8]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x43d269