Function at 0x100327e0
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044c61
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x38
push esi
push edi
mov eax, dword [0x1005500c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10055d50]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10056494]
cmp eax, dword [ecx + 4]
jle 0x10032894
push 0x10056494
call fcn.100402ff
add esp, 4
cmp dword [0x10056494], 0xffffffff
jne 0x10032894
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov ecx, 0x10056488
movq qword [0x10056488], xmm0
mov dword [0x10056490], 0
call fcn.10035910
push 0x10045d20
call fcn.100407ef
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x10056494
call fcn.100402b5
add esp, 4
mov ecx, dword [0x100561a4]
mov eax, dword [ecx + 0x1924]
mov byte [eax + 0x92], 1
mov eax, dword [ecx + 0x1924]
mov eax, dword [eax + 0x1d4]
test eax, eax
je 0x100328c2
cmp dword [eax + 0x10], 2
je 0x100328c2
call fcn.1001c490
push 0
call fcn.1001bd80
movss xmm1, dword [0x1004ff5c]
add esp, 4
mov ecx, 1
call fcn.1001b700
push 0
push ecx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov ecx, str.COL2
mov dword [ebp - 0x14], 0
call fcn.1000c470
mov ecx, dword [0x1005648c]
mov eax, 0x2aaaaaab
sub ecx, dword [0x10056488]
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1003292d
push str.No_configs_found_
call fcn.10012c20
add esp, 4
jmp 0x100329a2
mov edi, dword [0x100563ec]
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], ecx
cmp edi, esi
sete dl
cmp eax, esi
jbe 0x10032f7a
add ecx, dword [0x10056488]
cmp dword [ecx + 0x14], 0x10
jb 0x1003295b
mov ecx, dword [ecx]
lea eax, [ebp - 0x20]
push eax
push ecx
call fcn.1001a580
mov edi, dword [0x100563ec]
add esp, 8
mov ecx, dword [0x1005648c]
test al, al
mov eax, 0x2aaaaaab
cmovne edi, esi
sub ecx, dword [0x10056488]
add dword [ebp - 0x14], 0x18
inc esi
imul ecx
mov ecx, dword [ebp - 0x14]
sar edx, 2
mov eax, edx
mov dword [0x100563ec], edi
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x10032940
call fcn.1000c510
call fcn.1001b250
push 0
push ecx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov ecx, str.COL3
mov dword [ebp - 0x1c], 0
call fcn.1000c470
push 0
push 0
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0x40
mov edx, 0x10056448
mov dword [ebp - 0x1c], 0
mov ecx, str.newconfig
call fcn.10017830
add esp, 0x18
mov dword [ebp - 0x20], 0xbf800000
lea edx, [ebp - 0x20]
mov dword [ebp - 0x1c], 0
mov ecx, 0x1004c97c
call fcn.10013820
add esp, 4
test al, al
je 0x10032b7e
mov dword [ebp - 0x30], 0
mov ecx, 0x10056448
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032a44
sub ecx, edx
push ecx
push 0x10056448
lea ecx, [ebp - 0x30]
call fcn.100331b0
sub esp, 0x18
mov dword [ebp - 4], 2
mov edi, esp
mov dword [ebp - 0x14], edi
mov edx, dword [ebp - 0x1c]
mov eax, edx
mov ecx, dword [ebp - 0x20]
sub eax, ecx
push 5
push str..json
cmp eax, 5
jb 0x10032aa4
cmp edx, 0x10
lea esi, [ebp - 0x30]
lea eax, [ecx + 5]
cmovae esi, dword [ebp - 0x30]
add esi, ecx
mov dword [ebp - 0x20], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 5], 0
lea eax, [ebp - 0x30]
jmp 0x10032ab1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
push 5
call fcn.10033510
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
call fcn.100371d0
mov dword [ebp - 4], 0xffffffff
add esp, 0x18
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x10032b2f
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10032b25
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10032b25
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10040804
add esp, 8
lea ecx, [ebp - 0x24]
call fcn.10035910
mov esi, eax
cmp esi, 0x10056488
je 0x10032b76
mov ecx, 0x10056488
call fcn.10033100
mov eax, dword [esi]
mov dword [0x10056488], eax
mov eax, dword [esi + 4]
mov dword [0x1005648c], eax
mov eax, dword [esi + 8]
mov dword [0x10056490], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x24]
call fcn.10033100
call fcn.1001aac0
push ecx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0xbf800000
mov ecx, 0x1004c974
mov dword [ebp - 0x1c], 0
call fcn.10013820
add esp, 4
test al, al
je 0x10032c3f
mov ecx, dword [0x1005648c]
mov eax, 0x2aaaaaab
mov esi, dword [0x10056488]
sub ecx, esi
imul ecx
mov ecx, dword [0x100563ec]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x10032f7a
sub esp, 0x18
lea eax, [ecx + ecx*2]
lea eax, [esi + eax*8]
mov ecx, esp
push eax
call fcn.10033020
call fcn.100371d0
add esp, 0x18
lea ecx, [ebp - 0x24]
call fcn.10035910
mov esi, eax
cmp esi, 0x10056488
je 0x10032c37
mov ecx, 0x10056488
call fcn.10033100
mov eax, dword [esi]
mov dword [0x10056488], eax
mov eax, dword [esi + 4]
mov dword [0x1005648c], eax
mov eax, dword [esi + 8]
mov dword [0x10056490], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x24]
call fcn.10033100
push ecx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0xbf800000
mov ecx, str.Load
mov dword [ebp - 0x1c], 0
call fcn.10013820
add esp, 4
test al, al
je 0x10032cfb
mov ecx, dword [0x1005648c]
mov eax, 0x2aaaaaab
mov esi, dword [0x10056488]
sub ecx, esi
imul ecx
mov ecx, dword [0x100563ec]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x10032f7a
sub esp, 0x18
lea eax, [ecx + ecx*2]
lea eax, [esi + eax*8]
mov ecx, esp
push eax
call fcn.10033020
call fcn.10035bd0
add esp, 0x18
lea ecx, [ebp - 0x24]
call fcn.10035910
mov esi, eax
cmp esi, 0x10056488
je 0x10032cf3
mov ecx, 0x10056488
call fcn.10033100
mov eax, dword [esi]
mov dword [0x10056488], eax
mov eax, dword [esi + 4]
mov dword [0x1005648c], eax
mov eax, dword [esi + 8]
mov dword [0x10056490], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x24]
call fcn.10033100
push ecx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0xbf800000
mov ecx, str.Remove
mov dword [ebp - 0x1c], 0
call fcn.10013820
add esp, 4
test al, al
je 0x10032d23
call fcn.1000bb10
call fcn.1000bfd0
test al, al
je 0x10032f61
mov ecx, dword [0x1005648c]
mov eax, 0x2aaaaaab
mov esi, dword [0x10056488]
sub ecx, esi
imul ecx
mov ecx, dword [0x100563ec]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x10032f7a
lea eax, [ecx + ecx*2]
cmp dword [esi + eax*8 + 0x14], 0x10
lea eax, [esi + eax*8]
jb 0x10032d6c
mov eax, dword [eax]
push eax
push str.Are_you_sure_you_want_to_remove_config__s__
call fcn.10012c20
add esp, 4
mov dword [ebp - 0x20], 0x42480000
lea edx, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x41a00000
mov ecx, 0x1004e174
call fcn.10013820
add esp, 4
test al, al
je 0x10032ed2
mov ecx, dword [0x1005648c]
mov eax, 0x2aaaaaab
mov esi, dword [0x10056488]
sub ecx, esi
imul ecx
mov ecx, dword [0x100563ec]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jbe 0x10032f7a
lea eax, [ecx + ecx*2]
lea eax, [esi + eax*8]
push eax
lea ecx, [ebp - 0x30]
call fcn.10033020
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 5
push eax
mov edx, str.SkadyHOOK_
lea ecx, [ebp - 0x48]
call fcn.1003d610
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x10032dff
mov eax, dword [eax]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov edx, dword [ebp - 0x34]
add esp, 4
cmp edx, 0x10
jb 0x10032e3f
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10032e35
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10032e35
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10040804
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x10032e7c
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10032e72
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10032e72
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10040804
add esp, 8
lea ecx, [ebp - 0x24]
call fcn.10035910
mov esi, eax
cmp esi, 0x10056488
je 0x10032ec5
mov ecx, 0x10056488
call fcn.10033100
mov ecx, dword [esi]
mov dword [0x10056488], ecx
mov ecx, dword [esi + 4]
mov dword [0x1005648c], ecx
mov eax, dword [esi + 8]
mov dword [0x10056490], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x24]
call fcn.10033100
call fcn.1000be10
mov edx, dword [0x100561a4]
mov eax, dword [edx + 0x1924]
mov byte [eax + 0x92], 1
mov ecx, dword [edx + 0x1924]
cmp byte [ecx + 0x95], 0
jne 0x10032f34
movss xmm1, dword [edx + 0x152c]
addss xmm1, dword [ecx + 0xe4]
movss xmm0, dword [ecx + 0xe8]
movss dword [ecx + 0xdc], xmm1
movss dword [ecx + 0xe0], xmm0
mov eax, dword [ecx + 0x104]
mov dword [ecx + 0xfc], eax
mov eax, dword [ecx + 0x108]
mov dword [ecx + 0x100], eax
push ecx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x42480000
mov ecx, 0x1004e1a8
mov dword [ebp - 0x1c], 0x41a00000
call fcn.10013820
add esp, 4
test al, al
je 0x10032f5c
call fcn.1000be10
call fcn.1000c0a0
call fcn.1000c510
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100330f0
int3