Function at 0x43de50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5240f8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x56d4a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x7c]
mov edi, dword [ebp + 8]
push ecx
mov ecx, ebx
mov dword [ebp - 0x34], ebx
mov eax, dword [ebx]
call dword [eax + 0x58]
mov ecx, edi
xor esi, esi
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], eax
call fcn.00435a10
cmp eax, 0xb
jne 0x43dfcd
mov ecx, edi
call fcn.00470f10
test al, al
je 0x43dfcd
mov ecx, dword [ebp - 0x30]
push edi
push ebx
call fcn.00431a90
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.00475a80
test al, al
je 0x43dfcd
push edi
push ebx
lea ecx, [ebp - 0x54]
call fcn.0042f7d0
push edi
push ebx
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], esi
call fcn.0042f7d0
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00471060
mov ecx, edi
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x30], eax
call fcn.00471060
mov ebx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x14]
add eax, 0x58
mov dword [ebp - 0x34], eax
mov eax, dword [ebx]
call dword [eax + 0x14]
mov eax, dword [ebx]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov ecx, dword [ebp - 0x50]
lea edx, [ebp - 0x74]
push edx
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
jne 0x43df95
mov ebx, dword [ebp - 0x34]
nop dword [eax]
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x30]
call fcn.0043f320
lea edi, [eax + 2]
lea eax, [ebp - 0x3c]
push eax
push ebx
call fcn.0043f500
add edi, eax
mov ecx, dword [ebp - 0x50]
mov eax, edi
lea edx, [ebp - 0x54]
or eax, 1
add esp, 0x10
bsr eax, eax
push edx
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, edi
add esi, eax
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ecx, dword [ebp - 0x50]
lea edx, [ebp - 0x74]
push edx
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x43df40
mov ecx, dword [ebp - 0x70]
lea edx, [ebp - 0x74]
push edx
mov byte [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax + 0x3c]
lea ecx, [ebp - 0x6c]
call fcn.0042fb40
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 4], 3
mov edx, dword [ecx]
call dword [edx + 0x3c]
lea ecx, [ebp - 0x4c]
call fcn.0042fb40
jmp case.default.0x43e020
xor ebx, ebx
cmp dword [edi + 0x20], 3
jne 0x43dfe5
mov ecx, dword [ebp - 0x30]
push edi
push dword [ebp - 0x34]
call fcn.00431370
mov ebx, eax
jmp 0x43e00f
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x10]
mov al, byte [eax + 0x2f]
test al, al
je 0x43dff9
mov ebx, 1
jmp 0x43e00f
mov ecx, dword [ebp - 0x30]
push edi
push dword [ebp - 0x34]
call fcn.00432b60
test al, al
mov ecx, 1
cmovne ebx, ecx
mov ecx, edi
call fcn.00435a10
dec eax
cmp eax, 0x11
ja case.default.0x43e020
jmp dword [eax*4 + 0x43e424]
cmp dword [edi + 0x20], 3
jne 0x43e068
xor eax, eax
mov dword [ebp - 0x2c], eax
test ebx, ebx
je case.default.0x43e020
nop word [eax + eax]
mov ecx, dword [ebp - 0x30]
push eax
push edi
push dword [ebp - 0x34]
call fcn.00432170
push eax
call fcn.00428b70
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jb 0x43e040
jmp case.default.0x43e020
mov ecx, dword [ebp - 0x30]
push edi
push dword [ebp - 0x34]
call fcn.00431950
push eax
call fcn.00428b70
add esp, 4
mov esi, eax
jmp case.default.0x43e020
cmp dword [edi + 0x20], 3
jne 0x43e0c0
xor eax, eax
mov dword [ebp - 0x2c], eax
test ebx, ebx
je case.default.0x43e020
mov ecx, dword [ebp - 0x30]
push eax
push edi
push dword [ebp - 0x34]
call fcn.00432210
push edx
push eax
call fcn.00428bf0
add esi, eax
add esp, 8
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jb 0x43e097
jmp case.default.0x43e020
mov ecx, dword [ebp - 0x30]
push edi
push dword [ebp - 0x34]
call fcn.004319f0
push edx
push eax
call fcn.00428bf0
add esp, 8
mov esi, eax
jmp case.default.0x43e020
cmp dword [edi + 0x20], 3
jne 0x43e127
xor eax, eax
mov dword [ebp - 0x2c], eax
test ebx, ebx
je case.default.0x43e020
mov ecx, dword [ebp - 0x30]
push eax
push edi
push dword [ebp - 0x34]
call fcn.00432170
mov ecx, eax
add eax, eax
sar ecx, 0x1f
xor ecx, eax
or ecx, 1
bsr eax, ecx
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jb 0x43e0f0
jmp case.default.0x43e020
mov ecx, dword [ebp - 0x30]
push edi
push dword [ebp - 0x34]
call fcn.00431950
push eax
call fcn.00428f30
add esp, 4
mov esi, eax
jmp case.default.0x43e020
cmp dword [edi + 0x20], 3
jne 0x43e17f
xor eax, eax
mov dword [ebp - 0x2c], eax
test ebx, ebx
je case.default.0x43e020
mov ecx, dword [ebp - 0x30]
push eax
push edi
push dword [ebp - 0x34]
call fcn.00432210
push edx
push eax
call fcn.00428f50
add esi, eax
add esp, 8
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jb 0x43e156
jmp case.default.0x43e020
mov ecx, dword [ebp - 0x30]
push edi
push dword [ebp - 0x34]
call fcn.004319f0
push edx
push eax
call fcn.00428f50
add esp, 8
mov esi, eax
jmp case.default.0x43e020
cmp dword [edi + 0x20], 3
jne 0x43e1de
xor eax, eax
mov dword [ebp - 0x2c], eax
test ebx, ebx
je case.default.0x43e020
nop
mov ecx, dword [ebp - 0x30]
push eax
push edi
push dword [ebp - 0x34]
call fcn.00432510
or eax, 1
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add esi, eax
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jb 0x43e1b0
jmp case.default.0x43e020
mov ecx, dword [ebp - 0x30]
push edi
push dword [ebp - 0x34]
call fcn.004327f0
or eax, 1
bsr eax, eax
lea esi, [eax*8 + 0x49]
add esi, eax
shr esi, 6
jmp case.default.0x43e020
cmp dword [edi + 0x20], 3
jne 0x43e23d
xor eax, eax
mov dword [ebp - 0x2c], eax
test ebx, ebx
je case.default.0x43e020
mov ecx, dword [ebp - 0x30]
push eax
push edi
push dword [ebp - 0x34]
call fcn.004325b0
push edx
push eax
call fcn.00428bf0
add esi, eax
add esp, 8
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jb 0x43e214
jmp case.default.0x43e020
mov ecx, dword [ebp - 0x30]
push edi
push dword [ebp - 0x34]
call fcn.00432890
push edx
push eax
call fcn.00428bf0
add esp, 8
mov esi, eax
jmp case.default.0x43e020
lea esi, [ebx*4]
jmp case.default.0x43e020
lea esi, [ebx*8]
jmp case.default.0x43e020
mov esi, ebx
jmp case.default.0x43e020
cmp dword [edi + 0x20], 3
jne 0x43e2b6
xor eax, eax
mov dword [ebp - 0x2c], eax
test ebx, ebx
je case.default.0x43e020
nop dword [eax]
mov ecx, dword [ebp - 0x30]
push eax
push edi
push dword [ebp - 0x34]
call fcn.004322c0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
add esi, eax
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jb 0x43e290
jmp case.default.0x43e020
mov ecx, dword [ebp - 0x30]
push 0
push edi
push dword [ebp - 0x34]
call fcn.00431ae0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
mov esi, eax
jmp case.default.0x43e020
cmp dword [edi + 0x20], 3
jne 0x43e30d
xor eax, eax
mov dword [ebp - 0x2c], eax
test ebx, ebx
je case.default.0x43e020
mov ecx, dword [ebp - 0x30]
push eax
push edi
push dword [ebp - 0x34]
call fcn.004322c0
push eax
call fcn.00439360
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jb 0x43e2e5
jmp case.default.0x43e020
mov ecx, dword [ebp - 0x30]
push 0
push edi
push dword [ebp - 0x34]
call fcn.00431ae0
push eax
call fcn.00439360
add esp, 4
mov esi, eax
jmp case.default.0x43e020
cmp dword [edi + 0x20], 3
jne 0x43e36a
xor eax, eax
mov dword [ebp - 0x2c], eax
test ebx, ebx
je case.default.0x43e020
nop
mov ecx, dword [ebp - 0x30]
push eax
push edi
push dword [ebp - 0x34]
call fcn.00431f80
push dword [eax + 8]
call fcn.00428b70
add esi, eax
add esp, 4
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jb 0x43e340
jmp case.default.0x43e020
mov ecx, dword [ebp - 0x30]
push edi
push dword [ebp - 0x34]
call fcn.004316f0
push dword [eax + 8]
call fcn.00428b70
add esp, 4
mov esi, eax
jmp case.default.0x43e020
xor eax, eax
mov dword [ebp - 0x2c], eax
test ebx, ebx
je case.default.0x43e020
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp dword [edi + 0x20], 3
mov dword [ebp - 4], 4
jne 0x43e3c3
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x30]
push eax
push edi
push dword [ebp - 0x34]
call fcn.00432470
jmp 0x43e3d3
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
push edi
push dword [ebp - 0x34]
call fcn.00432740
mov ecx, dword [eax + 0x10]
mov eax, ecx
or eax, 1
mov dword [ebp - 4], 0xffffffff
bsr eax, eax
lea eax, [eax + eax*8]
add eax, 0x49
shr eax, 6
add eax, ecx
lea ecx, [ebp - 0x28]
add esi, eax
call fcn.004027bd
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jb 0x43e391
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004dcf35
mov esp, ebp
pop ebp
ret