Function at 0x43b278
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, ecx
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
test eax, eax
jne 0x43b295
push 0xffffffffffffff9a
pop eax
jmp 0x43b4a9
push esi
mov esi, dword [eax + 0x9c]
test esi, esi
jne 0x43b2a4
push 0xffffffffffffff9a
jmp 0x43b2aa
cmp dword [esi], ebx
jne 0x43b2b0
push 0xffffffffffffff9c
pop eax
jmp 0x43b4a8
mov eax, dword [esi + 0x5c]
push edi
mov edi, 0x5000
mov dword [esi + 0x10], edx
xor edx, edx
mov dword [esi + 0x14], edi
cmp eax, edi
jae 0x43b2d0
cmp dword [esi + 0x8c], edx
jne 0x43b2d0
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x58]
add eax, dword [esi + 8]
cmp eax, edi
jae 0x43b49c
cmp dword [esi + 0x8c], edx
je 0x43b49c
mov dword [esi + 0x14], eax
jmp 0x43b49c
cmp dword [esi + 8], edx
jne 0x43b3cb
mov eax, dword [esi + 0x58]
test eax, eax
je 0x43b3cb
mov edi, 0x4000
cmp eax, edi
cmovb edi, eax
mov eax, dword [esi + 0x88]
add eax, dword [esi + 0x3c]
push edx
push eax
push dword [esi + 0x80]
push dword [esi + 0x7c]
call dword [esi + 0x70]
add esp, 0x10
test eax, eax
jne 0x43b4ac
push edi
push dword [esi]
push dword [esi + 0x80]
push dword [esi + 0x7c]
call dword [esi + 0x64]
add esp, 0x10
cmp eax, edi
jne 0x43b4ac
mov eax, dword [ebp - 0xc]
xor edx, edx
cmp dword [eax + 0xa0], edx
je 0x43b3bd
mov dword [ebp - 4], edx
test edi, edi
je 0x43b3bd
mov ebx, eax
mov eax, dword [ebx + 0xac]
mov edx, dword [esi]
and eax, 0xfffd
or eax, 2
mov ecx, eax
xor ecx, 1
imul ecx, eax
mov eax, dword [ebp - 4]
shr ecx, 8
movsx eax, byte [edx + eax]
and ecx, 0xff
xor ecx, eax
mov eax, dword [ebp - 4]
mov byte [edx + eax], cl
mov edx, dword [ebx + 0xb0]
movsx eax, cl
push eax
lea ecx, [ebx + 0xa4]
call fcn.0043a751
mov edx, dword [ebp - 4]
pop ecx
mov ecx, dword [esi]
mov byte [edx + ecx], al
inc edx
mov dword [ebp - 4], edx
cmp edx, edi
jb 0x43b362
mov ebx, dword [ebp - 8]
xor edx, edx
mov eax, dword [esi]
add dword [esi + 0x3c], edi
sub dword [esi + 0x58], edi
mov dword [esi + 4], eax
mov dword [esi + 8], edi
cmp dword [esi + 0x84], edx
je 0x43b43a
cmp dword [esi + 0x8c], edx
jne 0x43b43a
mov eax, dword [esi + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x10]
lea ecx, [esi + 4]
mov dword [ebp - 4], eax
call fcn.0043ba27
mov edi, eax
test edi, edi
js 0x43b3ff
cmp dword [esi + 0x1c], 0
push 0xfffffffffffffffd
pop eax
cmovne edi, eax
mov eax, dword [esi + 0x18]
sub eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [ebp - 8], eax
test edx, edx
jne 0x43b413
xor ecx, ecx
jmp 0x43b422
mov ecx, dword [esi + 0x50]
push eax
call fcn.0043b521
pop ecx
mov ecx, eax
mov eax, dword [ebp - 8]
sub dword [esi + 0x5c], eax
add ebx, eax
mov dword [esi + 0x50], ecx
mov dword [ebp - 8], ebx
cmp edi, 1
je 0x43b4a5
test edi, edi
je 0x43b49a
mov eax, edi
jmp 0x43b4a7
mov edi, dword [esi + 8]
test edi, edi
jne 0x43b446
cmp dword [esi + 0x58], edx
je 0x43b4a5
cmp dword [esi + 0x14], edi
cmovb edi, dword [esi + 0x14]
test edi, edi
je 0x43b462
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
mov al, byte [edx + eax]
mov byte [edx + ecx], al
inc edx
cmp edx, edi
jb 0x43b451
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x43b46d
xor ecx, ecx
jmp 0x43b47e
mov ecx, dword [esi + 0x50]
push edi
mov edx, eax
call fcn.0043b521
pop ecx
mov ecx, eax
mov eax, dword [esi + 0x10]
sub dword [esi + 0x5c], edi
sub dword [esi + 8], edi
sub dword [esi + 0x14], edi
add dword [esi + 4], edi
add dword [esi + 0x18], edi
add eax, edi
add ebx, edi
mov dword [esi + 0x50], ecx
mov dword [esi + 0x10], eax
mov dword [ebp - 8], ebx
xor edx, edx
cmp dword [esi + 0x14], edx
ja 0x43b2f2
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
or eax, 0xffffffff
jmp 0x43b4a7