Function at 0x43f9b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 8]
push edi
mov eax, esi
mov dword [esp + 0xc], 0
call fcn.00420dd0
mov ebx, dword [esi + 0x1c]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x20], ebx
jg 0x43f9e8
mov edi, esi
call fcn.004209e0
test eax, eax
jne 0x43fa17
mov edx, dword [esi + 4]
inc dword [esi + 0x1c]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x14]
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x36
mov edx, dword [ebp + 8]
mov eax, dword [edx]
test dword [eax + 0x18], 0x40000
mov ebx, dword [ebp + 0xc]
je 0x43fa38
mov ecx, ebx
call fcn.004446d0
test eax, eax
jne 0x43fa42
cmp dword [ebx + 0x10], eax
jne 0x43fa42
cmp dword [ebp + 0x1c], 0
je 0x43fb91
mov ecx, dword [ebp + 0x20]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x1c]
push ecx
push ebx
push 3
push 0
push 0
push edi
call fcn.00459270
push ebx
push edi
mov dword [esp + 0x34], eax
call fcn.00444e40
or dword [esp + 0x34], eax
mov eax, dword [edi + 0x4c]
movsx ecx, word [ebx + 0x26]
lea edx, [eax + 1]
mov dword [esp + 0x2c], edx
lea edx, [ecx + eax + 1]
mov dword [edi + 0x4c], edx
mov eax, dword [esi + 0x1c]
add esp, 0x20
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x20], eax
jg 0x43fa9b
mov edi, esi
call fcn.004209e0
test eax, eax
jne 0x43fac5
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [ebp + 0x14]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0xc]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0xe
xor edx, edx
xor edi, edi
cmp dx, word [ebx + 0x26]
jge 0x43fb0c
nop
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x43fae6
mov edx, 1
mov ecx, edi
shl edx, cl
test eax, edx
je 0x43fb03
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 0x10]
lea ecx, [edi + eax + 1]
push ecx
push edx
push ebx
mov ebx, edi
mov eax, esi
call fcn.004331e0
mov ebx, dword [ebp + 0xc]
add esp, 0xc
movsx eax, word [ebx + 0x26]
inc edi
cmp edi, eax
jl 0x43fad0
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x20]
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 8]
push eax
push ebx
push 1
push 0
push 0x6a
push ecx
push edx
call fcn.00459200
mov eax, dword [esi + 0x1c]
add esp, 0x24
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x20], eax
jg 0x43fb4c
mov edi, esi
call fcn.004209e0
test eax, eax
jne 0x43fb7b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [ebp + 0x10]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0
mov word [eax], 0x36
mov eax, dword [esp + 0xc]
push 0
push eax
push ebx
mov ebx, dword [ebp + 8]
call fcn.004448d0
mov ebx, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebx + 0xc], 0
jne 0x43fc70
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push 0
push ecx
push edx
mov eax, ebx
call fcn.0043fd90
mov eax, dword [esi + 0x1c]
add esp, 0xc
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x20], eax
jg 0x43fbca
mov edi, esi
call fcn.004209e0
test eax, eax
jne 0x43fbf8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov edx, dword [ebp + 0x10]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor edi, edi
xor ecx, ecx
cmp dword [ebp + 0x18], edi
mov byte [eax + 3], 0
setne cl
mov dword [eax + 4], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov word [eax], 0x3b
mov dword [eax + 8], ecx
cmp dword [ebp + 0x18], 0
je 0x43fc70
mov ecx, dword [esi + 4]
mov eax, dword [ebx]
mov edi, dword [esi]
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x43fc67
cmp byte [edi + 0x40], 0
jne 0x43fc67
mov eax, dword [esi + 0x1c]
lea edx, [eax + eax*4 - 5]
movsx eax, byte [ecx + edx*4 + 1]
lea ecx, [ecx + edx*4]
mov dword [esp + 0x14], ecx
mov ecx, dword [ecx + 0x10]
call fcn.00421030
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [eax + 0x10], edx
cmp ecx, edx
jne 0x43fc47
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
jmp 0x43fc70
call fcn.004064e0
mov edx, dword [esi]
mov edi, eax
mov ebx, ecx
call fcn.00404620
mov ecx, dword [esp + 0x14]
mov ebx, dword [ebp + 0xc]
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xff
jmp 0x43fc70
mov ecx, eax
xor eax, eax
call fcn.00421030
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test dword [ecx + 0x18], 0x40000
je 0x43fd43
mov ecx, dword [ebx]
mov eax, ecx
test ecx, ecx
jne 0x43fc92
xor edi, edi
mov dword [esp + 0x18], edi
jmp 0x43fcaa
cmp byte [ecx], 0
je 0x43fc9d
inc eax
cmp byte [eax], 0
jne 0x43fc97
sub eax, ecx
and eax, 0x3fffffff
mov edi, eax
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x40]
add eax, 0x38
cmp dword [eax + 0xc], 0
mov dword [esp + 0x1c], eax
je 0x43fcf5
xor eax, eax
mov dword [esp + 0x14], edi
test edi, edi
jle 0x43fceb
movzx edx, byte [ecx]
movzx edx, byte [edx + 0x5157a0]
lea edi, [eax*8]
xor edx, edi
xor eax, edx
mov edx, dword [esp + 0x14]
dec edx
inc ecx
mov dword [esp + 0x14], edx
test edx, edx
jg 0x43fcc4
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
xor edx, edx
div dword [ecx]
jmp 0x43fcf7
xor edx, edx
mov eax, dword [ebx]
push edi
push eax
mov eax, dword [esp + 0x24]
call fcn.00407970
add esp, 8
test eax, eax
je 0x43fd43
mov edi, dword [eax + 8]
test edi, edi
je 0x43fd43
mov eax, dword [ebp + 8]
push 0
push edi
push ebx
call fcn.004451b0
add esp, 0xc
test eax, eax
je 0x43fd3c
mov edx, dword [esp + 0xc]
push 0
push 2
push edx
push ebx
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004590c0
add esp, 0x18
mov edi, dword [edi + 0xc]
test edi, edi
jne 0x43fd12
mov edi, dword [esp + 0x10]
mov ecx, dword [ebp + 0x20]
mov edx, dword [esp + 0xc]
mov eax, dword [ebp + 0x1c]
push edi
push ecx
mov ecx, dword [ebp + 8]
push edx
push ebx
push 2
push 0
push 0x6a
push eax
push ecx
call fcn.00459200
mov eax, dword [esi + 0x28]
add esp, 0x24
test eax, eax
je 0x43fd7d
mov ecx, dword [esi + 0x1c]
lea edx, [edi*4 + 4]
sub eax, edx
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret