Function at 0x428700
Capabilities:
Create thread
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fb9b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0
mov ebx, dword [eax + 0x23a8]
mov esi, dword [ebx]
cmp esi, ebx
je 0x428795
cmp dword [ebp + 0x20], 8
mov edi, dword [esi + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], edi
jae 0x428756
lea eax, [ebp + 0xc]
lea ecx, [edi + 0x100]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x428786
test dx, dx
je 0x428782
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x428786
add eax, 4
add ecx, 4
test dx, dx
jne 0x428760
xor eax, eax
jmp 0x42878b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4287d0
mov esi, dword [esi]
cmp esi, ebx
jne 0x428744
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov ecx, dword [ebp - 0x54]
call fcn.0042a270
cmp dword [ebp + 0x20], 8
jb 0x4287b2
mov ecx, dword [ebp + 0xc]
push ecx
call esi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret 0x20
push str.downloadfilepath
lea esi, [edi + 0x100]
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.004674a0
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x4287f8
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x54]
push edi
call fcn.0042b040
xor ecx, ecx
mov ebx, 2
mov eax, 0x41
mov edx, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00497652
add esp, 4
push esi
push 0x4ab4fc
push 0x41
push eax
mov dword [ebp - 0x58], eax
call dword [sym.imp.MSVCR100.dll_swprintf_s]
mov eax, dword [ebp - 0x50]
push 0
push str.uninstallgame
push eax
call fcn.00477930
add esp, 0x1c
lea ecx, [ebp - 0x49]
push ecx
lea edx, [ebp - 0x49]
push edx
lea ecx, [ebp - 0x84]
call fcn.0043de00
mov byte [ebp - 4], bl
push ebx
xor eax, eax
push 0x4b1b60
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.004027c0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call fcn.0043d6b0
mov edx, esi
lea ecx, [edx + 2]
lea ecx, [ecx]
mov di, word [edx]
add edx, ebx
test di, di
jne 0x4288a0
sub edx, ecx
sar edx, 1
push edx
push esi
mov ecx, eax
call fcn.004027c0
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x4288cd
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [ebp - 0x50]
add esi, 0x200
xor edi, edi
cmp esi, edi
je 0x428942
push 5
xor eax, eax
push 0x4b1b68
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.004027c0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.0043d6b0
mov edx, esi
lea ecx, [edx + 2]
mov di, word [edx]
add edx, ebx
test di, di
jne 0x428913
sub edx, ecx
sar edx, 1
push edx
push esi
mov ecx, eax
call fcn.004027c0
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x428940
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edi, edi
mov esi, dword [ebp - 0x50]
add esi, 0x180
cmp esi, edi
je 0x4289b5
push 8
xor eax, eax
push 0x4b1b9c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.004027c0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 5
call fcn.0043d6b0
mov edx, esi
lea ecx, [edx + 2]
mov di, word [edx]
add edx, ebx
test di, di
jne 0x428986
sub edx, ecx
sar edx, 1
push edx
push esi
mov ecx, eax
call fcn.004027c0
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 8
jb 0x4289b3
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edi, edi
push 0xe
xor eax, eax
push str.uninstall_game
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
call fcn.004027c0
push edi
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov byte [ebp - 4], 6
call fcn.004807b0
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov ebx, 8
add esp, 0xc
cmp dword [ebp - 0x18], ebx
jb 0x428a05
mov eax, dword [ebp - 0x2c]
push eax
call esi
add esp, 4
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x88]
push ecx
push edi
push edx
push fcn.00479720
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
jne 0x428a64
mov eax, dword [ebp - 0x74]
cmp eax, edi
je 0x428a2f
push eax
call esi
add esp, 4
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call fcn.0043e8c0
mov eax, dword [ebp - 0x80]
push eax
call esi
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x34], ebx
jb 0x42879b
mov ecx, dword [ebp - 0x48]
push ecx
call esi
add esp, 4
jmp 0x42879b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x74]
cmp eax, edi
je 0x428a78
push eax
call esi
add esp, 4
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call fcn.0043e8c0
mov edx, dword [ebp - 0x80]
push edx
call esi
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x34], ebx
jb 0x42879b
mov eax, dword [ebp - 0x48]
push eax
call esi
add esp, 4
jmp 0x42879b