Function at 0x43a220
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x284
mov ebx, dword [0x45182c]
mov ebp, dword [0x451828]
mov eax, ebp
or eax, ebx
jne 0x43a2b7
mov dword [esp + 0x54], 0x7fea79ea
mov dword [esp + 0x58], 0x630e7d18
mov dword [esp + 0x5c], 0x6734610c
mov dword [esp + 0x60], 0x6b066500
mov dword [esp + 0x64], 0x6f6e6904
mov dword [esp + 0x68], 0
xor eax, eax
xor ecx, ecx
mov esi, eax
and esi, 0x14
mov edx, ecx
xor edx, 0xea
add edx, esi
xor dl, byte [esp + ecx + 0x54]
add dl, 0x6e
mov byte [esp + ecx + 0x54], dl
inc ecx
add eax, 2
cmp ecx, 0x18
jne 0x43a270
lea eax, [esp + 0x54]
push eax
call fcn.00439ea0
add esp, 4
mov ebp, eax
mov dword [0x45182c], edx
mov dword [0x451828], eax
or eax, edx
je 0x43a3af
mov ebx, edx
lea eax, [esp + 0x154]
push 0x40
push eax
push ebx
push ebp
call fcn.00439cc0
add esp, 0x10
test eax, eax
js 0x43a3af
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.00439cc0
add esp, 0x10
xor edi, edi
test eax, eax
js 0x43a3b1
cmp dword [esp + 0x208], 0
je 0x43a3b1
mov eax, dword [esp + 0x204]
mov esi, 0
test eax, eax
je 0x43a3b3
add eax, ebp
mov ecx, ebx
adc ecx, 0
lea edx, [esp + 0x2c]
push 0x28
push edx
push ecx
push eax
call fcn.00439cc0
add esp, 0x10
test eax, eax
js 0x43a3af
mov esi, dword [esp + 0x40]
mov eax, 0xffffffff
cmp esi, 0x40000000
jae 0x43a360
lea eax, [esi*4]
push eax
call fcn.00408630
add esp, 4
mov edx, esi
and edx, 0xfffffffb
mov ecx, esi
and ecx, 4
or esi, 4
imul esi, ecx
xor ecx, 4
imul ecx, edx
add esi, ecx
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.00439cc0
add esp, 0x10
test eax, eax
js 0x43a3c2
mov eax, dword [esp + 0x40]
test eax, eax
jns 0x43a3cb
mov eax, 0xffffffff
jmp 0x43a3cd
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 0x43a602
add eax, eax
push eax
call fcn.00408630
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.00439cc0
add esp, 0x10
test eax, eax
js 0x43a5f2
mov ecx, dword [esp + 0x44]
lea esi, [ecx*4]
mov eax, 0xffffffff
cmp ecx, 0x40000000
jae 0x43a419
mov eax, esi
push eax
call fcn.00408630
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.00439cc0
add esp, 0x10
test eax, eax
js 0x43a5e0
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
cmp esi, eax
jb 0x43a453
mov esi, eax
test esi, esi
je 0x43a5e0
xor edi, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 8], esi
jmp 0x43a496
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 0x43a613
inc edi
cmp edi, esi
je 0x43a5e0
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.00439cc0
add esp, 0x10
test eax, eax
jns 0x43a4c3
cmp eax, 0x8000000d
jne 0x43a48d
mov dword [esp + 0x10], edi
mov eax, 0xffffffff
xor edx, edx
nop
nop
mov ecx, edx
cmp byte [esp + eax + 0x55], 0
lea eax, [eax + 1]
lea edx, [edx + 1]
jne 0x43a4d0
mov dword [esp + 0x18], 0x626260f3
mov byte [esp + 0x1c], 0
mov edx, 0xcb39b1e8
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx + 0x34c64e30]
xor esi, edx
mov edi, esi
and edi, 0x77
xor esi, 0x7df8677
lea ebx, [esi + edi*2]
and esi, 1
or ebx, 1
add ebx, esi
mov byte [esp + edx + 0x34c64e30], bl
inc edx
cmp edx, 0xcb39b1ed
jne 0x43a500
test eax, eax
je 0x43a46b
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 0x43a5ad
and ecx, 0xfffffffe
nop
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 0x43a560
test al, 1
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x10]
je 0x43a478
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 0x43a478
xor edi, edi
xor esi, esi
push dword [esp + 0x14]
call fcn.00408640
add esp, 4
jmp 0x43a5f6
xor edi, edi
xor esi, esi
push dword [esp + 4]
call fcn.00408640
add esp, 4
push dword [esp + 0xc]
call fcn.00408640
add esp, 4
jmp 0x43a3b3
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 0x43a5e4