Function at 0x43e190
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov ebp, dword [esp + 0x38]
mov dword [esp + 6], 0xa2a3a4a5
mov byte [esp + 0xa], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 6]
mov esi, 0x60889915
sub esi, eax
lea edi, [eax + 0xa]
mov ebx, esi
and ebx, 0x1c
and edi, 0x1c
xor edi, 0x2008981c
mov ecx, eax
and ecx, 3
or ecx, ebx
or ecx, edi
and esi, 3
xor esi, 0x16600203
xor ecx, 2
or ecx, esi
xor ecx, edx
lea edx, [ecx + ecx]
and edx, 0x5e
xor edx, 0x58
xor ecx, 0x53
add ecx, edx
inc cl
mov byte [esp + eax + 6], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 5
jb 0x43e1b0
mov edi, dword [esp + 6]
mov eax, dword [0x449dc8]
test eax, eax
je 0x43e25e
xor ecx, ecx
mov edx, dword [0x449dcc]
nop
cmp dword [edx + ecx*8], 0xcf2d66db
je 0x43e230
inc ecx
cmp eax, ecx
jne 0x43e220
jmp 0x43e25e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, edi
je 0x43e25e
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push dword [esp + 0x44]
push dword [esp + 0x44]
push 0x18
push eax
push dword [0x449dd0]
call fcn.0043ad80
add esp, 0x24
mov edi, eax
cmp edi, 0xc0000023
jne 0x43e4ef
mov dword [esp + 0x14], ebp
push dword [esp + 0x10]
call fcn.00439230
add esp, 4
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 6], 0xa2a3a4a5
mov byte [esp + 0xa], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + edx + 6]
mov ecx, 0x60889915
sub ecx, edx
lea esi, [edx + 0xa]
mov ebp, ecx
and ebp, 0x1c
and esi, 0x1c
xor esi, 0x2008981c
mov ebx, edx
and ebx, 3
or ebx, ebp
or ebx, esi
and ecx, 3
xor ecx, 0x16600203
xor ebx, 2
or ebx, ecx
xor ebx, edi
lea ecx, [ebx + ebx]
and ecx, 0x5e
xor ecx, 0x58
xor ebx, 0x53
add ebx, ecx
inc bl
mov byte [esp + edx + 6], bl
mov ecx, edx
and ecx, 1
xor edx, 1
lea edx, [edx + ecx*2]
cmp edx, 5
jb 0x43e2a0
mov edi, dword [esp + 6]
mov ecx, dword [0x449dc8]
test ecx, ecx
je 0x43e333
mov dword [esp], edi
xor edx, edx
mov edi, dword [0x449dcc]
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0xc]
nop
cmp dword [edi + edx*8], 0xcf2d66db
je 0x43e341
inc edx
cmp ecx, edx
jne 0x43e320
mov edi, dword [esp]
jmp 0x43e379
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0xc]
jmp 0x43e379
mov edx, dword [edi + edx*8 + 4]
mov edi, dword [esp]
cmp edx, edi
je 0x43e379
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x1c]
push ebx
push 1
push dword [esp + 0x44]
push dword [esp + 0x44]
push 0x18
push edx
push dword [0x449dd0]
mov edi, eax
call fcn.0043ad80
add esp, 0x24
mov ecx, eax
mov eax, edi
mov edi, ecx
test edi, edi
js 0x43e4e6
test ebp, ebp
je 0x43e470
cmp dword [esp + 0x38], 0
je 0x43e468
mov ecx, dword [ebx + 0x10]
shr ecx, 1
mov ebp, dword [ebp]
cmp ebp, ecx
jb 0x43e3a2
mov ebp, ecx
test ebp, ebp
je 0x43e3ea
add eax, 0x14
mov ecx, ebp
and ecx, 3
mov dword [esp], edi
je 0x43e3f0
xor edi, edi
mov ebx, dword [esp + 0x38]
nop
nop
nop
nop
nop
nop
nop
movzx esi, word [eax]
xor edx, edx
test si, si
setne dl
lea eax, [eax + edx*2]
mov word [ebx], si
add ebx, 2
inc edi
cmp ecx, edi
jne 0x43e3c0
mov dword [esp + 0x14], ebx
mov ecx, ebp
sub ecx, edi
mov ebx, dword [esp + 0xc]
mov edi, dword [esp]
jmp 0x43e3f2
mov ebp, dword [esp + 0x38]
jmp 0x43e45a
mov ecx, ebp
cmp ebp, 4
mov ebp, dword [esp + 0x14]
jb 0x43e45a
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea esi, [eax + ebx*2]
mov word [ebp], dx
movzx eax, word [eax + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea edi, [esi + edx*2]
mov word [ebp + 2], ax
movzx eax, word [esi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea esi, [edi + edx*2]
mov word [ebp + 4], ax
movzx edx, word [edi + edx*2]
xor eax, eax
test dx, dx
setne al
mov word [ebp + 6], dx
add ebp, 8
lea eax, [esi + eax*2]
add ecx, 0xfffffffc
jne 0x43e400
mov ebx, dword [esp + 0xc]
mov edi, dword [esp]
mov word [ebp], 0
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov eax, dword [ebx + 0x10]
shr eax, 1
mov dword [ebp], eax
test esi, esi
je 0x43e479
mov eax, dword [ebx + 4]
mov dword [esi], eax
cmp dword [esp + 0x48], 0
je 0x43e4e6
cmp dword [esp + 0x44], 0
je 0x43e4dd
mov dword [esp], edi
mov eax, dword [esp + 0x48]
mov edx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp edx, eax
jb 0x43e499
mov edx, eax
mov ebp, dword [ebx + 8]
add ebp, ebx
mov ecx, edx
shr ecx, 2
mov eax, ebp
mov esi, dword [esp + 0x44]
mov edi, esi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, edx
shr ecx, 1
and ecx, 1
mov eax, edx
and eax, 0xfffffffc
add ebp, eax
add eax, esi
mov esi, ebp
mov edi, eax
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test dl, 1
mov edi, dword [esp]
je 0x43e4dd
and edx, 2
movzx ecx, byte [ebp + edx]
mov byte [eax + edx], cl
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
push ebx
call fcn.00439250
add esp, 4
mov eax, edi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret