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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4dad16
push eax
mov eax, 0x4bfc
mov dword fs:[0], esp
call fcn.004d4ce0
push ebx
push ebp
push esi
push edi
xor esi, esi
mov ecx, 0x412
xor eax, eax
lea edi, [esp + 0xa48]
mov dword [esp + 0x3954], esi
mov dword [esp + 0xa44], esi
rep stosd dword es:[edi], eax
mov ecx, 0x412
lea edi, [esp + 0x1a90]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x2ad8]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x2ce0]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x2ee8]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x32f8]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x30f0]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x3718]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x3818]
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x3500]
rep stosd dword es:[edi], eax
or ebp, 0xffffffff
mov ebx, 1
mov ecx, 0x1e
lea edi, [esp + 0x395c]
mov dword [esp + 0x3708], esi
mov dword [esp + 0x3930], esi
mov dword [esp + 0x3714], esi
mov dword [esp + 0x3918], esi
mov dword [esp + 0x391c], ebp
mov dword [esp + 0x3920], ebp
mov dword [esp + 0x3924], ebp
mov dword [esp + 0x3928], ebp
mov dword [esp + 0x370c], esi
mov dword [esp + 0x3948], ebx
mov dword [esp + 0x3934], ebp
mov dword [esp + 0x3938], esi
mov dword [esp + 0x393c], esi
mov dword [esp + 0x3940], esi
mov dword [esp + 0x3944], esi
mov dword [esp + 0x394c], ebx
mov dword [esp + 0x3950], ebx
mov dword [esp + 0x3710], esi
mov dword [esp + 0x39d4], esi
mov dword [esp + 0x392c], esi
mov dword [esp + 0x39d8], 0x2fb8
mov dword [esp + 0x3958], esi
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0x80004005
mov dword [esp + 0x14], esi
mov dword [esp + 0x39dc], esi
mov dword [esp + 0x39e0], ebp
mov dword [esp + 0x39e4], ebp
mov dword [esp + 0x39e8], ebp
mov dword [esp + 0x39ec], ebp
mov dword [esp + 0x39f0], ebp
mov dword [esp + 0x39f4], ebp
mov dword [esp + 0x39f8], ebp
mov eax, dword [esp + 0x4c1c]
sub eax, esi
je 0x480188
dec eax
jne 0x4805d2
mov eax, dword [esp + 0x4c20]
cmp eax, esi
jne 0x47ff37
mov ax, word [0x500df0]
mov edx, dword [esp + 0x4c24]
mov word [esp + 0x1c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
rep stosd dword es:[edi], eax
push esi
lea ecx, [esp + 0x20]
push 0x103
push ecx
push edx
mov ecx, 0x71c2c4
mov dword [esp + 0x20], 2
stosw word es:[edi], ax
call fcn.00478f80
test eax, eax
je 0x4805d2
mov eax, dword [esp + 0x4c28]
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x14], ebx
push ecx
jmp 0x480206
cmp eax, ebx
jne 0x4805d2
mov dx, word [0x500df0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], dx
mov word [esp + 0x42c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42e]
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x4c28]
lea edx, [esp + 0x430]
push 0x103
push edx
push eax
mov ecx, 0x71c2c4
call fcn.00478f80
test eax, eax
jne 0x47ffb0
mov edx, dword [0x73ff28]
lea ecx, [esp + 0x1c]
push 0x104
push ecx
push 0x14b
push edx
jmp 0x47ffe6
mov eax, dword [esp + 0x4c28]
lea ecx, [esp + 0x42c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
push 0x104
jge 0x48014b
mov eax, dword [0x73ff28]
lea edx, [esp + 0x20]
push edx
push 0x14c
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
mov ecx, dword [esp + 0x4c2c]
push ecx
mov ecx, 0x71b3ac
call fcn.004242d0
mov ebx, eax
cmp ebx, esi
je 0x4800d2
cmp dword [ebx + 0x2ed4], 2
jne 0x48007a
mov dx, word [0x500df0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x226]
mov word [esp + 0x224], dx
push 0x104
rep stosd dword es:[edi], eax
mov ecx, dword [0x73ff28]
stosw word es:[edi], ax
lea eax, [esp + 0x228]
push eax
push 0x14d
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [0x6f287c]
push 0x40
push 0xf
call fcn.004afb70
add esp, 4
lea edx, [esp + 0x228]
push eax
push edx
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x4805d6
mov ax, word [0x500df0]
mov ecx, 0x81
mov word [esp + 0x224], ax
xor eax, eax
lea edi, [esp + 0x226]
lea edx, [esp + 0x2ad8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2ce0]
stosw word es:[edi], ax
push ecx
lea eax, [esp + 0x228]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push ebx
mov ecx, 0x71b3ac
call fcn.00424330
lea ecx, [esp + 0x39fc]
call fcn.00410330
mov edi, 1
lea ecx, [esp + 0x39fc]
push edi
push edi
mov dword [esp + 0x4c1c], edi
call fcn.004103c0
lea edx, [esp + 0x1c]
push esi
push edx
lea ecx, [esp + 0x3a04]
call fcn.00410350
mov eax, dword [0x6f287c]
lea ecx, [esp + 0x39fc]
push eax
call fcn.004103e0
cmp eax, edi
jne 0x48012f
mov dword [esp + 0x14], edi
mov dword [esp + 0xa44], 3
lea ecx, [esp + 0x39fc]
mov dword [esp + 0x10], esi
mov dword [esp + 0x4c14], ebp
call fcn.004a21b0
jmp 0x480472
mov ecx, dword [0x73ff28]
lea eax, [esp + 0x20]
push eax
push 0x14a
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [0x6f287c]
push 0x40
push 0xf
call fcn.004afb70
add esp, 4
lea edx, [esp + 0x20]
push eax
push edx
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x4805d6
call fcn.004c61a0
mov edx, eax
cmp edx, esi
mov dword [esp + 0x18], edx
je 0x4805d2
mov eax, dword [esp + 0x4c20]
cmp eax, esi
jne 0x480220
mov ax, word [0x500df0]
mov ecx, 0x81
mov word [esp + 0x224], ax
xor eax, eax
lea edi, [esp + 0x226]
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x4c28]
lea ecx, [esp + 0x228]
push ecx
push eax
mov ecx, edx
mov dword [esp + 0x1c], 2
call fcn.004c6260
test eax, eax
je 0x4805d2
mov ecx, dword [esp + 0x4c28]
lea edx, [esp + 0x224]
push ecx
mov dword [esp + 0x14], ebx
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jl 0x4805d2
mov dword [esp + 0x10], esi
jmp 0x4805d2
cmp eax, ebx
jne 0x4805d2
mov dx, word [0x500df0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x226]
mov word [esp + 0x224], dx
mov word [esp + 0x1c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
push 0x103
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x4c28]
mov dword [esp + 0x14], ebx
stosw word es:[edi], ax
lea eax, [esp + 0x228]
push eax
push ecx
mov ecx, dword [esp + 0x24]
call fcn.004c6260
test eax, eax
jne 0x48029e
mov eax, dword [0x73ff28]
lea edx, [esp + 0x1c]
push 0x104
push edx
push 0x144
mov dword [esp + 0x1c], esi
push eax
jmp 0x4802d5
mov ecx, dword [esp + 0x4c28]
lea edx, [esp + 0x224]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jge 0x480440
mov ecx, dword [0x73ff28]
lea eax, [esp + 0x1c]
push 0x104
push eax
push 0x145
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
mov edx, dword [esp + 0x4c2c]
mov ecx, 0x71b3ac
push edx
call fcn.004242d0
mov ebx, eax
cmp ebx, esi
je 0x4803c1
cmp dword [ebx + 0x2ed4], 2
jne 0x480368
mov ax, word [0x500df0]
mov edx, dword [0x73ff28]
mov word [esp + 0x42c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42e]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x42c]
push 0x104
push ecx
push 0x149
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [0x6f287c]
push 0x40
push 0xf
call fcn.004afb70
add esp, 4
push eax
lea eax, [esp + 0x434]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x4805d6
mov cx, word [0x500df0]
xor eax, eax
mov word [esp + 0x42c], cx
mov ecx, 0x81
lea edi, [esp + 0x42e]
lea edx, [esp + 0x2ce0]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x2ad8]
push edx
lea ecx, [esp + 0x430]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push ebx
mov ecx, 0x71b3ac
call fcn.00424330
lea ecx, [esp + 0x39fc]
call fcn.00410330
push 1
push 1
lea ecx, [esp + 0x3a04]
mov dword [esp + 0x4c1c], esi
call fcn.004103c0
lea eax, [esp + 0x1c]
push esi
push eax
lea ecx, [esp + 0x3a04]
call fcn.00410350
mov eax, dword [0x6f287c]
lea ecx, [esp + 0x39fc]
push eax
call fcn.004103e0
cmp eax, 1
jne 0x480420
mov dword [esp + 0x14], eax
xor edi, edi
mov dword [esp + 0xa44], 2
jmp 0x480424
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x39fc]
mov dword [esp + 0x4c14], ebp
call fcn.004a21b0
cmp edi, esi
je 0x48046e
mov ebx, 1
mov ecx, dword [esp + 0x4c24]
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.004c63a0
mov edx, dword [0x6f287c]
push 0x1018
push 0x2005
push 0x1400
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esp + 0x10], esi
cmp dword [esp + 0x14], esi
je 0x4805d2
mov eax, dword [esp + 0x4c2c]
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
push 0x4ed128
lea ecx, [esp + 0xa50]
push 0x823
push ecx
call ebx
mov edx, dword [esp + 0x4c34]
add esp, 0x10
lea eax, [esp + 0x2ce0]
push edx
push str._s.zip
push 0x103
push eax
call ebx
mov eax, dword [0x73eec4]
add esp, 0x10
cmp eax, esi
je 0x480514
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x83e]
mov word [esp + 0x83c], si
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x83c]
push ecx
push 0x103
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x83c]
lea eax, [esp + 0x2ad8]
push edx
push str._sTheWorldUpdate_
push 0x103
push eax
call ebx
jmp 0x480532
mov edx, dword [0x73ff2c]
push str.Update_
lea ecx, [esp + 0x2adc]
push 0x103
push ecx
push edx
call fcn.004a8e10
mov eax, dword [esp + 0x4c34]
add esp, 0x10
lea ecx, [esp + 0x2ee8]
push eax
push 0x4ed128
push 0x103
push ecx
call ebx
mov edx, dword [esp + 0x4c38]
add esp, 0x10
lea eax, [esp + 0x32f8]
push edx
push 0x4ed128
push 0x103
push eax
call ebx
mov cx, word [0x500df0]
xor eax, eax
mov word [esp + 0x644], cx
mov ecx, 0x81
lea edi, [esp + 0x646]
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x2ce0]
lea eax, [esp + 0x2ad8]
push edx
lea ecx, [esp + 0x638]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x634]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0xa44]
mov ecx, 0x71b3ac
push eax
call fcn.0041a9c0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c0c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c08
ret 0x14