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

Disassembly:
mov eax, 0x128
call fcn.005c9b00
mov eax, dword [0x658c00]
xor eax, esp
mov dword [esp + 0x124], eax
test dword [0x65fff0], 0x800000
push ebx
mov ebx, dword [esp + 0x130]
push esi
mov esi, dword [esp + 0x138]
mov dword [esp + 0x68], ebx
jne 0x58c3c1
lea eax, [esp + 0xac]
mov edx, ebx
sub edx, eax
lea ecx, [esp + 0x6c]
mov eax, esi
mov dword [esp + 0x50], edx
sub eax, ecx
mov dword [esp + 0x4c], eax
lea eax, [esi + 0x10]
mov dword [esp + 0x48], eax
lea eax, [esp + 0xac]
push ebp
lea ebp, [esi + 0x3f]
sub esi, eax
mov eax, dword [esp + 0x140]
push edi
lea edi, [ebx + 0x3f]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
lea ecx, [esp + 0xb4]
xor eax, eax
cmp ecx, ebp
ja 0x58bd11
lea edx, [esp + 0xf3]
lea ecx, [ebp - 0x3f]
cmp edx, ecx
mov edx, dword [esp + 0x58]
jae 0x58bd50
lea ecx, [esp + 0xb4]
cmp ecx, edi
ja 0x58bd27
lea ecx, [esp + 0xf3]
cmp ecx, ebx
jae 0x58bd50
lea ecx, [esp + 0x74]
cmp ecx, ebp
ja 0x58bd3d
lea ecx, [ebp - 0x3f]
lea ebp, [esp + 0xb3]
cmp ebp, ecx
jae 0x58bd50
lea ecx, [esp + 0x74]
cmp ecx, edi
ja 0x58bd73
lea ecx, [esp + 0xb3]
cmp ecx, ebx
jb 0x58bd73
lea ecx, [esp + 0xb4]
add ecx, eax
mov dl, byte [edx + ecx]
mov byte [ecx], dl
mov cl, byte [esi + ecx]
xor cl, dl
mov edx, dword [esp + 0x58]
mov byte [esp + eax + 0x74], cl
inc eax
cmp eax, 0x40
jl 0x58bd50
jmp 0x58bd98
lea ecx, [esp + 0xb4]
add ecx, eax
movups xmm1, xmmword [edx + ecx]
movups xmm0, xmmword [esi + ecx]
movups xmmword [ecx], xmm1
pxor xmm0, xmm1
movups xmmword [esp + eax + 0x74], xmm0
add eax, 0x10
cmp eax, 0x40
jl 0x58bd73
mov eax, 0x6378a0
mov dword [esp + 0x5c], 0xa
mov dword [esp + 0x48], eax
nop dword [eax]
xor esi, esi
mov dword [esp + 0x18], esi
test esi, esi
je 0x58bdd5
xorps xmm0, xmm0
movlpd qword [esp + 0x68], xmm0
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x40], eax
jmp 0x58bde2
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [esi - 1]
and eax, 7
movzx eax, byte [esp + eax*8 + 0xb5]
mov ecx, dword [eax*8 + 0x6370a0]
mov eax, dword [eax*8 + 0x6370a4]
mov dword [esp + 0x3c], eax
lea eax, [esi - 2]
and eax, 7
mov dword [esp + 0x38], ecx
movzx eax, byte [esp + eax*8 + 0xb6]
mov ecx, dword [eax*8 + 0x6370a0]
mov eax, dword [eax*8 + 0x6370a4]
mov dword [esp + 0x34], eax
lea eax, [esi - 3]
and eax, 7
mov dword [esp + 0x30], ecx
movzx eax, byte [esp + eax*8 + 0xb7]
mov ecx, dword [eax*8 + 0x6370a0]
mov eax, dword [eax*8 + 0x6370a4]
mov dword [esp + 0x2c], eax
lea eax, [esi - 4]
and eax, 7
mov dword [esp + 0x28], ecx
movzx eax, byte [esp + eax*8 + 0xb8]
mov ebp, dword [eax*8 + 0x6370a0]
mov ebx, dword [eax*8 + 0x6370a4]
lea eax, [esi + 3]
and eax, 7
mov dword [esp + 0x24], ebp
movzx eax, byte [esp + eax*8 + 0xb9]
mov edi, dword [eax*8 + 0x6370a0]
mov esi, dword [eax*8 + 0x6370a4]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x18]
lea eax, [edi + 2]
and eax, 7
movzx eax, byte [esp + eax*8 + 0xba]
mov edx, dword [eax*8 + 0x6370a0]
mov ecx, dword [eax*8 + 0x6370a4]
lea eax, [edi + 1]
mov edi, dword [esp + 0x3c]
and eax, 7
movzx eax, byte [esp + eax*8 + 0xbb]
mov ebp, dword [eax*8 + 0x6370a0]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x38]
shrd ebp, edi, 8
mov eax, dword [eax*8 + 0x6370a4]
xor ebp, dword [esp + 0x30]
shr edi, 8
xor edi, dword [esp + 0x34]
shrd ebp, edi, 8
xor ebp, dword [esp + 0x28]
shr edi, 8
xor edi, dword [esp + 0x2c]
shrd ebp, edi, 8
mov dword [esp + 0x10], edi
shr dword [esp + 0x10], 8
xor dword [esp + 0x10], ebx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x24]
xor dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x14]
shrd ebp, edi, 8
xor ebp, dword [esp + 0x20]
shr edi, 8
mov dword [esp + 0x10], edi
xor edi, esi
shrd ebp, edi, 8
shr edi, 8
xor ebp, edx
xor edi, ecx
shrd ebp, edi, 8
mov dword [esp + 0x10], edi
shr dword [esp + 0x10], 8
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x1c]
xor dword [esp + 0x14], ebp
xor edi, eax
shld eax, ebp, 8
shrd dword [esp + 0x14], edi, 8
xor eax, ecx
shl ebp, 8
xor ebp, edx
shr edi, 8
mov ecx, ebp
mov edx, dword [esp + 0x14]
shld eax, ecx, 8
mov dword [esp + 0x10], edi
shl ecx, 8
xor eax, esi
xor ecx, dword [esp + 0x20]
shld eax, ecx, 8
mov esi, dword [esp + 0x18]
shl ecx, 8
xor eax, ebx
xor ecx, dword [esp + 0x24]
shld eax, ecx, 8
mov dword [esp + 0x1c], ebp
xor eax, dword [esp + 0x2c]
shl ecx, 8
xor ecx, dword [esp + 0x28]
shld eax, ecx, 8
xor eax, dword [esp + 0x34]
shl ecx, 8
xor ecx, dword [esp + 0x30]
shld eax, ecx, 8
xor eax, dword [esp + 0x3c]
shl ecx, 8
xor ecx, dword [esp + 0x38]
shld eax, ecx, 8
shl ecx, 8
xor edx, ecx
mov ecx, edi
xor ecx, eax
movzx eax, byte [esp + esi*8 + 0xb4]
xor edx, dword [eax*8 + 0x6370a0]
xor ecx, dword [eax*8 + 0x6370a4]
xor edx, dword [esp + 0x40]
xor ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + esi*8 + 0xf4], edx
mov dword [esp + esi*8 + 0xf8], ecx
inc esi
mov dword [esp + 0x18], esi
cmp esi, 8
jl 0x58bdb6
movups xmm0, xmmword [esp + 0xf4]
mov edx, 0xfffffffe
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], edx
movups xmmword [esp + 0xb4], xmm0
mov dword [esp + 0x1c], 8
movups xmm0, xmmword [esp + 0x104]
movups xmmword [esp + 0xc4], xmm0
movups xmm0, xmmword [esp + 0x114]
movups xmmword [esp + 0xd4], xmm0
movups xmm0, xmmword [esp + 0x124]
movups xmmword [esp + 0xe4], xmm0
lea eax, [edx + 1]
mov dword [esp + 0x68], eax
and eax, 7
movzx eax, byte [esp + eax*8 + 0x75]
mov ecx, dword [eax*8 + 0x6370a0]
mov eax, dword [eax*8 + 0x6370a4]
mov dword [esp + 0x28], eax
mov eax, edx
and eax, 7
mov dword [esp + 0x2c], ecx
movzx eax, byte [esp + eax*8 + 0x76]
mov ecx, dword [eax*8 + 0x6370a0]
mov eax, dword [eax*8 + 0x6370a4]
mov dword [esp + 0x30], eax
lea eax, [edx - 1]
and eax, 7
mov dword [esp + 0x34], ecx
movzx eax, byte [esp + eax*8 + 0x77]
mov ecx, dword [eax*8 + 0x6370a0]
mov eax, dword [eax*8 + 0x6370a4]
mov dword [esp + 0x38], eax
lea eax, [edx - 2]
and eax, 7
mov dword [esp + 0x3c], ecx
movzx eax, byte [esp + eax*8 + 0x78]
mov ebp, dword [eax*8 + 0x6370a0]
mov ebx, dword [eax*8 + 0x6370a4]
lea eax, [edx - 3]
and eax, 7
mov dword [esp + 0x40], ebp
movzx eax, byte [esp + eax*8 + 0x79]
mov edi, dword [eax*8 + 0x6370a0]
mov esi, dword [eax*8 + 0x6370a4]
lea eax, [edx - 4]
and eax, 7
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x28]
movzx eax, byte [esp + eax*8 + 0x7a]
mov edx, dword [eax*8 + 0x6370a0]
mov ecx, dword [eax*8 + 0x6370a4]
mov eax, dword [esp + 0x24]
add eax, 3
and eax, 7
movzx eax, byte [esp + eax*8 + 0x7b]
mov ebp, dword [eax*8 + 0x6370a0]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x2c]
shrd ebp, edi, 8
mov eax, dword [eax*8 + 0x6370a4]
xor ebp, dword [esp + 0x34]
shr edi, 8
xor edi, dword [esp + 0x30]
shrd ebp, edi, 8
xor ebp, dword [esp + 0x3c]
shr edi, 8
xor edi, dword [esp + 0x38]
shrd ebp, edi, 8
mov dword [esp + 0x10], edi
shr dword [esp + 0x10], 8
xor dword [esp + 0x10], ebx
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x40]
xor dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x14]
shrd ebp, edi, 8
xor ebp, dword [esp + 0x44]
shr edi, 8
mov dword [esp + 0x10], edi
xor edi, esi
shrd ebp, edi, 8
shr edi, 8
xor ebp, edx
xor edi, ecx
shrd ebp, edi, 8
mov dword [esp + 0x10], edi
shr dword [esp + 0x10], 8
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x18]
xor dword [esp + 0x14], ebp
xor edi, eax
shld eax, ebp, 8
shrd dword [esp + 0x14], edi, 8
xor eax, ecx
shl ebp, 8
xor ebp, edx
shr edi, 8
mov ecx, ebp
mov edx, dword [esp + 0x14]
shld eax, ecx, 8
mov dword [esp + 0x10], edi
shl ecx, 8
xor eax, esi
xor ecx, dword [esp + 0x44]
shld eax, ecx, 8
mov dword [esp + 0x18], ebp
shl ecx, 8
xor eax, ebx
xor ecx, dword [esp + 0x40]
shld eax, ecx, 8
mov ebx, dword [esp + 0x20]
xor eax, dword [esp + 0x38]
shl ecx, 8
xor ecx, dword [esp + 0x3c]
shld eax, ecx, 8
xor eax, dword [esp + 0x30]
shl ecx, 8
xor ecx, dword [esp + 0x34]
shld eax, ecx, 8
xor eax, dword [esp + 0x28]
shl ecx, 8
xor ecx, dword [esp + 0x2c]
shld eax, ecx, 8
shl ecx, 8
xor edx, ecx
mov ecx, edi
xor ecx, eax
movzx eax, byte [esp + ebx + 0x74]
xor edx, dword [eax*8 + 0x6370a0]
xor ecx, dword [eax*8 + 0x6370a4]
xor dword [esp + ebx + 0xf4], edx
xor dword [esp + ebx + 0xf8], ecx
add ebx, 8
sub dword [esp + 0x1c], 1
mov edx, dword [esp + 0x68]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ebx
jne 0x58c065
mov eax, dword [esp + 0x48]
movups xmm2, xmmword [esp + 0xf4]
add eax, 8
sub dword [esp + 0x5c], 1
movups xmm3, xmmword [esp + 0x104]
mov dword [esp + 0x48], eax
movups xmm4, xmmword [esp + 0x114]
movups xmm5, xmmword [esp + 0x124]
movups xmmword [esp + 0x74], xmm2
movups xmmword [esp + 0x84], xmm3
movups xmmword [esp + 0x94], xmm4
movups xmmword [esp + 0xa4], xmm5
jne 0x58bdb0
mov ebx, dword [esp + 0x70]
lea eax, [esp + 0xb3]
lea ecx, [ebx + 0x3f]
cmp ebx, eax
ja 0x58c2e7
lea eax, [esp + 0x74]
cmp ecx, eax
jae 0x58c2f6
mov ebp, dword [esp + 0x4c]
cmp ebx, ebp
ja 0x58c327
lea eax, [ebp - 0x3f]
cmp ecx, eax
jb 0x58c327
mov ebp, dword [esp + 0x54]
lea edi, [esp + 0x74]
mov edx, ebx
sub edi, ebx
mov esi, 0x40
lea eax, [edi + edx]
mov cl, byte [eax + ebp]
lea edx, [edx + 1]
xor cl, byte [edx - 1]
xor cl, byte [eax]
mov byte [edx - 1], cl
sub esi, 1
jne 0x58c307
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
jmp 0x58c378
movups xmm0, xmmword [ebx]
mov ecx, dword [esp + 0x50]
movups xmm1, xmmword [ebp - 0x3f]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx]
pxor xmm1, xmm2
movups xmmword [ebx], xmm1
movups xmm1, xmmword [ebx + 0x10]
pxor xmm1, xmm0
pxor xmm1, xmm3
movups xmmword [ebx + 0x10], xmm1
movups xmm0, xmmword [ebx + 0x20]
movups xmm1, xmmword [ebp - 0x1f]
pxor xmm1, xmm0
pxor xmm1, xmm4
movups xmmword [ebx + 0x20], xmm1
movups xmm0, xmmword [ebx + 0x30]
movups xmm1, xmmword [ebp - 0xf]
pxor xmm1, xmm0
pxor xmm1, xmm5
movups xmmword [ebx + 0x30], xmm1
mov esi, dword [esp + 0x60]
lea edi, [ebx + 0x3f]
add dword [esp + 0x54], 0x40
add esi, 0x40
mov edx, dword [esp + 0x58]
add ebp, 0x40
add ecx, 0x40
mov dword [esp + 0x60], esi
sub dword [esp + 0x64], 1
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ecx
jne 0x58bcf2
pop edi
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.005c9818
add esp, 0x128
ret
push dword [esp + 0x13c]
push esi
push ebx
call fcn.00445080
mov ecx, dword [esp + 0x138]
add esp, 0xc
pop esi
pop ebx
xor ecx, esp
call fcn.005c9818
add esp, 0x128
ret