Function at 0x4033a0
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4134ab
push eax
mov al, byte [0x4223cc]
mov dword fs:[0], esp
sub esp, 0x1c
cmp al, 1
jne 0x4033dc
mov al, byte [0x42402c]
test al, al
jne 0x4033dc
push 0x423ee8
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [0x42402c], 1
mov eax, dword [0x4224e0]
push ebx
mov ebx, 1
cmp eax, ebx
jne 0x403436
mov eax, dword [0x4224e8]
mov byte [esp + 0xc], 0
test eax, eax
je 0x4033fd
mov byte [esp + 0xc], bl
mov ecx, dword [0x4224ec]
mov edx, dword [esp + 0xc]
push ecx
mov ecx, dword [0x4224e4]
push 0
push eax
mov eax, dword [0x4224f4]
push edx
mov edx, dword [0x4224f0]
push eax
push ecx
push edx
mov ecx, 0x41d488
call fcn.004090f0
mov ecx, 0x41d488
call fcn.00409130
jmp 0x403469
push 0x41bfe0
call sub.KERNEL32.dll_GetSystemPowerStatus
cmp byte [0x41bfe1], 0x80
jne 0x403469
mov eax, dword [esp + 0x30]
push 0x24
push 0x41678c
push 0x416738
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x4037c7
mov ecx, dword [0x41c090]
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0
push 0x3ef
push ecx
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
mov edx, dword [0x41c090]
push ebx
push 0x3f0
push edx
call esi
push eax
call edi
mov eax, dword [0x41c090]
push 0
push 0x3f4
push eax
call esi
push eax
call edi
mov ebp, dword [esp + 0x3c]
push ebp
call dword [sym.imp.USER32.dll_GetMenu]
mov edi, dword [sym.imp.USER32.dll_EnableMenuItem]
mov esi, eax
push 0
push 0x9c42
push esi
call edi
push ebx
push 0x9c41
push esi
call edi
push ebx
push 0x9c4b
push esi
call edi
mov ecx, dword [0x41c0d4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x10
push 0x3f4
push 0x411
push ecx
call esi
mov edx, dword [0x41c0d4]
push 0x10
push 0x9c41
push 0x411
push edx
call esi
mov eax, dword [0x41c0d4]
push 4
push 0x9c42
push 0x411
push eax
call esi
push 0x21fc
call fcn.0040a838
add esp, 4
mov dword [esp + 0x20], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x34], edi
je 0x403547
push ebp
mov ecx, eax
call fcn.00401470
jmp 0x403549
xor eax, eax
mov ecx, dword [0x4224e0]
mov edx, eax
cmp ecx, ebx
mov dword [esp + 0x34], 0xffffffff
mov dword [0x423ee0], edx
jne 0x403578
mov dword [eax + 4], ebx
mov ecx, dword [0x423ee0]
mov dword [ecx + 0x104c], ebx
mov edx, dword [0x423ee0]
mov ebp, 0x416734
mov esi, 0xc
mov eax, 0x41c004
xor ebx, ebx
neg ebp
sub eax, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], 0x1064
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
cmp dword [esi + edx], 0
je 0x4036e4
mov eax, dword [esi + edx + 0x1930]
test eax, eax
je 0x4035e6
push 0
push 0
lea eax, [ebx + 0x41ae70]
push 0x100
push eax
lea ecx, [edi + edx + 0x194c]
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [0x423ee0]
jmp 0x4035f9
mov eax, 0x416734
mov cl, byte [eax]
mov byte [eax + ebp + 0x41ae70], cl
inc eax
test cl, cl
jne 0x4035eb
cmp dword [esi + edx], 0
je 0x403628
push 0
push 0
lea eax, [ebx + 0x41bf08]
push 0x100
push eax
lea ecx, [edi + edx + 0x1c]
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edx, dword [0x423ee0]
jmp 0x40363b
mov eax, 0x416734
mov cl, byte [eax]
mov byte [eax + ebp + 0x41bf08], cl
inc eax
test cl, cl
jne 0x40362d
mov eax, dword [str.PbAc]
xor edi, edi
test eax, eax
je 0x40369f
mov eax, 0x417498
mov esi, eax
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push 4
add ecx, edx
push eax
push ecx
call fcn.0040a800
add esp, 0xc
test eax, eax
je 0x40367a
mov ecx, dword [esi + 4]
mov edx, dword [0x423ee0]
add esi, 4
inc edi
test ecx, ecx
mov eax, esi
jne 0x40364d
jmp 0x40369b
mov eax, dword [edi*4 + 0x4174b8]
mov edx, ebx
sub edx, eax
lea edx, [edx + 0x41d4b0]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40368b
mov edx, dword [0x423ee0]
mov esi, dword [esp + 0x18]
mov eax, dword [esi + edx + 0x2140]
test eax, eax
je 0x4036d9
mov eax, dword [esp + 0x14]
mov eax, dword [eax + edx + 0x2164]
cmp eax, 0xffffffff
je 0x4036d9
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
fild qword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
fmul dword [0x414328]
fstp dword [ecx + esi]
jmp 0x4036e4
mov eax, dword [esp + 0x1c]
mov dword [eax + esi], 0xbf800000
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add eax, 0x24
add edi, 0x200
add ebx, 0x32
add ebp, 0x32
add ecx, 0x10
add esi, 4
cmp eax, 0x10f4
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
jl 0x4035a5
mov esi, 0x21dc
mov eax, 0x2160
mov ecx, dword [esi + edx - 0x90]
test ecx, ecx
je 0x403746
mov ecx, dword [eax + edx]
cmp ecx, 0xffffffff
je 0x403746
mov dword [esi + edx], ecx
mov edx, dword [0x423ee0]
add eax, 0x10
add esi, 4
cmp eax, 0x21a0
jl 0x40372a
fld dword [0x4223c4]
fmul dword [0x41432c]
push 0
call fcn.0040a758
mov edi, dword [esp + 0x40]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push eax
push 1
push edi
call esi
push 0
push 0x3e8
push 2
push edi
call esi
xor eax, eax
mov dword [0x41c084], 1
mov al, byte [0x41bfe2]
test eax, eax
mov dword [0x41e530], eax
jl 0x4037a1
cmp eax, 0x64
jle 0x4037ab
mov dword [0x41e530], 0x64
call fcn.0040a77f
push edi
mov dword [0x41c08c], eax
call fcn.00403ff0
push edi
call fcn.004053c0
add esp, 8
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x20]
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret