Function at 0x43d8b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x284
mov ebx, dword [0x454eb4]
mov ebp, dword [0x454eb0]
mov eax, ebp
or eax, ebx
jne 0x43d94b
mov dword [esp + 0x54], 0xf966fb6e
mov dword [esp + 0x58], 0xe572e714
mov dword [esp + 0x5c], 0xe130e370
mov dword [esp + 0x60], 0xed7aef0c
mov dword [esp + 0x64], 0xe9eaeb78
mov word [esp + 0x68], 0
mov eax, 0xcb31acab
movzx ecx, byte [esp + eax + 0x34ce53a9]
xor ecx, eax
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
add cl, 0xa8
mov byte [esp + eax + 0x34ce53a9], cl
inc eax
cmp eax, 0xcb31acc1
jne 0x43d900
lea eax, [esp + 0x54]
push eax
call fcn.0043d560
add esp, 4
mov ebp, eax
mov dword [0x454eb4], edx
mov dword [0x454eb0], eax
or eax, edx
je 0x43da25
mov ebx, edx
lea eax, [esp + 0x154]
push 0x40
push eax
push ebx
push ebp
call fcn.0043d3b0
add esp, 0x10
test eax, eax
js 0x43da25
mov eax, dword [esp + 0x190]
mov ecx, eax
sar ecx, 0x1f
add eax, ebp
adc ecx, ebx
add eax, 0x18
adc ecx, 0
lea edx, [esp + 0x194]
push 0xf0
push edx
push ecx
push eax
call fcn.0043d3b0
add esp, 0x10
xor edi, edi
test eax, eax
js 0x43da27
cmp dword [esp + 0x208], 0
je 0x43da27
mov eax, dword [esp + 0x204]
mov esi, 0
test eax, eax
je 0x43da29
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x2c]
push 0x28
push edx
push ecx
push eax
call fcn.0043d3b0
add esp, 0x10
test eax, eax
js 0x43da25
mov ecx, dword [esp + 0x40]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x43d9ee
mov eax, esi
push eax
call fcn.00408770
add esp, 4
mov edx, dword [esp + 0x48]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x10], eax
push eax
push ecx
push edx
call fcn.0043d3b0
add esp, 0x10
test eax, eax
js 0x43da38
mov eax, dword [esp + 0x40]
test eax, eax
jns 0x43da41
mov eax, 0xffffffff
jmp 0x43da43
xor edi, edi
xor esi, esi
mov eax, edi
mov edx, esi
add esp, 0x284
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
xor esi, esi
jmp 0x43dc72
add eax, eax
push eax
call fcn.00408770
add esp, 4
mov esi, dword [esp + 0x44]
add esi, esi
mov ecx, dword [esp + 0x50]
add ecx, ebp
mov edx, ebx
adc edx, 0
push esi
mov dword [esp + 8], eax
push eax
push edx
push ecx
call fcn.0043d3b0
add esp, 0x10
test eax, eax
js 0x43dc62
mov ecx, dword [esp + 0x44]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x43da8f
mov eax, esi
push eax
call fcn.00408770
add esp, 4
mov edx, dword [esp + 0x4c]
add edx, ebp
mov ecx, ebx
adc ecx, 0
push esi
mov dword [esp + 0x18], eax
push eax
push ecx
push edx
call fcn.0043d3b0
add esp, 0x10
test eax, eax
js 0x43dc50
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
cmp esi, eax
jb 0x43dac9
mov esi, eax
test esi, esi
je 0x43dc50
xor edi, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 8], esi
jmp 0x43db0c
mov ebp, 0x36c0b43e
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x10]
cmp ebp, dword [esp + 0x298]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
je 0x43dc83
inc edi
cmp edi, esi
je 0x43dc50
mov eax, dword [esp + 0x14]
mov eax, dword [eax + edi*4]
add eax, ebp
mov ecx, ebx
adc ecx, 0
push 0x100
lea edx, [esp + 0x58]
push edx
push ecx
push eax
call fcn.0043d3b0
add esp, 0x10
test eax, eax
jns 0x43db39
cmp eax, 0x8000000d
jne 0x43db03
mov dword [esp + 0x10], edi
mov eax, 0xffffffff
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, edx
cmp byte [esp + eax + 0x55], 0
lea eax, [eax + 1]
lea edx, [edx + 1]
jne 0x43db50
mov dword [esp + 0x18], 0xb6b68837
lea edx, [esp + 0x1c]
mov byte [edx + 2], 0
mov word [edx], 0
mov edx, 0x61
mov esi, 0x1e
nop
nop
mov edi, edx
and edi, 0x42
mov ebx, esi
and ebx, 0x3d
or ebx, edi
xor bl, byte [esp + esi - 6]
xor bl, 0xc2
add bl, 0xea
mov byte [esp + esi - 6], bl
dec edx
inc esi
cmp edx, 0x5a
jne 0x43db80
test eax, eax
je 0x43dae1
mov edx, dword [esp + 0x18]
mov esi, edx
not esi
mov dword [esp], esi
mov ebp, 0x36c0b43e
lea ebx, [esp + 0x54]
cmp eax, 1
je 0x43dc1d
and ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0x28], ebx
movsx edi, byte [ebx]
xor edi, ebp
mov ebp, edi
not ebp
and ebp, edx
mov esi, edi
and esi, dword [esp]
mov ebx, dword [esp + 0x28]
imul esi, ebp
mov ebp, edi
and ebp, edx
or edi, edx
imul edi, ebp
add edi, esi
movsx ebp, byte [ebx + 1]
add ebx, 2
xor ebp, edi
mov esi, ebp
not esi
and esi, edx
mov edi, ebp
and edi, dword [esp]
imul edi, esi
mov esi, ebp
and esi, edx
or ebp, edx
imul ebp, esi
add ebp, edi
add ecx, 0xfffffffe
jne 0x43dbd0
test al, 1
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x10]
je 0x43daee
movsx eax, byte [ebx]
xor ebp, eax
mov eax, ebp
not eax
and eax, edx
mov ecx, dword [esp]
and ecx, ebp
imul ecx, eax
mov eax, ebp
and eax, edx
or ebp, edx
imul ebp, eax
add ebp, ecx
jmp 0x43daee
xor edi, edi
xor esi, esi
push dword [esp + 0x14]
call fcn.00408780
add esp, 4
jmp 0x43dc66
xor edi, edi
xor esi, esi
push dword [esp + 4]
call fcn.00408780
add esp, 4
push dword [esp + 0xc]
call fcn.00408780
add esp, 4
jmp 0x43da29
mov eax, dword [esp + 4]
movzx eax, word [eax + edi*2]
mov ecx, dword [esp + 0xc]
add ebp, dword [ecx + eax*4]
adc ebx, 0
mov edi, ebp
mov esi, ebx
jmp 0x43dc54