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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x198
mov eax, dword [0x10a78b80]
xor eax, esp
mov dword [esp + 0x194], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x70], eax
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x30], esi
mov esi, edx
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x24], edx
mov edx, 1
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 4]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x14], eax
lea eax, [esi + 0x2c]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x68], eax
add eax, ecx
mov dword [esp + 0x7c], eax
mov eax, edi
sub eax, ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0xb8]
shl edx, cl
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x18], eax
sub eax, ecx
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x18]
sub edi, edx
mov dword [esp + 0x1c], 3
cmp eax, edx
mov eax, edi
mov edi, dword [esp + 0x10]
mov edx, dword [esi + 0x54]
cmovbe eax, ecx
cmp dword [esi + 0x18], 0
push 0xcf1bbcdc
cmovne eax, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], eax
mov ecx, 6
mov eax, dword [esi + 0xc4]
cmp eax, ecx
push 0xbf9b0000
push dword [edi + 4]
cmovb ecx, eax
mov dword [esp + 0x90], edx
mov eax, dword [esi + 0x50]
mov edx, 1
push dword [edi]
mov dword [esp + 0x74], eax
mov dword [esp + 0x90], eax
mov eax, dword [esi + 0xb4]
shl edx, cl
mov dword [esp + 0x3c], edx
mov dword [esp + 0x64], eax
call fcn.10511b50
mov edi, dword [esp + 0x54]
mov ecx, 0x42
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
sub ecx, dword [edi + 0xc0]
call fcn.10512520
mov ecx, dword [esi + 0xc4]
shl eax, 2
mov dword [esp + 0x60], eax
cmp ecx, 6
jbe 0x10558cbb
add ecx, 0xfffffffa
mov eax, 1
shl eax, cl
mov dword [esp + 0x5c], eax
jmp 0x10558cc3
mov dword [esp + 0x5c], 0
cmp dword [esi + 0xdc], 0
mov edi, dword [esp + 0x10]
mov dword [esp + 0x30], 0x3f
jne 0x10558f9f
mov eax, dword [esp + 0x40]
mov esi, dword [esi + 0x1c]
mov edx, dword [esp + 0x50]
mov ecx, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
sub eax, esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], 0x38
cmp eax, 0x180
jbe 0x10558ea4
mov eax, dword [esp + 0x40]
lea ecx, [esi + 0x60]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], edx
cmp esi, ecx
jae 0x10558df0
mov esi, dword [esp + 0x38]
sub esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x48], esi
push 0xcf1bbcdc
push 0xbf9b0000
push dword [edx + edi + 0xc]
push dword [edx + edi + 8]
call fcn.10511b50
mov ecx, dword [esp + 0x24]
xor eax, dword [ecx + 0x50]
xor edx, dword [ecx + 0x54]
mov ecx, esi
call fcn.10512520
mov esi, dword [esp + 0x58]
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 + 0x40]
shr eax, 2
and eax, 0x3fffffc0
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x14]
add edx, eax
lea esi, [ecx + eax*4]
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x28]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x50]
mov dword [esi + ecx*4], edi
inc edi
mov esi, dword [esp + 0x48]
cmp edi, dword [esp + 0x44]
jb 0x10558d51
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov eax, dword [edx + 0x5c]
mov dword [esp + 0x48], eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], eax
jmp 0x10558df4
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x24]
lea ecx, [edi + 1]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
add esi, 0xffffffe0
mov dword [esp + 0x44], eax
mov dword [esp + 0x6c], esi
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x10558e18
xor ecx, ecx
jmp 0x10558e1d
sub ecx, edx
sub ecx, esi
inc ecx
mov eax, 8
cmp ecx, eax
cmova ecx, eax
add ecx, esi
mov dword [esp + 0x70], ecx
cmp esi, ecx
jae 0x10558ea0
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x44]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x28], 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 + 0x28]
call fcn.10512520
mov edx, dword [esp + 0x50]
mov ecx, esi
and ecx, 7
inc esi
mov dword [edi + ecx*4 + 0x2c], eax
cmp esi, dword [esp + 0x70]
jb 0x10558e41
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 4]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x24]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ecx
jmp 0x10558ea4
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
cmp esi, eax
jae 0x10558f5d
mov esi, dword [esp + 0x38]
sub esi, dword [esp + 0x44]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x80], esi
nop dword [eax]
nop word [eax + eax]
push 0xcf1bbcdc
push 0xbf9b0000
push dword [edi + ecx + 0xc]
push dword [edi + ecx + 8]
call fcn.10511b50
mov ecx, dword [esp + 0x24]
xor eax, dword [ecx + 0x50]
xor edx, dword [ecx + 0x54]
mov ecx, esi
call fcn.10512520
mov esi, dword [esp + 0x58]
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, 2
and eax, 0x3fffffc0
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x28]
add edx, eax
lea esi, [ecx + eax*4]
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x3f
cmove eax, dword [esp + 0x30]
add ecx, eax
mov eax, dword [esp + 0x70]
mov byte [edx], cl
mov byte [ecx + edx], al
mov eax, dword [esp + 0x18]
mov dword [esi + ecx*4], edi
inc edi
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x80]
cmp edi, eax
jb 0x10558ed0
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
push 0xcf1bbcdc
push 0xbf9b0000
mov dword [esi + 0x1c], eax
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.10511b50
mov ecx, dword [esp + 0x38]
xor eax, dword [esp + 0x64]
xor edx, dword [esp + 0x20]
sub ecx, dword [esp + 0x3c]
call fcn.10512520
mov ecx, dword [esp + 0x18]
and ecx, 7
mov edx, dword [esi + ecx*4 + 0x2c]
mov dword [esi + ecx*4 + 0x2c], eax
jmp 0x10558fcd
movq xmm0, qword [esp + 0x80]
mov eax, 0x38
sub eax, dword [esp + 0x3c]
movq xmm1, qword [esp + 0x70]
xorps xmm1, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x18]
psrlq xmm1, xmm0
mov dword [esi + 0x1c], eax
movd edx, xmm1
mov ecx, dword [esp + 0x40]
mov eax, edx
mov edi, dword [esp + 0x14]
add dword [esi + 0x58], edx
shr eax, 2
and eax, 0x3fffffc0
mov dword [esp + 0x3c], edx
add edi, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x70], edi
mov dword [esp + 0x38], 0
lea ecx, [ecx + eax*4]
movsx eax, dl
movzx esi, byte [edi]
mov edx, edi
mov dword [esp + 0x40], ecx
xor ecx, ecx
mov dword [esp + 0x58], esi
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
nop dword [eax]
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x80], eax
inc ecx
cmp ecx, 4
jl 0x10559030
mov eax, dword [esp + 0x8c]
and esi, 0x3f
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [esp + 0x88]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x84]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
or edi, eax
mov eax, dword [esp + 0x80]
shld ecx, edi, 0x10
cdq
or ecx, edx
shl edi, 0x10
mov dword [esp + 0x30], ecx
or edi, eax
mov edx, dword [esp + 0x30]
mov ecx, esi
neg ecx
mov eax, edi
and ecx, 0x3f
call fcn.10511ff0
mov dword [esp + 0x20], eax
mov ecx, esi
mov dword [esp + 0x64], edx
mov eax, edi
mov edx, dword [esp + 0x30]
call fcn.10512520
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x64]
or esi, eax
or edi, edx
ja 0x105590d0
test esi, esi
je 0x1055912a
mov edx, dword [esp + 0x58]
cmp dword [esp + 0x2c], 0
jbe 0x1055912e
test esi, esi
jne 0x105590e7
bsf eax, edi
add eax, 0x20
jmp 0x105590ea
bsf eax, esi
mov ecx, dword [esp + 0x40]
add eax, edx
and eax, 0x3f
mov eax, dword [ecx + eax*4]
je 0x10559112
cmp eax, dword [esp + 0xc]
jb 0x1055912e
mov ecx, dword [esp + 0x14]
mov dword [esp + ecx*4 + 0x98], eax
inc ecx
dec dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov ecx, esi
mov eax, edi
add ecx, 0xffffffff
adc eax, 0xffffffff
and esi, ecx
and edi, eax
ja 0x105590d4
jb 0x1055912e
test esi, esi
jne 0x105590d4
jmp 0x1055912e
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x40]
lea ecx, [edx - 1]
mov edi, dword [esp + 0x10]
and ecx, 0x3f
mov edx, 0x3f
mov eax, 0
cmove eax, edx
mov edx, dword [esp + 0x70]
add ecx, eax
mov eax, dword [esp + 0x3c]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x1c]
mov dword [esi + ecx*4], eax
inc dword [edx + 0x1c]
cmp dword [esp + 0x14], 0
jbe 0x10559238
mov ecx, 3
xor eax, eax
nop word [eax + eax]
mov eax, dword [esp + eax*4 + 0x98]
mov edx, dword [esp + 0x50]
add edx, eax
mov dword [esp + 0x20], eax
mov eax, dword [edx + ecx - 3]
cmp eax, dword [ecx + edi - 3]
jne 0x10559225
mov esi, dword [esp + 0x34]
mov eax, edi
lea ecx, [esi - 3]
cmp edi, ecx
jae 0x105591db
mov eax, dword [edx]
xor eax, dword [edi]
je 0x105591ba
bsf ecx, eax
shr ecx, 3
jmp 0x105591ff
lea eax, [edi + 4]
add edx, 4
cmp eax, ecx
jae 0x105591db
mov ecx, dword [edx]
xor ecx, dword [eax]
jne 0x1055946d
add eax, 4
lea ecx, [esi - 3]
add edx, 4
cmp eax, ecx
jb 0x105591c4
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x105591f0
mov cx, word [edx]
cmp cx, word [eax]
jne 0x105591f0
add eax, 2
add edx, 2
cmp eax, esi
jae 0x105591fb
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x105591fb
inc eax
mov ecx, eax
sub ecx, edi
cmp ecx, dword [esp + 0x1c]
jbe 0x10559221
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
add eax, 3
mov dword [esp + 0x1c], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x10559238
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
inc eax
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x14]
jb 0x10559180
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
add esi, dword [esp + 0x2c]
mov dword [esp + 0x14], esi
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x5c], eax
sub eax, ecx
add eax, dword [esp + 0x68]
mov dword [esp + 0x30], eax
mov eax, 3
cmp esi, eax
mov dword [esp + 0x10], ecx
cmovb eax, esi
xor edx, edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x2c], edx
test eax, eax
je 0x10559357
mov eax, dword [esp + 0x60]
lea edx, [eax*4]
mov dword [esp + 0xc], edx
nop word [eax + eax]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
mov eax, dword [eax + 0x5c]
mov eax, dword [edx + eax]
add esi, eax
mov dword [esp + 0x20], eax
test eax, eax
je 0x10559455
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x10559337
add esi, 4
lea eax, [edi + 4]
sub eax, esi
add eax, ecx
mov ecx, dword [esp + 0x34]
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 + 0x68], eax
lea ecx, [eax + esi]
mov esi, dword [esp + 0x34]
cmp ecx, dword [esp + 0x10]
jne 0x10559302
push esi
push dword [esp + 0x80]
add eax, 4
add eax, edi
push eax
call fcn.1054a920
add esp, 0xc
add eax, dword [esp + 0x68]
lea ecx, [eax + 4]
cmp ecx, dword [esp + 0x1c]
jbe 0x1055932f
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x20]
sub eax, dword [esp + 0x30]
mov edx, dword [esp + 0x78]
add eax, 3
mov dword [esp + 0x1c], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x1055947c
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
add edx, 4
inc eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x64]
jb 0x10559290
mov esi, dword [esp + 0x14]
mov edx, eax
mov eax, dword [esp + 0x54]
sub esi, edx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x60], 0
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + ecx*4 + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], eax
shr dword [esp + 0xc], 8
movzx eax, al
cmp esi, eax
cmova esi, eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x10559455
mov eax, dword [esp + 0xc]
lea edx, [eax*4]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
mov eax, dword [eax + 0x64]
mov eax, dword [edx + eax]
add esi, eax
mov dword [esp + 0x20], eax
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x10559437
add esi, 4
lea eax, [edi + 4]
sub eax, esi
add eax, ecx
mov ecx, dword [esp + 0x34]
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 + 0x68], eax
lea ecx, [eax + esi]
mov esi, dword [esp + 0x34]
cmp ecx, dword [esp + 0x10]
jne 0x1055940a
push esi
push dword [esp + 0x80]
add eax, 4
add eax, edi
push eax
call fcn.1054a920
add esp, 0xc
add eax, dword [esp + 0x68]
lea ecx, [eax + 4]
cmp ecx, dword [esp + 0x1c]
jbe 0x10559433
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x20]
sub eax, dword [esp + 0x30]
mov edx, dword [esp + 0x78]
add eax, 3
mov dword [esp + 0x1c], ecx
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, esi
je 0x10559455
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x60]
add edx, 4
mov ecx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x60], eax
mov dword [esp + 0xc], edx
cmp eax, dword [esp + 0x14]
jb 0x105593a0
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.105116c0
mov esp, ebp
pop ebp
ret
bsf ecx, ecx
shr ecx, 3
sub ecx, edi
add ecx, eax
jmp 0x105591ff
mov eax, ecx
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
xor ecx, esp
call fcn.105116c0
mov esp, ebp
pop ebp
ret