Function at 0x428f40
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c3a9
mov eax, dword fs:[0]
push eax
mov eax, 0x1340
call fcn.0056e430
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1274], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x125c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x127c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1284], eax
mov eax, dword [ebp + 0x1c]
push 0x20a
mov dword [ebp - 0x1294], eax
lea eax, [ebp - 0x230]
push esi
push eax
mov dword [ebp - 0x1258], 0
mov dword [ebp - 0x1270], esi
mov dword [ebp - 0x1260], esi
mov dword [ebp - 0x1278], esi
mov dword [ebp - 0x1280], esi
mov dword [ebp - 0x1288], esi
call fcn.00571c00
push 0x1000
lea eax, [ebp - 0x1230]
push esi
push eax
call fcn.00571c00
add esp, 0x14
mov dword [ebp - 0x14], esi
xorps xmm0, xmm0
lea ecx, [ebp - 0x134c]
movups xmmword [ebp - 0x24], xmm0
call fcn.0042a050
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x1248]
push esi
push 0x5c8003
mov dword [ebp - 0x1238], esi
mov dword [ebp - 0x1234], 0xf
mov byte [ebp - 0x1248], 0
call fcn.00415de0
mov byte [ebp - 4], 1
test edi, edi
je 0x429994
cmp dword [ebp - 0x1274], esi
je 0x429994
cmp dword [ebp - 0x125c], esi
je 0x429994
cmp dword [ebp - 0x127c], esi
je 0x429994
cmp dword [ebp - 0x1284], esi
je 0x429994
lea eax, [ebp - 0x230]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, 0x105
lea eax, [ebp - 0x230]
nop dword [eax + eax]
cmp word [eax], 0
je 0x42909e
add eax, 2
sub ecx, 1
jne 0x429090
test ecx, ecx
je 0x4290d9
mov edx, ecx
lea eax, [ecx - 0x105]
neg edx
push ecx
sbb edx, edx
and edx, eax
mov eax, 0x105
sub eax, ecx
add edx, 0x105
push str._cn_temptypefile.typ
push ecx
add eax, eax
neg ecx
sbb ecx, ecx
and ecx, eax
lea eax, [ebp - 0x230]
add ecx, eax
call fcn.00427820
lea eax, [ebp - 0x230]
push eax
push edi
call fcn.00429aa0
test eax, eax
je 0x429996
push ecx
push 0x20
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x134c]
call fcn.00429fe0
cmp dword [ebp - 0x12f0], 0
jne 0x42911e
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x429994
push 0xffffffffffffffff
push 0
push 2
lea ecx, [ebp - 0x134c]
call fcn.0042abb0
push 0x800
lea eax, [ebp - 0x1230]
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea edx, [ebp - 0x1248]
lea ecx, [ebp - 0x134c]
call fcn.0042be70
push 0xffffffffffffffff
push 0
push 1
lea ecx, [ebp - 0x134c]
call fcn.0042abb0
mov ecx, dword [ebp - 0x1238]
cmp ecx, 0xfff
jbe 0x429192
lea ecx, [ebp - 0x134c]
call fcn.00429fa0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x429994
cmp dword [ebp - 0x1234], 0x10
lea eax, [ebp - 0x1248]
push ecx
cmovae eax, dword [ebp - 0x1248]
push eax
lea eax, [ebp - 0x1230]
push eax
call fcn.00571100
add esp, 0xc
lea eax, [ebp - 0x1230]
lea ecx, [ebp - 0x124c]
push eax
call fcn.00403320
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1230]
mov eax, dword [ebp - 0x124c]
mov edx, str.CANONGLIPSTYPEFILE
mov esi, 0xe
mov eax, dword [eax - 0xc]
mov byte [ebp + eax*2 - 0x1232], 0
nop
mov eax, dword [ecx]
or edi, 0xffffffff
cmp eax, dword [edx]
jne 0x42995d
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4291f0
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x42995d
mov eax, dword [ebp - 0x134c]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x1340], 1
jne 0x42991f
nop dword [eax + eax]
cmp dword [ebp - 0x1270], 0
je 0x429261
cmp dword [ebp - 0x1260], 0
je 0x429261
cmp dword [ebp - 0x1278], 0
je 0x429261
cmp dword [ebp - 0x1280], 0
je 0x429261
cmp dword [ebp - 0x1288], 0
jne 0x42991f
push 0x800
lea eax, [ebp - 0x1230]
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea edx, [ebp - 0x1248]
lea ecx, [ebp - 0x134c]
call fcn.0042be70
push 0xffffffffffffffff
push 0
push 1
lea ecx, [ebp - 0x134c]
call fcn.0042abb0
mov ecx, dword [ebp - 0x1238]
cmp ecx, 0xfff
ja 0x42995d
cmp dword [ebp - 0x1234], 0x10
lea eax, [ebp - 0x1248]
push ecx
cmovae eax, dword [ebp - 0x1248]
push eax
lea eax, [ebp - 0x1230]
push eax
call fcn.00571100
lea eax, [ebp - 0x1230]
push str.glips.meta_info.type_description.value
push eax
call fcn.00570be3
add esp, 0x14
test eax, eax
lea eax, [ebp - 0x1230]
je 0x4295a2
push 0x3d
push eax
call fcn.00570b1c
mov edi, eax
add esp, 8
test edi, edi
je 0x429905
add edi, 2
mov dword [ebp - 0x1260], 1
lea ecx, [ebp - 0x1250]
mov dword [ebp - 0x1268], edi
call fcn.00405f70
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x1250]
mov dword [ebp - 0x126c], 0
nop word [eax + eax]
movzx eax, word [edi]
cmp eax, 0xd
je 0x429525
test ax, ax
jne 0x4293f4
push 0x5c945c
lea edx, [ebp - 0x1250]
lea ecx, [ebp - 0x128c]
call fcn.0042af40
add esp, 4
mov byte [ebp - 4], 4
lea edi, [esi - 0x10]
mov edx, dword [eax]
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x4293e2
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x4293cd
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4293cd
call fcn.00403af0
mov dword [ebp - 0x1254], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4293b2
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1254]
mov byte [ebp - 4], 3
lea esi, [eax + 0x10]
mov edx, dword [ebp - 0x128c]
mov dword [ebp - 0x1250], esi
add edx, 0xfffffff0
jmp 0x4294e8
push dword [edx - 0xc]
lea ecx, [ebp - 0x1250]
push edx
call fcn.00403bb0
mov esi, dword [ebp - 0x1250]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x128c]
add edx, 0xfffffff0
jmp 0x4294e8
mov dword [ebp - 0x1254], eax
lea edi, [esi - 0x10]
mov byte [ebp - 4], 5
mov ecx, dword [edi]
test ecx, ecx
je 0x429414
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x42942c
call fcn.00550b4e
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x4299f6
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
or dword [ebp - 0x1258], 1
lea ecx, [ebp - 0x1264]
add eax, 0x10
mov edx, esi
mov dword [ebp - 0x1264], eax
mov eax, dword [ebp - 0x1254]
movzx eax, ax
mov dword [ebp - 0x1254], eax
lea eax, [ebp - 0x1254]
push 1
push eax
push dword [esi - 0xc]
call fcn.00416280
mov eax, dword [ebp - 0x1264]
add esp, 0xc
lea edx, [eax - 0x10]
mov dword [ebp - 0x1254], edx
cmp edx, edi
je 0x4294dd
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x4294c2
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x4294c2
mov ecx, edx
call fcn.00403af0
mov dword [ebp - 0x1290], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4294b7
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1290]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1250], esi
jmp 0x4294d7
push dword [eax - 0xc]
lea ecx, [ebp - 0x1250]
push eax
call fcn.00403bb0
mov esi, dword [ebp - 0x1250]
mov edx, dword [ebp - 0x1254]
and dword [ebp - 0x1258], 0xfffffffe
mov byte [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4294fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x126c]
mov edi, dword [ebp - 0x1268]
inc ecx
add edi, 2
mov dword [ebp - 0x126c], ecx
mov dword [ebp - 0x1268], edi
cmp ecx, 0x200
jl 0x429340
push 0x100
push 0
push dword [ebp - 0x125c]
call fcn.00571c00
mov ecx, dword [ebp - 0x125c]
mov edi, esi
add esp, 0xc
mov edx, 0x100
sub edi, ecx
nop dword [eax]
lea eax, [edx + 0x7ffffefe]
test eax, eax
je 0x42956e
movzx eax, word [ecx + edi]
test ax, ax
je 0x42956e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x429550
lea eax, [ecx - 2]
mov byte [ebp - 4], 2
test edx, edx
cmovne eax, ecx
xor ecx, ecx
or edi, 0xffffffff
add esi, 0xfffffff0
mov word [eax], cx
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x429908
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x429908
push str.glips.meta_info.type_display_name.value
push eax
call fcn.00570be3
add esp, 8
test eax, eax
je 0x429678
lea ecx, [ebp - 0x1230]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4295c1
sub ecx, edx
lea eax, [ebp - 0x1230]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x124c]
call fcn.00403bb0
mov eax, dword [ebp - 0x124c]
push 0x3d
mov eax, dword [eax - 0xc]
mov byte [ebp + eax*2 - 0x1232], 0
lea eax, [ebp - 0x1230]
push eax
call fcn.00570b1c
mov esi, eax
add esp, 8
test esi, esi
je 0x429908
mov eax, dword [ebp - 0x1274]
xorps xmm0, xmm0
add esi, 2
mov dword [ebp - 0x1270], 1
mov edx, 0x20
mov ecx, eax
sub esi, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
nop word [eax + eax]
lea eax, [edx + 0x7fffffde]
test eax, eax
je 0x42981e
movzx eax, word [ecx + esi]
test ax, ax
je 0x42981e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x429640
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
jmp 0x429908
lea eax, [ebp - 0x1230]
push str.glips.meta_info.type_icon_id.value
push eax
call fcn.00570be3
add esp, 8
test eax, eax
je 0x42975a
lea ecx, [ebp - 0x1230]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4296a0
sub ecx, edx
lea eax, [ebp - 0x1230]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x124c]
call fcn.00403bb0
mov eax, dword [ebp - 0x124c]
push 0x3d
mov eax, dword [eax - 0xc]
mov byte [ebp + eax*2 - 0x1232], 0
lea eax, [ebp - 0x1230]
push eax
call fcn.00570b1c
mov esi, eax
add esp, 8
test esi, esi
je 0x429908
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x1278], 1
add esi, 2
mov word [ebp - 0x1c], 0
xorps xmm0, xmm0
mov eax, ecx
movq qword [ebp - 0x24], xmm0
mov edx, 0xa
sub esi, eax
lea eax, [edx + 0x7ffffff4]
test eax, eax
je 0x429733
movzx eax, word [ecx + esi]
test ax, ax
je 0x429733
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x429715
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x24]
push eax
call fcn.00577bb7
mov ecx, dword [ebp - 0x127c]
add esp, 4
mov word [ecx], ax
jmp 0x429908
lea eax, [ebp - 0x1230]
push str.glips.meta_info.type_version.value
push eax
call fcn.00570be3
add esp, 8
test eax, eax
je 0x429830
lea ecx, [ebp - 0x1230]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429780
sub ecx, edx
lea eax, [ebp - 0x1230]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x124c]
call fcn.00403bb0
mov eax, dword [ebp - 0x124c]
push 0x3d
mov eax, dword [eax - 0xc]
mov byte [ebp + eax*2 - 0x1232], 0
lea eax, [ebp - 0x1230]
push eax
call fcn.00570b1c
mov esi, eax
add esp, 8
test esi, esi
je 0x429908
mov eax, dword [ebp - 0x1284]
xorps xmm0, xmm0
add esi, 2
mov dword [ebp - 0x1280], 1
mov edx, 0xa
mov ecx, eax
sub esi, eax
movq qword [eax], xmm0
mov word [eax + 8], 0
nop word [eax + eax]
lea eax, [edx + 0x7ffffff4]
test eax, eax
je 0x42981e
movzx eax, word [ecx + esi]
test ax, ax
je 0x42981e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x429800
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
jmp 0x429908
lea eax, [ebp - 0x1230]
push str.glips.meta_info.type_pdlname.value
push eax
call fcn.00570be3
add esp, 8
test eax, eax
je 0x429908
lea ecx, [ebp - 0x1230]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429855
sub ecx, edx
lea eax, [ebp - 0x1230]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x124c]
call fcn.00403bb0
mov eax, dword [ebp - 0x124c]
push 0x3d
mov eax, dword [eax - 0xc]
mov byte [ebp + eax*2 - 0x1232], 0
lea eax, [ebp - 0x1230]
push eax
call fcn.00570b1c
mov esi, eax
add esp, 8
test esi, esi
je 0x429908
mov eax, dword [ebp - 0x1294]
xorps xmm0, xmm0
add esi, 2
mov dword [ebp - 0x1288], 1
mov edx, 0xa
mov ecx, eax
sub esi, eax
movq qword [eax], xmm0
mov word [eax + 8], 0
nop dword [eax + eax]
lea eax, [edx + 0x7ffffff4]
test eax, eax
je 0x42981e
movzx eax, word [ecx + esi]
test ax, ax
je 0x42981e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4298d0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
jmp 0x429908
or edi, 0xffffffff
mov eax, dword [ebp - 0x134c]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x1340], 1
je 0x429230
mov byte [ebp - 4], 1
mov esi, 1
mov edx, dword [ebp - 0x124c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x429943
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x134c]
call fcn.00429fa0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x429996
lea ecx, [ebp - 0x134c]
call fcn.00429fa0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x124c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x429994
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
mov edx, dword [ebp - 0x1234]
cmp edx, 0x10
jb 0x4299cc
mov ecx, dword [ebp - 0x1248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4299c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429a00
push edx
push ecx
call fcn.0056deb6
add esp, 8
lea ecx, [ebp - 0x134c]
call fcn.00429a10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 0x18
push 0x80004005
call fcn.004013a0
call fcn.00574908
int3