Function at 0x4659d0
Capabilities:
Delete file

Disassembly:
sub esp, 0x14
mov eax, dword [0x55bc00]
push ebx
push ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x20], ecx
jne 0x465d84
mov eax, dword [0x547570]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, str.start.qdr
mov dword [0x55bc00], 0xa
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x465a40
push ecx
call edi
mov esi, eax
test esi, esi
je 0x465a40
push esi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x465a40
mov edx, dword [esp + 0x10]
inc esi
push esi
push str.start.qdr
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x10]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0x54b584
push 0x547afc
push ecx
call fcn.0048ee40
mov ecx, dword [esp + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, eax
add esp, 0x10
mov eax, dword [esi]
cmp ecx, eax
je 0x465aae
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x465a82
mov edx, dword [0x547574]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x465a89
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x465a99
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00405870
jmp 0x465aae
lea ecx, [esp + 0x10]
call fcn.004124c0
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call ebp
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x465add
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x465add
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x10]
push ecx
mov ecx, esp
mov edx, dword [eax - 0xc]
test edx, edx
jl 0x465af9
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call ebp
jmp 0x465b0b
mov edx, dword [0x547570]
mov dword [ecx], edx
mov eax, dword [esp + 0x14]
push eax
call fcn.00405920
lea ecx, [esp + 0x20]
push ecx
call fcn.004b9ca0
add esp, 8
lea ecx, [esp + 0x1c]
call fcn.004055c0
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_CharLowerW]
mov eax, dword [0x547570]
mov ecx, 0x54b580
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x465b74
push ecx
call edi
mov esi, eax
test esi, esi
je 0x465b74
push esi
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x465b74
mov edx, dword [esp + 0x14]
inc esi
push esi
push 0x54b580
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.005322f9
mov ecx, dword [0x547574]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x14]
sete bl
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x465bba
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x465bba
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
test bl, bl
je 0x465c10
mov eax, dword [0x55bae0]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x465c10
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x465bdf
mov edx, dword [0x547574]
add eax, 0xfffffff4
cmp eax, edx
jne 0x465be6
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x465bf7
push ecx
mov ecx, dword [ecx - 8]
push ecx
mov ecx, 0x55bae0
call fcn.00405870
jmp 0x465c10
mov ecx, 0x55bae0
call fcn.004124c0
mov eax, dword [esp + 0x10]
mov dword [0x55bae0], eax
add eax, 0xfffffff4
push eax
call ebp
lea edx, [esp + 0x14]
push edx
call fcn.00461d20
mov ecx, dword [0x55b160]
mov esi, eax
add esp, 4
mov eax, dword [esi]
cmp ecx, eax
je 0x465c6f
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x465c3f
mov edx, dword [0x547574]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x465c46
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x465c57
push eax
mov eax, dword [eax - 8]
push eax
mov ecx, 0x55b160
call fcn.00405870
jmp 0x465c6f
mov ecx, 0x55b160
call fcn.004124c0
mov esi, dword [esi]
mov dword [0x55b160], esi
add esi, 0xfffffff4
push esi
call ebp
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x465c9e
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x465c9e
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
push 0x55b160
lea ecx, [esp + 0x1c]
call fcn.00405440
push 0x55bae0
lea eax, [esp + 0x18]
push 0x547f14
push eax
call fcn.00412eb0
mov eax, dword [eax]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x20]
call fcn.00405a90
lea ecx, [esp + 0x14]
call fcn.00405700
push 0
push ecx
mov ecx, esp
push str.StartCrash
call fcn.00412590
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.00466f30
cmp eax, 1
jne 0x465d1b
push 0
push ecx
mov ecx, esp
push str.StartCrash
call fcn.00412590
mov ecx, esi
call fcn.00466e90
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x465d69
push 1
push ecx
mov ecx, esp
push str.StartCrash
call fcn.00412590
mov ecx, esi
call fcn.00466e90
push 0
push 0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
push eax
mov dword [0x55b640], 0
call fcn.00405440
mov ecx, esi
call fcn.0047ccb0
push 0
push ecx
mov ecx, esp
push str.StartCrash
call fcn.00412590
mov ecx, esi
call fcn.00466e90
lea ecx, [esp + 0x18]
call fcn.00405700
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00405700
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret