Function at 0x408c90
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4b6347
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x4f4930]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4930]
xor eax, esp
push eax
lea eax, [esp + 0x488]
mov dword fs:[0], eax
mov eax, dword [esp + 0x498]
mov ebp, dword [esp + 0x49c]
xor ebx, ebx
mov dword [esp + 0x28], eax
cmp dword [0x4fb764], ebx
je 0x408e28
mov edi, dword [esp + 0x4a0]
cmp edi, ebx
jne 0x408cff
mov dword [ebp + 0x38], 1
jmp 0x408d5c
cmp edi, 1
jne 0x408d0d
mov dword [ebp + 0x38], 2
jmp 0x408d5c
mov esi, 2
cmp edi, esi
jne 0x408d1b
mov dword [ebp + 0x38], esi
jmp 0x408d5c
cmp edi, 3
jne 0x408d5c
push 0x18
call fcn.004706a8
fld1
mov ecx, dword [0x4fb764]
fstp qword [eax + 8]
add esp, 4
push eax
push ebx
mov dword [eax], ebp
mov dword [eax + 4], esi
mov dword [eax + 0x10], ebx
mov edx, dword [ecx + 0x124]
push 0x8002
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x18
call fcn.004706a8
fld qword [esp + 0x4ac]
fld qword [0x4e40b8]
mov esi, eax
fmul st(1)
add esp, 4
mov dword [esi], ebp
call fcn.004ae060
mov ecx, dword [0x4fb764]
mov dword [ebp + 0x3c], eax
fstp qword [esi + 8]
mov eax, dword [esp + 0x4a4]
push esi
push ebx
mov dword [esi + 4], edi
mov dword [esi + 0x10], eax
mov edx, dword [ecx + 0x124]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push 0x8002
push edx
call esi
cmp edi, 3
jne 0x408dee
push 0x18
call fcn.004706a8
fld1
add esp, 4
fstp qword [eax + 8]
push eax
mov dword [eax], ebp
mov dword [eax + 4], 5
mov dword [eax + 0x10], ebx
mov eax, dword [0x4fb764]
mov ecx, dword [eax + 0x124]
push ebx
push 0x8002
push ecx
call esi
mov dword [ebp + 0x38], 4
jmp 0x409064
cmp edi, 4
jne 0x409064
push 0x18
call fcn.004706a8
mov edx, dword [0x4fb764]
add esp, 4
push eax
push ebx
mov dword [eax], ebp
mov dword [eax + 4], edi
mov eax, dword [edx + 0x124]
push 0x8002
push eax
call esi
mov dword [ebp + 0x38], 5
jmp 0x409064
mov eax, dword [esp + 0x4a0]
cmp eax, ebx
jne 0x408e3f
mov dword [ebp + 0x38], 1
jmp 0x409062
cmp eax, 1
jne 0x408e50
mov dword [ebp + 0x38], 2
jmp 0x409062
mov esi, 2
cmp eax, esi
jne 0x408e61
mov dword [ebp + 0x38], esi
jmp 0x409062
cmp eax, 3
jne 0x409056
mov byte [esp + 0x24], bl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x490], ebx
call fcn.00401760
lea edi, [esp + 0x20]
mov esi, eax
call fcn.0045f850
push ebx
mov ecx, edi
push 1
push ecx
push ecx
call fcn.00401760
mov ecx, dword [ebp + 0x2c]
add esp, 4
push eax
call fcn.004569b0
test al, al
jne 0x408eb8
mov ecx, edi
mov dword [ebp + 0x38], 5
call fcn.0041a4d0
jmp 0x408f38
cmp byte [ebp + 0x4d], bl
je 0x408f38
mov eax, dword [ebp + 4]
lea edx, [esp + 0x18]
push edx
push eax
mov dword [ebp + 0x38], 4
mov dword [esp + 0x20], ebx
call fcn.00401760
push eax
mov eax, dword [ebp]
call fcn.00459940
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x408f1f
cmp esi, ebx
je 0x408f1f
push eax
push ecx
call fcn.00401760
add esp, 4
push eax
mov bl, 1
mov eax, esi
lea ecx, [esp + 0x28]
call fcn.00458d30
test al, al
je 0x408f1d
mov ecx, dword [ebp + 4]
push 1
push ecx
call fcn.00401760
mov ecx, dword [ebp]
push eax
call fcn.0045ff70
xor ebx, ebx
cmp dword [ebp + 0x34], ebx
jg 0x408f2e
mov edx, dword [ebp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esp + 0x28]
push ebp
call fcn.00408740
cmp byte [0x4fb770], bl
je 0x409016
cmp dword [ebp + 0x38], 5
je 0x409016
cmp dword [ebp + 0x48], 1
jne 0x409016
push 0x206
lea ecx, [esp + 0x282]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x288], ax
call fcn.00476c30
add esp, 0xc
call fcn.00401760
call fcn.0045c010
push eax
push str._sSGTool.exe
lea edx, [esp + 0x284]
push 0x104
push edx
call fcn.0046fdbd
add esp, 0x10
lea ecx, [esp + 0x154]
call fcn.0041ead0
lea eax, [esp + 0x27c]
lea edx, [esp + 0x154]
call fcn.0041ed00
mov byte [esp + 0x1c], bl
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x2c]
call fcn.0041ead0
mov byte [esp + 0x490], 4
mov eax, dword [ebp]
push eax
push str.__appidpandorabox__upsucceed__s
lea edi, [esp + 0x34]
call fcn.0041f0a0
add esp, 8
mov ecx, edi
call fcn.0041c370
push eax
call fcn.0044f910
add esp, 4
mov ecx, edi
call fcn.0041ec80
lea ecx, [esp + 0x18]
call fcn.0041a420
lea ecx, [esp + 0x154]
call fcn.0041ec80
push 0x4cb058
push str.CherryWindowClass
mov dword [ebp + 0x38], 4
call dword [sym.imp.USER32.dll_FindWindowW]
cmp byte [ebp + 0x4d], bl
jne 0x409044
cmp eax, ebx
je 0x409044
push ebx
push ebx
push 0x8008
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esp + 0x20]
call fcn.0041a420
mov edi, dword [esp + 0x4a0]
jmp 0x409064
cmp eax, 4
jne 0x409062
mov dword [ebp + 0x38], 5
mov edi, eax
fld qword [esp + 0x4a8]
push ecx
fstp dword [esp + 0x1c]
mov ebx, ebp
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.0040b7a0
add esp, 4
test ebp, ebp
je 0x4090b0
mov ebp, dword [ebp + 0x6c]
test ebp, ebp
je 0x4090b0
cmp edi, 3
je 0x40909b
cmp edi, 5
je 0x40909b
cmp edi, 4
jne 0x4090b0
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x2f0]
push edi
push 0xa
push edx
push ebp
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.0046fdae
add esp, 0x480
ret 0x18