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

Disassembly:
sub esp, 0x180
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x17c], eax
mov edx, dword [esp + 0x184]
mov eax, dword [esp + 0x190]
mov dword [esp + 0x18], eax
push esi
mov esi, dword [esp + 0x190]
mov dword [esp + 0x58], esi
mov esi, edx
push edi
mov edi, dword [esp + 0x190]
mov dword [esp + 0x68], edx
mov edx, 1
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 4]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x78], eax
lea eax, [esi + 0x2c]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x2c], eax
add eax, ecx
mov dword [esp + 8], eax
mov eax, edi
sub eax, ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0xb8]
shl edx, cl
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x74], eax
sub eax, ecx
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x74]
sub edi, edx
mov dword [esp + 0x70], 3
cmp eax, edx
mov eax, edi
mov edi, dword [esp + 0x7c]
mov edx, dword [esi + 0x54]
cmovbe eax, ecx
cmp dword [esi + 0x18], 0
push 0xcf1bbcdc
cmovne eax, ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x54], eax
mov ecx, 4
mov eax, dword [esi + 0xc4]
cmp eax, ecx
push 0xbf9b0000
push dword [edi + 4]
cmovb ecx, eax
mov dword [esp + 0x24], edx
mov eax, dword [esi + 0x50]
mov edx, 1
push dword [edi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xb4]
shl edx, cl
mov dword [esp + 0x90], edx
mov dword [esp + 0x4c], eax
call fcn.10511b50
mov edi, dword [esp + 0x3c]
mov ecx, 0x42
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
sub ecx, dword [edi + 0xc0]
call fcn.10512520
mov ecx, dword [esi + 0xc4]
shl eax, 2
mov dword [esp + 0x30], eax
cmp ecx, 4
jbe 0x10557b42
add ecx, 0xfffffffc
mov eax, 1
shl eax, cl
mov dword [esp + 0x34], eax
jmp 0x10557b4a
mov dword [esp + 0x34], 0
cmp dword [esi + 0xdc], 0
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x60], 0xf
jne 0x10557e1c
mov eax, dword [esp + 0x54]
mov esi, dword [esi + 0x1c]
mov edx, dword [esp + 0x40]
mov ecx, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x74]
sub eax, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], 0x38
cmp eax, 0x180
jbe 0x10557d33
mov eax, dword [esp + 0x54]
lea ecx, [esi + 0x60]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x44], edx
cmp esi, ecx
jae 0x10557c7f
mov esi, dword [esp + 0x24]
sub esi, dword [esp + 0x58]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x48], esi
nop dword [eax + eax]
push 0xcf1bbcdc
push 0xbf9b0000
push dword [edx + edi + 0xc]
push dword [edx + edi + 8]
call fcn.10511b50
mov ecx, dword [esp + 0x68]
xor eax, dword [ecx + 0x50]
xor edx, dword [ecx + 0x54]
mov ecx, esi
call fcn.10512520
mov esi, dword [esp + 0x38]
mov ecx, edi
and ecx, 7
mov edx, dword [esi + ecx*4]
mov dword [esi + ecx*4], eax
mov eax, edx
mov ecx, dword [esp + 0x54]
shr eax, 4
and eax, 0xffffff0
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x78]
add edx, eax
lea esi, [ecx + eax*4]
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0xf
cmove eax, dword [esp + 0x60]
add ecx, eax
mov eax, dword [esp + 0x64]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x40]
mov dword [esi + ecx*4], edi
inc edi
mov esi, dword [esp + 0x48]
cmp edi, dword [esp + 0x4c]
jb 0x10557be0
mov edx, dword [esp + 0x68]
mov edi, dword [esp + 0x7c]
mov eax, dword [edx + 0x5c]
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x64], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x44], eax
jmp 0x10557c83
mov edx, dword [esp + 0x68]
mov eax, dword [edx + 0x24]
lea ecx, [edi + 1]
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x40]
add esi, 0xffffffe0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], esi
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x10557ca7
xor ecx, ecx
jmp 0x10557cac
sub ecx, edx
sub ecx, esi
inc ecx
mov eax, 8
cmp ecx, eax
cmova ecx, eax
add ecx, esi
mov dword [esp + 0x10], ecx
cmp esi, ecx
jae 0x10557d2f
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x64], eax
push 0xcf1bbcdc
push 0xbf9b0000
push dword [edx + esi + 4]
push dword [edx + esi]
call fcn.10511b50
xor eax, dword [edi + 0x50]
xor edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x64]
call fcn.10512520
mov edx, dword [esp + 0x40]
mov ecx, esi
and ecx, 7
inc esi
mov dword [edi + ecx*4 + 0x2c], eax
cmp esi, dword [esp + 0x10]
jb 0x10557cd0
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 4]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x24]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], ecx
jmp 0x10557d33
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x74]
cmp esi, eax
jae 0x10557dda
mov esi, dword [esp + 0x24]
sub esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], esi
nop
push 0xcf1bbcdc
push 0xbf9b0000
push dword [ecx + edi + 0xc]
push dword [ecx + edi + 8]
call fcn.10511b50
mov ecx, dword [esp + 0x68]
xor eax, dword [ecx + 0x50]
xor edx, dword [ecx + 0x54]
mov ecx, esi
call fcn.10512520
mov esi, dword [esp + 0x38]
mov ecx, edi
and ecx, 7
mov edx, dword [esi + ecx*4]
mov dword [esi + ecx*4], eax
mov eax, edx
mov ecx, dword [esp + 0x48]
shr eax, 4
and eax, 0xffffff0
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x64]
add edx, eax
lea esi, [ecx + eax*4]
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0xf
cmove eax, dword [esp + 0x60]
add ecx, eax
mov eax, dword [esp + 0x10]
mov byte [edx], cl
mov byte [ecx + edx], al
mov eax, dword [esp + 0x74]
mov dword [esi + ecx*4], edi
inc edi
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
cmp edi, eax
jb 0x10557d50
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x68]
push 0xcf1bbcdc
push 0xbf9b0000
mov dword [esi + 0x1c], eax
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.10511b50
mov ecx, dword [esp + 0x24]
xor eax, dword [esp + 0x1c]
xor edx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x58]
call fcn.10512520
mov ecx, dword [esp + 0x74]
and ecx, 7
mov edx, dword [esi + ecx*4 + 0x2c]
mov dword [esi + ecx*4 + 0x2c], eax
jmp 0x10557e47
movq xmm0, qword [esp + 0x14]
mov eax, 0x38
sub eax, dword [esp + 0x58]
movq xmm1, qword [esp + 0xc]
xorps xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x74]
psrlq xmm1, xmm0
mov dword [esi + 0x1c], eax
movd edx, xmm1
add dword [esi + 0x58], edx
mov eax, edx
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x78]
shr eax, 4
and eax, 0xffffff0
mov dword [esp + 0x38], edx
add esi, eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x6c], esi
mov dword [esp + 0x58], 0
lea ecx, [ecx + eax*4]
movsx eax, dl
mov dword [esp + 0x54], ecx
movzx ecx, byte [esi]
mov edx, ecx
mov dword [esp + 0x60], ecx
movd xmm0, eax
and edx, 0xf
punpcklbw xmm0, xmm0
mov ecx, edx
punpcklwd xmm0, xmm0
neg ecx
pshufd xmm1, xmm0, 0
and ecx, 0xf
movups xmm0, xmmword [esi]
pcmpeqb xmm0, xmm1
pmovmskb esi, xmm0
mov ax, si
shl ax, cl
mov cx, dx
shr si, cl
or ax, si
movzx eax, ax
cdq
mov esi, eax
test edx, edx
jne 0x10557ecc
test esi, esi
je 0x10557f32
xor edi, edi
nop
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x10557f2e
test esi, esi
jne 0x10557ee7
bsf eax, edx
add eax, 0x20
jmp 0x10557eea
bsf eax, esi
add eax, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
and eax, 0xf
mov eax, dword [edi + eax*4]
mov edi, dword [esp + 0x78]
je 0x10557f18
cmp eax, dword [esp + 0x50]
jb 0x10557f2e
mov dword [esp + edi*4 + 0x84], eax
inc edi
dec ecx
mov dword [esp + 0x78], edi
mov dword [esp + 0x80], ecx
mov ecx, esi
mov eax, edx
add ecx, 0xffffffff
adc eax, 0xffffffff
and esi, ecx
and edx, eax
ja 0x10557ed0
jb 0x10557f2e
test esi, esi
jne 0x10557ed0
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x60]
mov edx, 0xf
mov esi, dword [esp + 0x54]
dec ecx
and ecx, 0xf
mov eax, 0
cmove eax, edx
mov edx, dword [esp + 0x6c]
add ecx, eax
mov eax, dword [esp + 0x38]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x68]
mov eax, dword [edx + 0x1c]
mov dword [esi + ecx*4], eax
inc dword [edx + 0x1c]
cmp dword [esp + 0x78], 0
jbe 0x10558038
mov ecx, 3
xor eax, eax
nop dword [eax]
mov eax, dword [esp + eax*4 + 0x84]
mov edx, dword [esp + 0x40]
add edx, eax
mov dword [esp + 0x6c], eax
mov eax, dword [edx + ecx - 3]
cmp eax, dword [ecx + edi - 3]
jne 0x10558025
mov esi, dword [esp + 0x5c]
mov eax, edi
lea ecx, [esi - 3]
cmp edi, ecx
jae 0x10557fdb
mov eax, dword [edx]
xor eax, dword [edi]
je 0x10557fba
bsf ecx, eax
shr ecx, 3
jmp 0x10557fff
lea eax, [edi + 4]
add edx, 4
cmp eax, ecx
jae 0x10557fdb
mov ecx, dword [edx]
xor ecx, dword [eax]
jne 0x10558283
add eax, 4
lea ecx, [esi - 3]
add edx, 4
cmp eax, ecx
jb 0x10557fc4
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x10557ff0
mov cx, word [edx]
cmp cx, word [eax]
jne 0x10557ff0
add eax, 2
add edx, 2
cmp eax, esi
jae 0x10557ffb
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x10557ffb
inc eax
mov ecx, eax
sub ecx, edi
cmp ecx, dword [esp + 0x70]
jbe 0x10558021
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x20]
add eax, 3
mov dword [esp + 0x70], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x10558038
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x58]
inc eax
mov dword [esp + 0x58], eax
cmp eax, dword [esp + 0x78]
jb 0x10557f80
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
add esi, dword [esp + 0x80]
mov dword [esp + 0x78], esi
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x34], eax
sub eax, ecx
add eax, dword [esp + 0x2c]
mov dword [esp + 0x60], eax
mov eax, 3
cmp esi, eax
mov dword [esp + 0x7c], ecx
cmovb eax, esi
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x50], edx
test eax, eax
je 0x1055815a
mov eax, dword [esp + 0x30]
lea edx, [eax*4]
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
mov eax, dword [eax + 0x5c]
mov eax, dword [edx + eax]
add esi, eax
mov dword [esp + 0x6c], eax
test eax, eax
je 0x10558268
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x10558137
add esi, 4
lea eax, [edi + 4]
sub eax, esi
add eax, ecx
mov ecx, dword [esp + 0x5c]
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 + 0x2c], eax
lea ecx, [eax + esi]
mov esi, dword [esp + 0x5c]
cmp ecx, dword [esp + 0x7c]
jne 0x105580ff
push esi
push dword [esp + 0xc]
add eax, 4
add eax, edi
push eax
call fcn.1054a920
add esp, 0xc
add eax, dword [esp + 0x2c]
lea ecx, [eax + 4]
cmp ecx, dword [esp + 0x70]
jbe 0x1055812c
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x60]
mov edx, dword [esp + 0x20]
add eax, 3
mov dword [esp + 0x70], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x10558292
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x50]
add edx, 4
inc eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0x1c]
jb 0x10558090
mov esi, dword [esp + 0x78]
mov edx, eax
mov eax, dword [esp + 0x3c]
sub esi, edx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x30], 0
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + ecx*4 + 0xc]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x80], eax
shr dword [esp + 0x80], 8
movzx eax, al
cmp esi, eax
cmova esi, eax
mov dword [esp + 0x78], esi
test esi, esi
je 0x10558268
mov eax, dword [esp + 0x80]
lea edx, [eax*4]
mov dword [esp + 0x80], edx
nop
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
mov eax, dword [eax + 0x64]
mov eax, dword [edx + eax]
add esi, eax
mov dword [esp + 0x6c], eax
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x10558247
add esi, 4
lea eax, [edi + 4]
sub eax, esi
add eax, ecx
mov ecx, dword [esp + 0x5c]
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 + 0x2c], eax
lea ecx, [eax + esi]
mov esi, dword [esp + 0x5c]
cmp ecx, dword [esp + 0x7c]
jne 0x10558217
push esi
push dword [esp + 0xc]
add eax, 4
add eax, edi
push eax
call fcn.1054a920
add esp, 0xc
add eax, dword [esp + 0x2c]
lea ecx, [eax + 4]
cmp ecx, dword [esp + 0x70]
jbe 0x10558240
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x60]
mov edx, dword [esp + 0x20]
add eax, 3
mov dword [esp + 0x70], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x10558268
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x30]
add edx, 4
mov ecx, dword [esp + 0x7c]
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x80], edx
cmp eax, dword [esp + 0x78]
jb 0x105581b0
mov eax, dword [esp + 0x70]
pop edi
pop esi
mov ecx, dword [esp + 0x17c]
xor ecx, esp
call fcn.105116c0
add esp, 0x180
ret
bsf ecx, ecx
shr ecx, 3
sub ecx, edi
add ecx, eax
jmp 0x10557fff
mov eax, ecx
mov ecx, dword [esp + 0x184]
pop edi
pop esi
xor ecx, esp
call fcn.105116c0
add esp, 0x180
ret