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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x184], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x64], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0xc], edi
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x38], eax
lea eax, [esi + 0x2c]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x50], edx
mov edx, 1
lea edi, [eax + ecx]
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
sub eax, ecx
mov dword [esp + 0x68], edi
mov ecx, dword [esi + 0xb8]
shl edx, cl
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x1c], eax
sub eax, ecx
mov edi, dword [esp + 0x1c]
sub edi, edx
mov dword [esp + 0x30], 3
cmp eax, edx
mov dword [esp + 0x40], 0x3f
mov edx, dword [esi + 0x50]
mov eax, edi
mov edi, dword [esp + 0xc]
cmovbe eax, ecx
cmp dword [esi + 0x18], 0
mov dword [esp + 0x54], edx
cmovne eax, ecx
mov ecx, 6
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0xc4]
cmp eax, ecx
cmovb ecx, eax
mov eax, 1
shl eax, cl
mov ecx, esi
mov dword [esp + 0x60], eax
cmp dword [ecx + 0xdc], 0
jne 0x1055f17b
mov eax, dword [esp + 0x34]
mov esi, dword [ecx + 0x1c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
sub eax, esi
mov dword [esp + 0x14], esi
mov dword [esp + 8], edx
mov dword [esp + 0x44], 0x18
cmp eax, 0x180
jbe 0x1055f0ae
mov eax, dword [esp + 0x34]
lea edx, [esi + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], edx
mov dword [esp + 8], eax
cmp esi, edx
jae 0x1055f00b
mov esi, dword [esp + 0x44]
sub esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], esi
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x28]
imul edx, dword [eax + edi + 8], 0x9e3779b1
mov eax, edi
and eax, 7
xor edx, dword [ecx + 0x50]
mov ecx, esi
mov esi, dword [esp + 0x3c]
shr edx, cl
mov ecx, dword [esi + eax*4]
mov dword [esi + eax*4], edx
mov eax, ecx
mov edx, dword [esp + 0x38]
shr eax, 2
mov dword [esp + 0x14], ecx
and eax, 0x3fffffc0
mov ecx, dword [esp + 0x34]
add edx, eax
lea esi, [ecx + eax*4]
movzx ecx, byte [edx]
dec ecx
mov eax, 0
and ecx, 0x3f
cmove eax, dword [esp + 0x40]
add ecx, eax
mov eax, dword [esp + 0x14]
mov byte [edx], cl
mov byte [ecx + edx], al
mov dword [esi + ecx*4], edi
inc edi
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
cmp edi, dword [esp + 0x20]
jb 0x1055ef80
mov eax, dword [ecx + 0x5c]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
mov eax, dword [ecx + 0x24]
lea edx, [edi + 1]
mov esi, dword [esp + 0x1c]
add esi, 0xffffffe0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
add eax, esi
mov dword [esp + 0x14], esi
cmp eax, edx
jbe 0x1055f02e
xor edx, edx
jmp 0x1055f035
sub edx, dword [esp + 0x28]
sub edx, esi
inc edx
mov eax, 8
cmp edx, eax
cmova edx, eax
add edx, esi
mov dword [esp + 0x70], edx
cmp esi, edx
jae 0x1055f0aa
mov eax, dword [esp + 0x44]
mov edi, esi
sub eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
nop word [eax + eax]
mov eax, dword [esp + 0x28]
imul edx, dword [eax + edi], 0x9e3779b1
mov eax, edi
and eax, 7
inc edi
xor edx, dword [ecx + 0x50]
mov ecx, dword [esp + 0x24]
shr edx, cl
mov ecx, dword [esp + 0x18]
mov dword [ecx + eax*4 + 0x2c], edx
cmp edi, dword [esp + 0x70]
jb 0x1055f060
mov eax, dword [ecx + 0x5c]
mov edx, dword [ecx + 4]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x20], eax
mov dword [esp + 8], edx
jmp 0x1055f0ae
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x1c]
cmp esi, eax
jae 0x1055f148
mov esi, dword [esp + 0x44]
sub esi, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x20], esi
nop word [eax + eax]
imul edx, dword [edx + edi + 8], 0x9e3779b1
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x74], eax
mov eax, edi
and eax, 7
xor edx, dword [ecx + 0x50]
mov ecx, esi
mov esi, dword [esp + 0x3c]
shr edx, cl
mov ecx, dword [esi + eax*4]
mov dword [esi + eax*4], edx
mov eax, ecx
mov edx, dword [esp + 0x24]
shr eax, 2
and eax, 0x3fffffc0
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x58]
add edx, eax
lea esi, [ecx + eax*4]
movzx ecx, byte [edx]
dec ecx
mov eax, 0
and ecx, 0x3f
cmove eax, dword [esp + 0x40]
add ecx, eax
mov eax, dword [esp + 0x70]
mov byte [edx], cl
mov byte [ecx + edx], al
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 8]
mov dword [esi + ecx*4], edi
inc edi
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
cmp edi, eax
jb 0x1055f0d0
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x10]
mov dword [esi + 0x1c], eax
imul edx, dword [edi + 8], 0x9e3779b1
mov eax, dword [esp + 0x1c]
xor edx, dword [esp + 0x54]
shr edx, cl
and eax, 7
mov ecx, dword [esi + eax*4 + 0x2c]
mov dword [esi + eax*4 + 0x2c], edx
mov eax, ecx
mov dword [esp + 0x10], ecx
jmp 0x1055f199
imul eax, dword [edi], 0x9e3779b1
mov ecx, 0x18
sub ecx, dword [esp + 0x10]
xor eax, edx
shr eax, cl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esi + 0x1c], ecx
add dword [esi + 0x58], eax
xor edx, edx
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
shr eax, 2
and eax, 0x3fffffc0
mov dword [esp + 0x14], edx
add edi, eax
mov dword [esp + 8], 0
mov dword [esp + 0x38], edi
mov edx, edi
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x10]
movzx esi, byte [edi]
movsx eax, al
mov dword [esp + 0x34], ecx
xor ecx, ecx
mov dword [esp + 0x3c], esi
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x70], eax
inc ecx
cmp ecx, 4
jl 0x1055f1f2
mov eax, dword [esp + 0x7c]
and esi, 0x3f
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0x78]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x74]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x70]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
mov dword [esp + 0x40], ecx
or edi, eax
mov edx, dword [esp + 0x40]
mov ecx, esi
neg ecx
mov eax, edi
and ecx, 0x3f
call fcn.10511ff0
mov dword [esp + 0x54], eax
mov ecx, esi
mov dword [esp + 0x70], edx
mov eax, edi
mov edx, dword [esp + 0x40]
call fcn.10512520
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x70]
or esi, eax
or edi, edx
ja 0x1055f283
test esi, esi
je 0x1055f2d7
mov edx, dword [esp + 0x60]
test edx, edx
je 0x1055f2d7
test esi, esi
jne 0x1055f297
bsf eax, edi
add eax, 0x20
jmp 0x1055f29a
bsf eax, esi
add eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
and eax, 0x3f
mov eax, dword [ecx + eax*4]
je 0x1055f2c1
cmp eax, dword [esp + 0x48]
jb 0x1055f2d7
mov ecx, dword [esp + 8]
mov dword [esp + ecx*4 + 0x88], eax
inc ecx
mov dword [esp + 8], ecx
dec edx
mov ecx, esi
mov eax, edi
add ecx, 0xffffffff
adc eax, 0xffffffff
and esi, ecx
and edi, eax
ja 0x1055f287
jb 0x1055f2d7
test esi, esi
jne 0x1055f287
mov ecx, dword [esp + 0x3c]
mov edx, 0x3f
mov esi, dword [esp + 0x34]
dec ecx
and ecx, 0x3f
mov eax, 0
cmove eax, edx
mov edx, dword [esp + 0x38]
add ecx, eax
mov eax, dword [esp + 0x10]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x1c]
mov dword [esi + ecx*4], eax
inc dword [edx + 0x1c]
cmp dword [esp + 8], 0
jbe 0x1055f4b3
mov edx, dword [esp + 8]
xor eax, eax
nop dword [eax]
mov eax, dword [esp + eax*4 + 0x88]
mov edi, dword [esp + 0xc]
cmp eax, dword [esp + 0x4c]
jb 0x1055f3cd
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
add edx, eax
mov eax, dword [edx + ecx - 3]
cmp eax, dword [ecx + edi - 3]
jne 0x1055f46a
mov esi, dword [esp + 0x2c]
mov eax, edi
add esi, 0xfffffffd
cmp edi, esi
jae 0x1055f390
mov eax, dword [edx]
xor eax, dword [edi]
je 0x1055f36f
mov esi, dword [esp + 0x2c]
bsf ecx, eax
shr ecx, 3
jmp 0x1055f43d
lea eax, [edi + 4]
add edx, 4
cmp eax, esi
jae 0x1055f390
nop dword [eax]
mov ecx, dword [edx]
xor ecx, dword [eax]
jne 0x1055f3bd
add eax, 4
add edx, 4
cmp eax, esi
jb 0x1055f380
mov esi, dword [esp + 0x2c]
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x1055f3a9
mov cx, word [edx]
cmp cx, word [eax]
jne 0x1055f3a9
add eax, 2
add edx, 2
cmp eax, esi
jae 0x1055f3b4
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x1055f3b4
inc eax
mov ecx, eax
sub ecx, edi
jmp 0x1055f43d
mov esi, dword [esp + 0x2c]
bsf ecx, ecx
shr ecx, 3
sub ecx, edi
add ecx, eax
jmp 0x1055f43d
mov esi, dword [esp + 0x50]
add esi, eax
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x1055f495
mov ecx, dword [esp + 0x4c]
lea eax, [edi + 4]
add ecx, dword [esp + 0x50]
add esi, 4
sub eax, esi
add eax, ecx
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
cmovb ecx, eax
mov eax, edi
push ecx
add eax, 4
push esi
push eax
call fcn.1054a920
mov edx, dword [esp + 0x58]
mov ecx, eax
add edx, dword [esp + 0x5c]
add esp, 0xc
mov dword [esp + 0x60], ecx
lea eax, [ecx + esi]
mov esi, dword [esp + 0x2c]
cmp eax, edx
jne 0x1055f43a
push esi
push dword [esp + 0x6c]
lea eax, [edi + 4]
add eax, ecx
push eax
call fcn.1054a920
mov ecx, dword [esp + 0x6c]
add esp, 0xc
add ecx, eax
add ecx, 4
cmp ecx, dword [esp + 0x30]
jbe 0x1055f466
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
sub eax, dword [esp + edx*4 + 0x88]
mov edx, dword [esp + 0x6c]
add eax, 3
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x1055f49b
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, edx
jb 0x1055f320
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.105116c0
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x30]
jmp 0x1055f46e
mov eax, dword [esp + 0x30]
pop edi
pop esi
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.105116c0
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x18c]
mov eax, 3
pop edi
pop esi
xor ecx, esp
call fcn.105116c0
mov esp, ebp
pop ebp
ret