Function at 0x404f90
Capabilities:
Check if file exists
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Delete file
Move file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428b53
mov eax, dword fs:[0]
push eax
sub esp, 0x1f4
push ebx
push esi
push edi
mov eax, dword [0x44c264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x48], ecx
mov eax, dword [0x44cc60]
mov edx, dword [eax + 0xc]
mov ecx, 0x44cc60
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [sym.imp.MSVCR80.dll___argc]
cmp dword [eax], 1
mov dword [ebp - 4], 0
jle 0x40501c
mov ecx, dword [sym.imp.MSVCR80.dll___wargv]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
test edx, edx
jne 0x404ffa
xor eax, eax
jmp 0x40500f
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405000
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x18]
call fcn.00401580
mov edi, dword [ebp - 0x18]
push 0x42d8a0
lea ecx, [ebp - 0x1c]
call fcn.00401e80
push 0x42d8a0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00401e80
push 0x42d8a0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00401e80
push 0x42d8a0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00401e80
push 0x42d8a0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.00401e80
push 0x42d8a0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00401e80
push 0x42d8a0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.00401e80
push 0x42d8a0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.00401e80
push 0x42d8a0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 8
call fcn.00401e80
push 0x42d8a0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.00401e80
push 0x42d8a0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.00401e80
cmp dword [edi - 0xc], 0
mov ebx, dword [sym.imp.MSVCR80.dll_wcsstr]
mov byte [ebp - 4], 0xb
jl 0x40516f
push 0x42ee84
push edi
call ebx
add esp, 8
test eax, eax
je 0x40516f
sub eax, edi
sar eax, 1
mov esi, eax
js 0x40516f
add esi, 6
mov eax, dword [edi - 0xc]
js 0x405122
cmp esi, eax
jg 0x405122
lea eax, [edi + esi*2]
push 0x42ee7c
push eax
call ebx
add esp, 8
test eax, eax
je 0x405122
sub eax, edi
sar eax, 1
jmp 0x405125
or eax, 0xffffffff
test esi, esi
jl 0x40516f
test eax, eax
jl 0x40516f
sub eax, esi
push eax
push esi
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00404ed0
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.00401820
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40517e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40517e
push 0
push 0x42d8a0
lea ecx, [ebp - 0x1c]
call fcn.00401580
cmp dword [edi - 0xc], 0
jl 0x405210
push str.strMainProcMemLog
push edi
call ebx
add esp, 8
test eax, eax
je 0x405210
sub eax, edi
sar eax, 1
mov esi, eax
js 0x405210
add esi, 0x12
mov eax, dword [edi - 0xc]
js 0x4051c3
cmp esi, eax
jg 0x4051c3
lea ecx, [edi + esi*2]
push 0x42ee7c
push ecx
call ebx
add esp, 8
test eax, eax
je 0x4051c3
sub eax, edi
sar eax, 1
jmp 0x4051c6
or eax, 0xffffffff
test esi, esi
jl 0x405210
test eax, eax
jl 0x405210
sub eax, esi
push eax
push esi
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x18]
call fcn.00404ed0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.00401820
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40521f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40521f
push 0
push 0x42d8a0
lea ecx, [ebp - 0x28]
call fcn.00401580
cmp dword [edi - 0xc], 0
jl 0x4052b1
push str.guid
push edi
call ebx
add esp, 8
test eax, eax
je 0x4052b1
sub eax, edi
sar eax, 1
mov esi, eax
js 0x4052b1
add esi, 5
mov eax, dword [edi - 0xc]
js 0x405264
cmp esi, eax
jg 0x405264
lea ecx, [edi + esi*2]
push 0x42ee7c
push ecx
call ebx
add esp, 8
test eax, eax
je 0x405264
sub eax, edi
sar eax, 1
jmp 0x405267
or eax, 0xffffffff
test esi, esi
jl 0x4052b1
test eax, eax
jl 0x4052b1
sub eax, esi
push eax
push esi
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x18]
call fcn.00404ed0
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xe
call fcn.00401820
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4052c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4052c0
push 0
push 0x42d8a0
lea ecx, [ebp - 0x20]
call fcn.00401580
cmp dword [edi - 0xc], 0
jl 0x405352
push str.key
push edi
call ebx
add esp, 8
test eax, eax
je 0x405352
sub eax, edi
sar eax, 1
mov esi, eax
js 0x405352
add esi, 4
mov eax, dword [edi - 0xc]
js 0x405305
cmp esi, eax
jg 0x405305
lea ecx, [edi + esi*2]
push 0x42ee7c
push ecx
call ebx
add esp, 8
test eax, eax
je 0x405305
sub eax, edi
sar eax, 1
jmp 0x405308
or eax, 0xffffffff
test esi, esi
jl 0x405352
test eax, eax
jl 0x405352
sub eax, esi
push eax
push esi
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x18]
call fcn.00404ed0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
call fcn.00401820
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405361
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x405361
push 0
push 0x42d8a0
lea ecx, [ebp - 0x2c]
call fcn.00401580
cmp dword [edi - 0xc], 0
jl 0x4053f3
push str.left
push edi
call ebx
add esp, 8
test eax, eax
je 0x4053f3
sub eax, edi
sar eax, 1
mov esi, eax
js 0x4053f3
add esi, 5
mov eax, dword [edi - 0xc]
js 0x4053a6
cmp esi, eax
jg 0x4053a6
lea ecx, [edi + esi*2]
push 0x42ee7c
push ecx
call ebx
add esp, 8
test eax, eax
je 0x4053a6
sub eax, edi
sar eax, 1
jmp 0x4053a9
or eax, 0xffffffff
test esi, esi
jl 0x4053f3
test eax, eax
jl 0x4053f3
sub eax, esi
push eax
push esi
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x18]
call fcn.00404ed0
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x10
call fcn.00401820
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405402
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x405402
push 0
push 0x42d8a0
lea ecx, [ebp - 0x34]
call fcn.00401580
cmp dword [edi - 0xc], 0
jl 0x405494
push str.right
push edi
call ebx
add esp, 8
test eax, eax
je 0x405494
sub eax, edi
sar eax, 1
mov esi, eax
js 0x405494
add esi, 6
mov eax, dword [edi - 0xc]
js 0x405447
cmp esi, eax
jg 0x405447
lea ecx, [edi + esi*2]
push 0x42ee7c
push ecx
call ebx
add esp, 8
test eax, eax
je 0x405447
sub eax, edi
sar eax, 1
jmp 0x40544a
or eax, 0xffffffff
test esi, esi
jl 0x405494
test eax, eax
jl 0x405494
sub eax, esi
push eax
push esi
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x18]
call fcn.00404ed0
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x11
call fcn.00401820
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4054a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4054a3
push 0
push 0x42d8a0
lea ecx, [ebp - 0x30]
call fcn.00401580
cmp dword [edi - 0xc], 0
jl 0x405535
push str.top
push edi
call ebx
add esp, 8
test eax, eax
je 0x405535
sub eax, edi
sar eax, 1
mov esi, eax
js 0x405535
add esi, 4
mov eax, dword [edi - 0xc]
js 0x4054e8
cmp esi, eax
jg 0x4054e8
lea ecx, [edi + esi*2]
push 0x42ee7c
push ecx
call ebx
add esp, 8
test eax, eax
je 0x4054e8
sub eax, edi
sar eax, 1
jmp 0x4054eb
or eax, 0xffffffff
test esi, esi
jl 0x405535
test eax, eax
jl 0x405535
sub eax, esi
push eax
push esi
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x18]
call fcn.00404ed0
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x12
call fcn.00401820
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405544
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x405544
push 0
push 0x42d8a0
lea ecx, [ebp - 0x24]
call fcn.00401580
cmp dword [edi - 0xc], 0
jl 0x4055d6
push str.bottom
push edi
call ebx
add esp, 8
test eax, eax
je 0x4055d6
sub eax, edi
sar eax, 1
mov esi, eax
js 0x4055d6
add esi, 7
mov eax, dword [edi - 0xc]
js 0x405589
cmp esi, eax
jg 0x405589
lea ecx, [edi + esi*2]
push 0x42ee7c
push ecx
call ebx
add esp, 8
test eax, eax
je 0x405589
sub eax, edi
sar eax, 1
jmp 0x40558c
or eax, 0xffffffff
test esi, esi
jl 0x4055d6
test eax, eax
jl 0x4055d6
sub eax, esi
push eax
push esi
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x18]
call fcn.00404ed0
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x13
call fcn.00401820
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4055e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4055e5
push 0
push 0x42d8a0
lea ecx, [ebp - 0x38]
call fcn.00401580
cmp dword [edi - 0xc], 0
jl 0x405677
push str.showfeed
push edi
call ebx
add esp, 8
test eax, eax
je 0x405677
sub eax, edi
sar eax, 1
mov esi, eax
js 0x405677
add esi, 9
mov eax, dword [edi - 0xc]
js 0x40562a
cmp esi, eax
jg 0x40562a
lea ecx, [edi + esi*2]
push 0x42ee7c
push ecx
call ebx
add esp, 8
test eax, eax
je 0x40562a
sub eax, edi
sar eax, 1
jmp 0x40562d
or eax, 0xffffffff
test esi, esi
jl 0x405677
test eax, eax
jl 0x405677
sub eax, esi
push eax
push esi
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x18]
call fcn.00404ed0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x14
call fcn.00401820
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405686
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x405686
push 0
push 0x42d8a0
lea ecx, [ebp - 0x40]
call fcn.00401580
cmp dword [edi - 0xc], 0
jl 0x405718
push str.alpha
push edi
call ebx
add esp, 8
test eax, eax
je 0x405718
sub eax, edi
sar eax, 1
mov esi, eax
js 0x405718
add esi, 6
mov eax, dword [edi - 0xc]
js 0x4056cb
cmp esi, eax
jg 0x4056cb
lea ecx, [edi + esi*2]
push 0x42ee7c
push ecx
call ebx
add esp, 8
test eax, eax
je 0x4056cb
sub eax, edi
sar eax, 1
jmp 0x4056ce
or eax, 0xffffffff
test esi, esi
jl 0x405718
test eax, eax
jl 0x405718
sub eax, esi
push eax
push esi
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x18]
call fcn.00404ed0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x15
call fcn.00401820
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405727
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x405727
push 0
push 0x42d8a0
lea ecx, [ebp - 0x44]
call fcn.00401580
cmp dword [edi - 0xc], 0
jl 0x4057a9
push 0x42edcc
push edi
call ebx
add esp, 8
test eax, eax
je 0x4057a9
sub eax, edi
sar eax, 1
mov ecx, eax
js 0x4057a9
mov eax, edi
add ecx, 9
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x405750
sub eax, esi
sar eax, 1
test ecx, ecx
jl 0x4057a9
test eax, eax
jl 0x4057a9
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00404ed0
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x16
call fcn.00401820
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4057b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4057b8
push 0
push 0x42d8a0
lea ecx, [ebp - 0x3c]
call fcn.00401580
lea ecx, [ebp - 0x1c]
push 0x42d8a0
push ecx
call fcn.004025d0
add esp, 8
test al, al
je 0x4057db
lea edx, [ebp - 0x1c]
push edx
mov ecx, 0x44c62c
call fcn.00401820
lea eax, [ebp - 0x28]
push 0x42d8a0
push eax
call fcn.004025d0
add esp, 8
test al, al
je 0x4057fe
lea ecx, [ebp - 0x28]
push ecx
mov ecx, 0x44c630
call fcn.00401820
lea edx, [ebp - 0x20]
push 0x42d8a0
push edx
call fcn.004025d0
add esp, 8
test al, al
je 0x405821
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x44c634
call fcn.00401820
lea ecx, [ebp - 0x2c]
push 0x42d8a0
push ecx
call fcn.004025d0
add esp, 8
test al, al
je 0x405844
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x44c638
call fcn.00401820
lea eax, [ebp - 0x34]
push 0x42d8a0
push eax
call fcn.004025d0
add esp, 8
test al, al
je 0x405867
lea ecx, [ebp - 0x34]
push ecx
mov ecx, 0x44c604
call fcn.00401820
lea edx, [ebp - 0x30]
push 0x42d8a0
push edx
call fcn.004025d0
add esp, 8
test al, al
je 0x40588a
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x44c608
call fcn.00401820
lea ecx, [ebp - 0x24]
push 0x42d8a0
push ecx
call fcn.004025d0
add esp, 8
test al, al
je 0x4058ad
lea edx, [ebp - 0x24]
push edx
mov ecx, 0x44c60c
call fcn.00401820
lea eax, [ebp - 0x38]
push 0x42d8a0
push eax
call fcn.004025d0
add esp, 8
test al, al
je 0x4058d0
lea ecx, [ebp - 0x38]
push ecx
mov ecx, 0x44c610
call fcn.00401820
lea edx, [ebp - 0x40]
push 0x42edc8
push edx
call fcn.00404b30
neg al
push 0x42edc8
sbb eax, eax
neg eax
mov dword [0x44c5f4], eax
lea eax, [ebp - 0x44]
push eax
call fcn.00404b30
neg al
lea ecx, [ebp - 0x3c]
push 0x42edc8
push ecx
sbb eax, eax
neg eax
mov dword [0x44c5f8], eax
call fcn.00404b30
neg al
lea edx, [ebp - 0x18]
push str._ResetIESettings
push edx
sbb eax, eax
neg eax
mov dword [0x44c5fc], eax
call fcn.00404b30
add esp, 0x20
test al, al
je 0x405bdc
call fcn.00425550
mov esi, dword [ebp - 0x48]
add esi, 0x40
push 0x42ed94
mov ecx, esi
mov byte [ebp - 4], 0x17
call fcn.004024d0
mov ecx, esi
mov dword [ebp - 4], 0xb
call fcn.00402070
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0xa
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405980
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 9
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4059a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 8
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4059c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 7
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4059e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 6
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405a0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 5
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405a2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 4
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405a52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 3
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405a75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405a98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405abb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405ade
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405b01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x18]
push str._RepairPlayList
push ecx
call fcn.00404b30
add esp, 8
test al, al
je 0x4061ab
mov esi, dword [sym.imp.QQMusicCommon.dll_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_qqmusic::GetAppDataFolder_void_]
lea edx, [ebp - 0x70]
push edx
call esi
push str.qmdb
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0x1a
call fcn.00401af0
add esp, 0x10
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x74]
push ecx
call esi
push str.qmdbex
push eax
lea edx, [ebp - 0x5c]
push edx
mov byte [ebp - 4], 0x1d
call fcn.00401af0
add esp, 0x10
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1f
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405c79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call ebx
test eax, eax
jne 0x405caa
mov edx, dword [ebp - 0x5c]
push edx
call ebx
test eax, eax
jne 0x405caa
push eax
push 0x42ecc8
push 0x42eca8
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x405fd9
mov ecx, dword [ebp - 0x48]
push 1
call fcn.0040b630
lea eax, [ebp - 0x6c]
push eax
call esi
push str.Backup_
push eax
lea ecx, [ebp - 0x48]
push ecx
mov byte [ebp - 4], 0x20
call fcn.00401af0
add esp, 0x10
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x22
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405cf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x48]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x54], esp
mov edi, esp
push eax
call fcn.00401330
add eax, 0x10
add esp, 4
mov dword [edi], eax
call dword [sym.imp.QQMusicCommon.dll_int___cdecl_QM::CreateDirectoryW_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____]
lea ecx, [ebp - 0x64]
push ecx
call esi
push str.qmlist.db
push eax
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 0x23
call fcn.00401af0
add esp, 0x14
mov eax, dword [ebp - 0x64]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x25
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405d52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.qmlist.db
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.00401af0
add esp, 0xc
mov eax, dword [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x26
call ebx
test eax, eax
je 0x405d8b
mov ecx, dword [ebp - 0x4c]
push ecx
call ebx
test eax, eax
je 0x405da3
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x405d95
mov edx, dword [ebp - 0x4c]
push edx
call ebx
test eax, eax
je 0x405da3
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ebx, dword [sym.imp.QQMusicCommon.dll_class_ATL::CStringT_wchar_t__class_ATL::StrTraitATL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_qqmusic::GetExeFolder_void_]
lea edx, [ebp - 0x68]
push edx
call ebx
push str.DataTransformEx.exe
push eax
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 0x27
call fcn.00401af0
add esp, 0x10
mov eax, dword [ebp - 0x68]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x29
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405de8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x3c
xor edi, edi
lea ecx, [ebp - 0xc8]
push edi
push ecx
call sub.MSVCR80.dll_memset
mov edx, dword [ebp - 0x60]
add esp, 0xc
lea eax, [ebp - 0xc8]
push eax
mov dword [ebp - 0xc8], 0x3c
mov dword [ebp - 0xc4], 0x40
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xac], 5
mov dword [ebp - 0xa8], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 0x90]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x2710
push ecx
call esi
cmp eax, edi
je 0x405ea3
mov edi, dword [sym.imp.QQMusicCommon.dll_void___cdecl_qqmusic::WriteLog_unsigned_long_int__wchar_t_const__]
push eax
push str.Wait_QQMusic_to_exit_failed._with_return_value__u._Now_kill_qqmusic_rudly.
push 4
call edi
mov edx, dword [ebp - 0x90]
add esp, 0xc
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x90]
push 0xbb8
push eax
call esi
test eax, eax
je 0x405ea1
push eax
push str.Wait_QQMusic_to_exit_failed_twice_with_return_value__u._I_have_no_idea.
push 4
call edi
add esp, 0xc
xor edi, edi
lea ecx, [ebp - 0x54]
push ecx
call ebx
push str.QQMusic.exe
push eax
lea edx, [ebp - 0x58]
push edx
mov byte [ebp - 4], 0x2a
call fcn.00401af0
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], 0x29
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405ee2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x40
lea ecx, [ebp - 0x108]
push edi
push ecx
call sub.MSVCR80.dll_memset
mov ecx, dword [ebp - 0x58]
add esp, 0xc
xor eax, eax
lea edx, [ebp - 0x84]
push edx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x10c]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push ecx
push edi
mov dword [ebp - 0x10c], 0x44
mov dword [ebp - 0x84], edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405f4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x26
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405f70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x25
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405f93
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x22
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405fb6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1f
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405fd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405ffc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40601f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406042
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
mov byte [ebp - 4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406065
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
mov byte [ebp - 4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406088
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4060ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4060ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4060f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406114
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406137
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40615a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40617d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4061a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
jmp 0x405ae1
push str.QQMUSIC_DIAGTOOL
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
test ebx, ebx
je 0x40595d
mov esi, dword [sym.imp.USER32.dll_FindWindowW]
push 0x42ec10
push str.TXGuiFoundation
call esi
test eax, eax
jne 0x40622a
push 0x42ebd4
push str.TXGuiFoundation
call esi
test eax, eax
jne 0x40622a
push 0x42ebc4
push str.TXGuiFoundation
call esi
test eax, eax
jne 0x40622a
push 0x42ebb0
push str.TXGuiFoundation
call esi
test eax, eax
jne 0x40622a
push 0x42eba8
push str.TXGuiFoundation
call esi
test eax, eax
jne 0x40622a
push str.Lk
push str.TXGuiFoundation
call esi
test eax, eax
je 0x406231
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4062aa
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x3c]
call fcn.00412f60
lea ecx, [ebp - 0x44]
call fcn.00412f60
lea ecx, [ebp - 0x40]
call fcn.00412f60
lea ecx, [ebp - 0x38]
call fcn.00412f60
lea ecx, [ebp - 0x24]
call fcn.00412f60
lea ecx, [ebp - 0x30]
call fcn.00412f60
lea ecx, [ebp - 0x34]
call fcn.00412f60
lea ecx, [ebp - 0x2c]
call fcn.00412f60
lea ecx, [ebp - 0x20]
call fcn.00412f60
lea ecx, [ebp - 0x28]
call fcn.00412f60
lea ecx, [ebp - 0x1c]
call fcn.00412f60
lea ecx, [ebp - 0x18]
call fcn.00412f60
jmp 0x405b01
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.Common.dll_void___cdecl_Util::Misc::SetMainAndLogicThreadId_unsigned_long_int__unsigned_long_int_]
mov esi, dword [ebp - 0x48]
add esp, 8
add esi, 0x40
push 0x42ed94
mov ecx, esi
mov byte [ebp - 4], 0x2b
call fcn.004024d0
push 0
push 0
mov dword [ebp - 4], 0xb
call dword [sym.imp.QQMusicCommon.dll_QQMusic_InitVersionInfo]
add esp, 8
test eax, eax
jne 0x406309
push 0x220
push str..DiagTools.cpp
push str.Assert_failed___File:_s__line:_d__operation:QQMusic_InitVersionInfo_NULL__NULL_
push 4
call dword [sym.imp.QQMusicCommon.dll_void___cdecl_qqmusic::WriteLog_unsigned_long_int__wchar_t_const__]
add esp, 0x10
jmp 0x406245
lea ecx, [ebp - 0x200]
call fcn.0040c720
push ecx
lea edx, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x54], esp
push edx
mov byte [ebp - 4], 0x2e
call fcn.00401520
lea ecx, [ebp - 0x200]
call fcn.0040f890
lea ecx, [ebp - 0x200]
call fcn.0040b940
lea ecx, [ebp - 0x200]
call fcn.0040bdb0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.00402070
lea ecx, [ebp - 0x200]
mov byte [ebp - 4], 0xb
call fcn.0040bfd0
jmp 0x406245