Function at 0x43d100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1f0
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x550014]
xor eax, ebp
mov dword [esp + 0x1e8], eax
test ebx, ebx
je 0x43d5ad
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x1a0], xmm0
movdqa xmmword [esp + 0x190], xmm0
call fcn.00483ee0
test eax, eax
jne 0x43d7e4
lea eax, [esp + 0x190]
push 0x20
push eax
call fcn.00483f10
add esp, 8
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
xor ecx, ecx
mov dl, byte [eax + ecx]
xor byte [esp + ecx + 0x190], dl
inc ecx
cmp ecx, 0x20
jne 0x43d169
lea eax, [esp + 0x68]
push 0x128
push 0xff
push eax
call fcn.0049dcc0
add esp, 0xc
push 1
call fcn.00483e60
add esp, 4
test eax, eax
je 0x43d5f5
mov esi, eax
add eax, 0x120
mov dword [esp + 0x18], eax
cmp dword [esi + 0x120], 0xfff
ja 0x43d720
mov eax, dword [esi + 0x118]
or eax, dword [esi + 0x11c]
jne 0x43d720
lea eax, [esi + 0xfc]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x110]
mov ecx, dword [esi + 0x114]
mov edi, 0x20
mov dword [esp + 0x24], 0
mov edx, 0x10000
cmp ebx, edx
mov edx, 0x10000
cmovb edx, ebx
mov dword [esp + 0x20], edx
neg eax
mov eax, 0x10000
sbb eax, ecx
jb 0x43d787
test byte [esp + 0x24], 1
mov dword [esp + 0x2c], ebx
jne 0x43d32d
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x1d0], xmm0
movdqa xmmword [esp + 0x1c0], xmm0
movdqa xmmword [esp + 0x1b0], xmm0
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [esp + 0x1b4]
push eax
mov ebx, dword [esp + 0x14]
push ebx
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [esp + 0x1c4]
push eax
push ebx
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [esp + 0x1d4]
push eax
push ebx
call ecx
add esp, 0xc
xor eax, eax
mov cl, byte [esp + eax + 0x190]
xor byte [esp + eax + 0x1b0], cl
inc eax
cmp edi, eax
jne 0x43d2cc
mov eax, dword [0x565a1c]
bt eax, 0x19
jae 0x43d78c
push esi
push 0x100
lea eax, [esp + 0x1b8]
push eax
call fcn.00403380
add esp, 0xc
mov eax, 0x401b90
mov ecx, section..text
mov dword [esi + 0xf4], ecx
mov dword [esi + 0xf8], eax
lea eax, [esp + 0x1d0]
movdqu xmm0, xmmword [eax]
mov eax, dword [esp + 0xc]
movdqu xmmword [eax], xmm0
mov eax, dword [esp + 0x20]
mov ebx, eax
mov ecx, dword [esp + 0x1c]
cmp eax, 0x10
jae 0x43d4f4
test ebx, ebx
je 0x43d39e
mov dword [esp + 8], ecx
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x1b0], xmm0
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [esp + 0x1b4]
push eax
push dword [esp + 0x14]
call ecx
add esp, 0xc
cmp ebx, 8
jne 0x43d706
movq xmm0, qword [esp + 0x1b0]
mov eax, dword [esp + 8]
movq qword [eax], xmm0
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x1d0], xmm0
movdqa xmmword [esp + 0x1c0], xmm0
movdqa xmmword [esp + 0x1b0], xmm0
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [esp + 0x1b4]
push eax
mov ebx, dword [esp + 0x14]
push ebx
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [esp + 0x1c4]
push eax
push ebx
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [esp + 0x1d4]
push eax
push ebx
call ecx
add esp, 0xc
test byte [esp + 0x24], 1
jne 0x43d461
xor eax, eax
mov cl, byte [esp + eax + 0x190]
xor byte [esp + eax + 0x1b0], cl
inc eax
cmp edi, eax
jne 0x43d44e
mov eax, dword [0x565a1c]
bt eax, 0x19
jae 0x43d7b8
push esi
push 0x100
lea eax, [esp + 0x1b8]
push eax
call fcn.00403380
add esp, 0xc
mov eax, 0x401b90
mov ecx, section..text
mov dword [esi + 0xf4], ecx
mov dword [esi + 0xf8], eax
lea eax, [esp + 0x1d0]
movdqu xmm0, xmmword [eax]
mov eax, dword [esp + 0xc]
movdqu xmmword [eax], xmm0
mov eax, dword [esi + 0x110]
mov ecx, dword [esi + 0x114]
add eax, 1
adc ecx, 0
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], ecx
mov edx, dword [esp + 0x18]
inc dword [edx]
mov edx, dword [esp + 0x20]
add dword [esp + 0x1c], edx
xor edi, edi
mov bl, 1
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x2c]
sub ebx, edx
je 0x43d5a1
jmp 0x43d1f2
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov eax, 0x2000
cmp ebx, eax
mov edx, 0x2000
cmovb edx, ebx
mov eax, edx
and eax, 0x3ff0
cmp dword [esi + 0xf8], 0
mov dword [esp + 0x14], eax
mov dword [esp + 8], ecx
je 0x43d812
shr edx, 4
cmp eax, 0x10
mov dword [esp + 0x10], edx
jne 0x43d5c3
pxor xmm0, xmm0
movdqu xmmword [ecx], xmm0
mov ecx, dword [esi + 0xf8]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push dword [esp + 0xc]
push esi
push dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push eax
push eax
call ecx
add esp, 0x14
mov eax, dword [esi + 0x108]
bswap eax
mov ecx, dword [esp + 0x10]
add eax, ecx
dec eax
bswap eax
mov dword [esi + 0x108], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
add ecx, eax
sub ebx, eax
cmp ebx, 0xf
jbe 0x43d340
jmp 0x43d4fc
lea eax, [esp + 0x68]
cmp esi, eax
je 0x43d7ff
mov ecx, dword [esp + 0x1e8]
xor ecx, ebp
call fcn.0049b033
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp eax, 0x20
je 0x43d5e7
test eax, eax
je 0x43d53f
push dword [esp + 0x14]
push 0
push dword [esp + 0x10]
call fcn.0049dcc0
add esp, 0xc
jmp 0x43d53f
pxor xmm0, xmm0
movdqu xmmword [ecx + 0x10], xmm0
jmp 0x43d53b
push 0x128
call fcn.00479fb0
add esp, 4
test eax, eax
je 0x43d8b3
mov esi, eax
push 0x440240
push eax
push 1
call fcn.0044cf30
add esp, 0xc
test eax, eax
je 0x43d8b3
mov dword [esi + 0x124], 0
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x30]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
push 0x30
push edi
call fcn.0044d500
add esp, 8
movaps xmm0, xmmword [edi + 0x20]
movaps xmmword [esp + 0x1d0], xmm0
movaps xmm0, xmmword [edi]
movaps xmm1, xmmword [edi + 0x10]
movaps xmmword [esp + 0x1c0], xmm1
movaps xmmword [esp + 0x1b0], xmm0
xor eax, eax
mov cl, byte [eax + 0x541848]
xor byte [esp + eax + 0x1b0], cl
inc eax
cmp eax, 0x30
jne 0x43d674
mov eax, dword [0x565a1c]
bt eax, 0x19
jae 0x43d8bc
lea eax, [esp + 0x1b0]
push esi
push 0x100
push eax
call fcn.00403380
add esp, 0xc
mov eax, 0x401b90
mov ecx, section..text
mov dword [esi + 0xf4], ecx
mov dword [esi + 0xf8], eax
movdqa xmm0, xmmword [esp + 0x1d0]
movdqu xmmword [esi + 0xfc], xmm0
xor eax, eax
mov dword [esi + 0x114], eax
mov dword [esi + 0x110], 1
lea ecx, [esi + 0x120]
mov dword [esp + 0x18], ecx
mov dword [esi + 0x120], eax
mov dword [esi + 0x11c], eax
mov dword [esi + 0x118], eax
jmp 0x43d1bd
push ebx
lea eax, [esp + 0x1b4]
push eax
push dword [esp + 0x10]
call fcn.0049d740
add esp, 0xc
jmp 0x43d39e
pcmpeqd xmm0, xmm0
lea eax, [esp + 0x1b0]
movdqa xmmword [eax + 0x20], xmm0
movdqa xmmword [eax + 0x10], xmm0
movdqa xmmword [eax], xmm0
mov edi, 0x30
push edi
push eax
call fcn.0044d500
add esp, 8
mov ecx, esi
lea edx, [esp + 0x1b0]
push edi
call fcn.00478e60
add esp, 4
test eax, eax
je 0x43d787
xor eax, eax
mov dword [esi + 0x114], eax
mov dword [esi + 0x110], 1
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [esi + 0x11c], eax
mov dword [esi + 0x118], eax
jmp 0x43d1cf
call fcn.004ac810
bt eax, 9
jae 0x43d869
push esi
push 0x100
lea eax, [esp + 0x1b8]
push eax
call fcn.00403ea0
add esp, 0xc
xor eax, eax
mov ecx, 0x403f50
jmp 0x43d30e
bt eax, 9
jae 0x43d88e
push esi
push 0x100
lea eax, [esp + 0x1b8]
push eax
call fcn.00403ea0
add esp, 0xc
xor eax, eax
mov ecx, 0x403f50
jmp 0x43d490
pxor xmm0, xmm0
movdqa xmmword [esp + 0x1a0], xmm0
movdqa xmmword [esp + 0x190], xmm0
jmp 0x43d15d
push 0x118
push eax
call fcn.0047a020
add esp, 8
jmp 0x43d5ad
test eax, eax
je 0x43d587
xor edx, edx
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x10], edx
add eax, edx
mov dword [esp + 0x28], eax
call dword [section..00cfg]
push esi
push dword [esp + 0x2c]
push dword [esp + 0x14]
call ecx
add esp, 0xc
mov eax, dword [esp + 0x10]
add eax, 0x10
mov edx, eax
cmp eax, dword [esp + 0x14]
jb 0x43d81c
jmp 0x43d587
push esi
push 0x100
lea eax, [esp + 0x1b8]
push eax
call fcn.004ee640
add esp, 0xc
mov eax, 0x4eedd0
mov ecx, 0x4ee540
jmp 0x43d30e
push esi
push 0x100
lea eax, [esp + 0x1b8]
push eax
call fcn.004ee640
add esp, 0xc
mov eax, 0x4eedd0
mov ecx, 0x4ee540
jmp 0x43d490
lea esi, [esp + 0x68]
jmp 0x43d624
bt eax, 9
jae 0x43d8e4
lea eax, [esp + 0x1b0]
push esi
push 0x100
push eax
call fcn.00403ea0
add esp, 0xc
xor eax, eax
mov ecx, 0x403f50
jmp 0x43d6b6
lea eax, [esp + 0x1b0]
push esi
push 0x100
push eax
call fcn.004ee640
add esp, 0xc
mov eax, 0x4eedd0
mov ecx, 0x4ee540
jmp 0x43d6b6