Function at 0x1055b570
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1a8
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x1a4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x80], ecx
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x24]
push edi
mov dword [esp + 0x2c], eax
mov edi, 1
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 4]
sub eax, ecx
mov dword [esp + 0x64], edx
add edx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x8c], edx
mov edx, edi
shl edx, cl
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x24]
sub esi, edx
mov dword [esp + 0x28], 3
cmp eax, edx
mov eax, esi
mov esi, dword [esp + 0x38]
cmovbe eax, ecx
push 0xcf1bbcdc
push 0xbb000000
cmp dword [esi + 0x18], 0
mov edx, dword [esi + 0x54]
cmovne eax, ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], eax
mov ecx, 5
mov eax, dword [esi + 0xc4]
cmp eax, ecx
mov dword [esp + 0x84], edx
cmovb ecx, eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x90], eax
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0xb4]
shl edi, cl
mov dword [esp + 0x5c], edi
mov dword [esp + 0x68], eax
mov edi, dword [eax + 0x5c]
mov esi, dword [eax + 0x28]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x28], edi
push dword [eax + 4]
push dword [eax]
call fcn.10511b50
mov edi, dword [esp + 0x60]
mov ecx, 0x38
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
sub ecx, dword [edi + 0x24]
call fcn.10512520
mov edi, dword [esp + 0x20]
mov dword [esp + 0x70], eax
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x20], 0x1f
lea ecx, [eax + esi]
mov esi, dword [esp + 0x38]
lea eax, [edi + eax*4]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], eax
cmp dword [esi + 0xdc], 0
jne 0x1055b9a5
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x24]
mov edx, dword [esi + 0x1c]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x40], eax
mov eax, edi
sub eax, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x5c], ecx
cmp eax, 0x180
jbe 0x1055b89f
lea eax, [edx + 0x60]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
cmp edx, dword [esp + 0x40]
jae 0x1055b7e3
mov eax, 0x38
sub eax, dword [esp + 0x48]
mov edi, eax
nop word [eax + eax]
push 0xcf1bbcdc
push 0xbb000000
push dword [edx + ecx + 0xc]
push dword [edx + ecx + 8]
call fcn.10511b50
xor eax, dword [esi + 0x50]
mov ecx, edi
xor edx, dword [esi + 0x54]
call fcn.10512520
mov ecx, eax
mov eax, dword [esp + 0x14]
and eax, 7
mov edx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], ecx
mov eax, edx
mov ecx, dword [esp + 0x4c]
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1c]
add edx, eax
lea esi, [ecx + eax*4]
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x18]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x14]
mov dword [esi + ecx*4], edx
inc edx
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
cmp edx, dword [esp + 0x40]
jb 0x1055b740
mov eax, dword [esi + 0x5c]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x24]
lea edx, [edi - 0x20]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
add eax, edx
mov dword [esp + 0x14], edx
lea ecx, [edi + 1]
mov dword [esp + 0x78], edx
cmp eax, ecx
mov eax, dword [esp + 0x3c]
jbe 0x1055b80e
xor ecx, ecx
jmp 0x1055b813
sub ecx, eax
sub ecx, edx
inc ecx
cmp ecx, 8
mov dword [esp + 0x68], 8
cmova ecx, dword [esp + 0x68]
add ecx, edx
mov dword [esp + 0x90], ecx
cmp edx, ecx
jae 0x1055b8a3
mov edi, dword [esp + 0x78]
mov ecx, 0x38
sub ecx, dword [esp + 0x40]
mov dword [esp + 0x68], ecx
push 0xcf1bbcdc
push 0xbb000000
push dword [edi + eax + 4]
push dword [edi + eax]
call fcn.10511b50
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x68]
call fcn.10512520
mov ecx, eax
mov eax, edi
and eax, 7
inc edi
mov dword [esi + eax*4 + 0x2c], ecx
mov eax, dword [esp + 0x3c]
cmp edi, dword [esp + 0x90]
jb 0x1055b841
mov eax, dword [esi + 0x5c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x5c], eax
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
cmp edx, eax
jae 0x1055b961
mov edi, dword [esp + 0x5c]
mov eax, 0x38
sub eax, dword [esp + 0x40]
mov dword [esp + 0x90], eax
nop dword [eax]
nop word [eax + eax]
push 0xcf1bbcdc
push 0xbb000000
push dword [edx + edi + 0xc]
push dword [edx + edi + 8]
call fcn.10511b50
xor eax, dword [esi + 0x50]
xor edx, dword [esi + 0x54]
mov ecx, dword [esp + 0x90]
call fcn.10512520
mov ecx, eax
mov eax, dword [esp + 0x14]
and eax, 7
mov edx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], ecx
mov eax, edx
mov ecx, dword [esp + 0x44]
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x18]
add edx, eax
lea esi, [ecx + eax*4]
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x20]
add ecx, eax
mov eax, dword [esp + 0x78]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov dword [esi + ecx*4], edx
inc edx
mov esi, dword [esp + 0x38]
mov dword [esp + 0x14], edx
cmp edx, eax
jb 0x1055b8d0
mov edi, dword [esp + 0x2c]
push 0xcf1bbcdc
push 0xbb000000
mov dword [esi + 0x1c], eax
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.10511b50
xor eax, dword [esp + 0x88]
mov ecx, 0x38
xor edx, dword [esp + 0x58]
sub ecx, dword [esp + 0x48]
call fcn.10512520
mov ecx, eax
mov eax, dword [esp + 0x24]
and eax, 7
mov edx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], ecx
jmp 0x1055b9d7
movq xmm0, qword [esp + 0x78]
mov eax, 0x38
sub eax, dword [esp + 0x48]
movq xmm1, qword [esp + 0x90]
mov edi, dword [esp + 0x2c]
xorps xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x24]
psrlq xmm1, xmm0
mov dword [esi + 0x1c], eax
movd edx, xmm1
mov ecx, dword [esp + 0x4c]
mov eax, edx
add dword [esi + 0x58], edx
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x48], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x44], 0
lea ecx, [ecx + eax*4]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov al, byte [eax]
mov byte [esp + 0x37], al
movzx eax, al
mov dword [esp + 0x20], eax
movsx eax, dl
mov edx, dword [esp + 0x4c]
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
nop dword [eax]
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x90], eax
inc ecx
cmp ecx, 2
jl 0x1055ba40
mov edx, dword [esp + 0x94]
mov cl, byte [esp + 0x37]
shl edx, 0x10
and cl, 0x1f
or edx, dword [esp + 0x90]
ror edx, cl
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test edx, edx
je 0x1055bae7
mov edi, dword [esp + 0x54]
xor esi, esi
test edi, edi
je 0x1055bad7
test edx, edx
jne 0x1055ba95
bsf eax, ecx
add eax, 0x20
jmp 0x1055ba98
bsf eax, edx
add eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
and eax, 0x1f
mov eax, dword [ecx + eax*4]
je 0x1055bab7
cmp eax, dword [esp + 0x50]
jb 0x1055bad7
mov dword [esp + esi*4 + 0xa8], eax
inc esi
dec edi
mov eax, dword [esp + 0x1c]
mov ecx, edx
add ecx, 0xffffffff
adc eax, 0xffffffff
and edx, ecx
mov ecx, dword [esp + 0x1c]
and ecx, eax
mov dword [esp + 0x1c], ecx
ja 0x1055ba85
jb 0x1055bad7
test edx, edx
jne 0x1055ba85
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov edx, 0x1f
dec ecx
mov eax, 0
and ecx, 0x1f
cmove eax, edx
mov edx, dword [esp + 0x4c]
add ecx, eax
mov eax, dword [esp + 0x48]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x1c]
cmp dword [esp + 0x14], 0
jbe 0x1055bbf7
mov ecx, dword [esp + 0x14]
mov esi, 3
xor eax, eax
nop
mov eax, dword [esp + eax*4 + 0xa8]
mov edx, dword [esp + 0x3c]
add edx, eax
mov dword [esp + 0x58], eax
mov eax, dword [edx + esi - 3]
cmp eax, dword [esi + edi - 3]
jne 0x1055bbe6
mov esi, dword [esp + 0x30]
mov eax, edi
add esi, 0xfffffffd
cmp edi, esi
jae 0x1055bb94
mov eax, dword [edx]
xor eax, dword [edi]
je 0x1055bb6e
mov esi, dword [esp + 0x30]
bsf eax, eax
shr eax, 3
jmp 0x1055bbba
lea eax, [edi + 4]
add edx, 4
cmp eax, esi
jae 0x1055bb94
nop dword [eax + eax]
mov ecx, dword [edx]
xor ecx, dword [eax]
jne 0x1055bca3
add eax, 4
add edx, 4
cmp eax, esi
jb 0x1055bb80
mov esi, dword [esp + 0x30]
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x1055bbad
mov cx, word [edx]
cmp cx, word [eax]
jne 0x1055bbad
add eax, 2
add edx, 2
cmp eax, esi
jae 0x1055bbb8
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x1055bbb8
inc eax
sub eax, edi
cmp eax, dword [esp + 0x28]
jbe 0x1055bbde
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x84]
add ecx, 3
mov dword [esp + 0x28], eax
add eax, edi
mov dword [edx], ecx
cmp eax, esi
je 0x1055bbf7
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x44], eax
cmp eax, ecx
jb 0x1055bb30
mov edx, dword [esp + 0x60]
mov dword [esp + 0x50], 0
mov dword [esp + 0x1c], 0
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
sub eax, ecx
sub dword [esp + 0x64], eax
mov eax, dword [esp + 0x70]
movzx esi, byte [edx]
movsx eax, al
mov dword [esp + 0x58], ecx
xor ecx, ecx
mov dword [esp + 0x6c], esi
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
nop
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x90], eax
inc ecx
cmp ecx, 2
jl 0x1055bc50
mov edx, dword [esp + 0x94]
mov ecx, esi
shl edx, 0x10
and ecx, 0x1f
or edx, dword [esp + 0x90]
ror edx, cl
xor esi, esi
test edx, edx
je 0x1055bdda
xor edi, edi
nop
cmp dword [esp + 0x54], 0
je 0x1055bcfa
test edx, edx
jne 0x1055bcb4
bsf eax, esi
add eax, 0x20
jmp 0x1055bcb7
mov esi, dword [esp + 0x30]
bsf ecx, ecx
shr ecx, 3
add eax, ecx
jmp 0x1055bbb8
bsf eax, edx
add eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x74]
and eax, 0x1f
mov eax, dword [edi + eax*4]
mov edi, dword [esp + 0x50]
je 0x1055bce4
mov ecx, dword [esp + 0x60]
cmp eax, dword [ecx + 0xc]
jb 0x1055bcfa
mov dword [esp + edi*4 + 0xa8], eax
inc edi
dec dword [esp + 0x54]
mov dword [esp + 0x50], edi
mov ecx, edx
mov eax, esi
add ecx, 0xffffffff
adc eax, 0xffffffff
and edx, ecx
and esi, eax
ja 0x1055bc90
jb 0x1055bcfa
test edx, edx
jne 0x1055bc90
test edi, edi
mov edi, dword [esp + 0x2c]
je 0x1055bdda
xor eax, eax
nop dword [eax + eax]
mov eax, dword [esp + eax*4 + 0xa8]
mov esi, dword [esp + 0x58]
add esi, eax
mov dword [esp + 0x70], eax
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x1055bdad
mov ecx, dword [esp + 0x30]
lea eax, [edi + 4]
add esi, 4
sub eax, esi
add eax, dword [esp + 0x20]
cmp eax, ecx
cmovb ecx, eax
lea eax, [edi + 4]
push ecx
push esi
push eax
call fcn.1054a920
add esp, 0xc
mov dword [esp + 0x74], eax
lea ecx, [eax + esi]
cmp ecx, dword [esp + 0x20]
jne 0x1055bd79
mov esi, dword [esp + 0x30]
add eax, 4
push esi
push dword [esp + 0x90]
add eax, edi
push eax
call fcn.1054a920
add esp, 0xc
add eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x28]
lea edx, [eax + 4]
cmp edx, ecx
jbe 0x1055bdb1
mov eax, dword [esp + 0x24]
mov ecx, edx
sub eax, dword [esp + 0x70]
sub eax, dword [esp + 0x64]
mov esi, dword [esp + 0x84]
add eax, 3
mov dword [esp + 0x28], ecx
mov dword [esi], eax
lea eax, [edx + edi]
cmp eax, dword [esp + 0x30]
je 0x1055bdc4
jmp 0x1055bdb1
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x50]
jb 0x1055bd10
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1a4]
xor ecx, esp
call fcn.105116c0
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1ac]
mov eax, dword [esp + 0x28]
pop edi
pop esi
xor ecx, esp
call fcn.105116c0
mov esp, ebp
pop ebp
ret