Function at 0x42eb70
Capabilities:
Delete file
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0bfd
mov eax, dword fs:[0]
push eax
mov eax, 0x1100
call fcn.00497d20
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x1100], esi
mov dword [ebp - 0x1108], edi
test edi, edi
jne 0x42ebde
push 0x4ab248
push str.pGameID__NULL.
push 0x1f2d
push str.CMainViewWnd::UnpackPro
push str.sourceMainView.cpp
push 4
call fcn.0047d210
add esp, 0x18
jmp 0x42fb6f
mov ebx, dword [esi + 0x2690]
test ebx, ebx
je 0x42ec8c
mov dword [ebx + 0x110], 1
call fcn.0044d2e0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1104], esp
xor ebx, ebx
push ebx
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push 0x4ab248
mov word [ecx], ax
call fcn.004027c0
sub esp, 0x1c
mov dword [ebp - 4], ebx
mov ecx, esp
mov dword [ebp - 0x10fc], esp
push ebx
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push 0x4ab248
mov word [ecx], dx
call fcn.004027c0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10f8], esp
mov byte [ebp - 4], 1
push ebx
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
push 0x4ab248
mov word [ecx], ax
call fcn.004027c0
fld dword [ebp + 8]
push ecx
mov dword [ebp - 4], 0xffffffff
fstp dword [esp]
mov ecx, dword [esi + 0x2690]
call fcn.0044cc60
cmp dword [esi + 0x2690], 0
jne 0x42ee6f
fld dword [ebp + 8]
fld qword [0x4ba3e8]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x42ee6f
mov eax, edi
mov dword [ebp - 0x101c], 0xf
mov dword [ebp - 0x1020], 0
mov byte [ebp - 0x1030], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42ecd0
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x1030]
call fcn.00403870
fld dword [ebp + 8]
mov dword [ebp - 4], 2
call fcn.00498c20
mov ebx, eax
mov eax, 0x66666667
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
add ecx, ecx
mov edx, ebx
sub edx, ecx
mov dword [ebp - 0x1104], ebx
jne 0x42ed68
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x42ed2f
xor eax, eax
jmp 0x42ed43
lea eax, [esi + esi]
call fcn.00497dd0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00403550
push ebx
push eax
push str.id:_s__progress:_d__
push 0x4b48b4
push 0x1f43
push str.CMainViewWnd::UnpackPro
push str.sourceMainView.cpp
push 2
call fcn.0047d210
add esp, 0x20
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
call ebx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x42ed80
xor eax, eax
jmp 0x42ed94
lea eax, [esi + esi]
call fcn.00497dd0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00403550
push str.cancelflag
push eax
call fcn.00467230
add esp, 8
cmp eax, 1
jne 0x42ee01
push edi
call ebx
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x42edb9
xor eax, eax
jmp 0x42edcd
lea eax, [esi + esi]
call fcn.00497dd0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00403550
push eax
push 0x4ab4fc
push str._u7b
push 0x1f4b
push str.CMainViewWnd::UnpackPro
push str.sourceMainView.cpp
push 2
call fcn.0047d210
add esp, 0x1c
lea ecx, [ebp - 0x1030]
call fcn.00403800
jmp 0x42fb6f
cmp dword [ebp - 0x101c], 0x10
jb 0x42ee18
mov ebx, dword [ebp - 0x1030]
test ebx, ebx
jne 0x42ee1e
xor eax, eax
jmp 0x42ee48
lea ebx, [ebp - 0x1030]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x42ee34
xor eax, eax
jmp 0x42ee48
lea eax, [esi + esi]
call fcn.00497dd0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.00403550
mov ecx, dword [ebp - 0x1104]
mov edx, dword [ebp - 0x1100]
push ecx
push edx
mov ecx, eax
call fcn.00437c70
lea ecx, [ebp - 0x1030]
mov dword [ebp - 4], 0xffffffff
call fcn.00403800
fld dword [ebp + 8]
fld qword [0x4ba3e8]
fucompp
fnstsw ax
test ah, 0x44
jp 0x42fb6f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x42ee9b
xor eax, eax
jmp 0x42eeaf
lea eax, [esi + esi]
call fcn.00497dd0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00403550
fld dword [ebp + 8]
sub esp, 8
fstp qword [esp]
push eax
push str._s:_.2f_
push 0x4b48e4
push 0x1f54
push str.CMainViewWnd::UnpackPro
push str.sourceMainView.cpp
push 2
call fcn.0047d210
mov eax, dword [ebp - 0x1100]
mov eax, dword [eax + 0x23a8]
mov ecx, dword [eax]
add esp, 0x24
mov dword [ebp - 0x1104], ecx
cmp ecx, eax
je 0x42fb6f
mov ecx, dword [ebp - 0x1104]
mov edx, dword [ebp - 0x1108]
mov esi, dword [ecx + 8]
push edx
mov dword [ebp - 0x10fc], esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebx, [eax + 1]
cmp ebx, 0x3fffffff
jg 0x42ef4e
lea eax, [ebx + ebx]
call fcn.00497dd0
mov edi, esp
test edi, edi
je 0x42ef4e
mov ecx, dword [ebp - 0x1108]
push ebx
push edi
push 0xffffffffffffffff
xor eax, eax
push ecx
push eax
push 3
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, edi
jmp 0x42ef50
xor eax, eax
push str.cancelflag
push eax
call fcn.00467230
add esp, 8
cmp eax, 1
je 0x42faf2
mov edx, dword [ebp - 0x1108]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jg 0x42efae
lea eax, [edi + edi]
call fcn.00497dd0
mov ebx, esp
test ebx, ebx
je 0x42efae
mov ecx, dword [ebp - 0x1108]
push edi
push ebx
push 0xffffffffffffffff
xor eax, eax
push ecx
push eax
push 3
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, ebx
jmp 0x42efb0
xor eax, eax
lea edi, [esi + 0x100]
mov dword [ebp - 0x10f8], edi
mov ecx, edi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42efe6
test dx, dx
je 0x42efe2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42efe6
add eax, 4
add ecx, 4
test dx, dx
jne 0x42efc0
xor eax, eax
jmp 0x42efeb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42fad0
push edi
push str.gameid_s
push 0x4b4924
push 0x1f6a
push str.CMainViewWnd::UnpackPro
push str.sourceMainView.cpp
push 2
call fcn.0047d210
add esp, 0x1c
lea ecx, [esi + 0xe0ac]
mov eax, str.hfgame
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42f048
test dx, dx
je 0x42f044
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42f048
add eax, 4
add ecx, 4
test dx, dx
jne 0x42f022
xor eax, eax
jmp 0x42f04d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42f336
push 0x4ab248
push 0x4b4948
push 0x1f6d
push str.CMainViewWnd::UnpackPro
push str.sourceMainView.cpp
push 2
call fcn.0047d210
add esp, 0x18
lea edx, [esi + 0x3a00]
push edx
lea ecx, [ebp - 0x1030]
call fcn.00402480
push 1
push 0xffffffffffffffff
push 0x4acbd8
lea ecx, [ebp - 0x1030]
mov dword [ebp - 4], 3
call fcn.00408640
cmp eax, 0xffffffff
je 0x42fb3a
push eax
push 0
lea eax, [ebp - 0x1068]
push eax
lea ecx, [ebp - 0x1030]
call fcn.00408400
push eax
lea ecx, [ebp - 0x1030]
mov byte [ebp - 4], 4
call fcn.004085c0
lea ecx, [ebp - 0x1068]
mov byte [ebp - 4], 3
call fcn.004024d0
xor ecx, ecx
push 0x7fe
push ecx
lea edx, [ebp - 0x812]
push edx
mov word [ebp - 0x814], cx
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x1030]
mov edi, 8
add esp, 0xc
cmp dword [ebp - 0x101c], edi
jae 0x42f119
lea eax, [ebp - 0x1030]
mov ebx, dword [sym.imp.MSVCR100.dll_swprintf_s]
push eax
push 0x4ab4fc
lea eax, [ebp - 0x814]
push 0x400
push eax
call ebx
lea ecx, [ebp - 0x814]
push ecx
push 0x4ab4fc
push 0x4b496c
push 0x1f80
push str.CMainViewWnd::UnpackPro
push str.sourceMainView.cpp
push 2
call fcn.0047d210
add esp, 0x2c
lea edx, [ebp - 0x814]
push edx
lea ecx, [ebp - 0x1068]
call fcn.00402480
push eax
mov byte [ebp - 4], 5
call fcn.0047aad0
add esp, 4
lea ecx, [ebp - 0x1068]
mov byte [ebp - 4], 3
call fcn.004024d0
lea eax, [ebp - 0x814]
push eax
push 0x4ab4fc
push 0x4b496c
push 0x1f82
push str.CMainViewWnd::UnpackPro
push str.sourceMainView.cpp
push 2
call fcn.0047d210
add esp, 0x1c
lea ecx, [ebp - 0x814]
push ecx
lea edx, [ebp - 0x1084]
push edx
call fcn.0047c230
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1084]
cmp dword [ebp - 0x1070], edi
jae 0x42f1e3
lea ecx, [ebp - 0x1084]
push ecx
push 0x4ab4fc
lea eax, [esi + 0x3200]
push 0x400
push eax
mov dword [ebp - 0x10fc], eax
call ebx
mov eax, dword [ebp - 0x10f8]
push 2
push str.installstate
push eax
mov dword [esi + 0xd8a8], 2
call fcn.00460cd0
mov edi, dword [ebp - 0x1100]
mov ecx, dword [ebp - 0x10f8]
add esp, 0x1c
push 2
push edi
call fcn.00436ba0
lea ecx, [ebp - 0x814]
push ecx
push 0x4ab4fc
lea edx, [esi + 0x4a00]
push 0x400
push edx
call ebx
add esp, 0x10
mov ecx, 1
mov ebx, esi
mov edx, edi
call fcn.00429e90
cmp dword [edi + 0x2690], 0
je 0x42f29d
mov eax, dword [ebp - 0x10fc]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x110c], esp
push eax
call fcn.00402480
mov ecx, dword [edi + 0x2690]
push ecx
call fcn.0044e300
mov ebx, dword [edi + 0x2690]
mov dword [ebx + 0x110], 2
call fcn.0044d2e0
mov esi, dword [ebp - 0x10f8]
push str.downloadfilepath
lea edx, [ebp - 0x104c]
push esi
push edx
call fcn.004674a0
add esp, 0xc
mov bl, 7
mov byte [ebp - 4], bl
cmp dword [ebp - 0x1038], 8
mov eax, dword [ebp - 0x104c]
jae 0x42f2d2
lea eax, [ebp - 0x104c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
movzx eax, byte [edi + 0x2694]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x110c], esp
push str.gameinstallfinish
call fcn.00402480
sub esp, 0x1c
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x10fc], esp
push esi
call fcn.00402480
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.00428e70
lea ecx, [ebp - 0x104c]
call fcn.004024d0
lea ecx, [ebp - 0x1084]
call fcn.004024d0
lea ecx, [ebp - 0x1030]
jmp 0x42fac4
lea ecx, [esi + 0xe0ac]
mov eax, str.doyo
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42f367
test dx, dx
je 0x42f363
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42f367
add eax, 4
add ecx, 4
test dx, dx
jne 0x42f341
xor eax, eax
jmp 0x42f36c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42f65b
push 0x4ab248
push 0x4b498c
push 0x1f9f
push str.CMainViewWnd::UnpackPro
push str.sourceMainView.cpp
push 2
call fcn.0047d210
add esp, 0x18
lea ecx, [esi + 0x3a00]
push ecx
lea ecx, [ebp - 0x1030]
call fcn.00402480
push 1
push 0xffffffffffffffff
push 0x4acbd8
lea ecx, [ebp - 0x1030]
mov dword [ebp - 4], 9
call fcn.00408640
lea ecx, [ebp - 0x1030]
cmp eax, 0xffffffff
je 0x42fb6a
push eax
push 0
lea edx, [ebp - 0x1068]
push edx
call fcn.00408400
push eax
lea ecx, [ebp - 0x1030]
mov byte [ebp - 4], 0xa
call fcn.004085c0
lea ecx, [ebp - 0x1068]
mov byte [ebp - 4], 9
call fcn.004024d0
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x812]
push ecx
mov word [ebp - 0x814], ax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x1030]
mov edi, 8
add esp, 0xc
cmp dword [ebp - 0x101c], edi
jae 0x42f438
lea eax, [ebp - 0x1030]
mov ebx, dword [sym.imp.MSVCR100.dll_swprintf_s]
push eax
push 0x4ab4fc
lea edx, [ebp - 0x814]
push 0x400
push edx
call ebx
lea eax, [ebp - 0x814]
push eax
push 0x4ab4fc
push 0x4b49a0
push 0x1fb9
push str.CMainViewWnd::UnpackPro
push str.sourceMainView.cpp
push 2
call fcn.0047d210
add esp, 0x2c
lea ecx, [ebp - 0x814]
push ecx
lea ecx, [ebp - 0x1068]
call fcn.00402480
lea edx, [ebp - 0x1068]
push edx
mov byte [ebp - 4], 0xb
call fcn.0047ad00
add esp, 4
lea ecx, [ebp - 0x1068]
mov byte [ebp - 4], 9
call fcn.004024d0
lea eax, [ebp - 0x814]
push eax
push 0x4ab4fc
push 0x4b49b4
push 0x1fbb
push str.CMainViewWnd::UnpackPro
push str.sourceMainView.cpp
push 2
call fcn.0047d210
add esp, 0x1c
lea ecx, [ebp - 0x814]
push ecx
lea edx, [ebp - 0x104c]
push edx
call fcn.00468eb0
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x104c]
cmp dword [ebp - 0x1038], edi
jae 0x42f508
lea ecx, [ebp - 0x104c]
push ecx
push 0x4ab4fc
lea eax, [esi + 0x3200]
push 0x400
push eax
mov dword [ebp - 0x10fc], eax
call ebx
mov eax, dword [ebp - 0x10f8]
push 2
push str.installstate
push eax
mov dword [esi + 0xd8a8], 2
call fcn.00460cd0
mov edi, dword [ebp - 0x1100]
mov ecx, dword [ebp - 0x10f8]
add esp, 0x1c
push 2
push edi
call fcn.00436ba0
lea ecx, [ebp - 0x814]
push ecx
push 0x4ab4fc
lea edx, [esi + 0x4a00]
push 0x400
push edx
call ebx
add esp, 0x10
mov ecx, 1
mov ebx, esi
mov edx, edi
call fcn.00429e90
cmp dword [edi + 0x2690], 0
je 0x42f5c2
mov eax, dword [ebp - 0x10fc]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x110c], esp
push eax
call fcn.00402480
mov ecx, dword [edi + 0x2690]
push ecx
call fcn.0044e300
mov ebx, dword [edi + 0x2690]
mov dword [ebx + 0x110], 2
call fcn.0044d2e0
mov esi, dword [ebp - 0x10f8]
push str.downloadfilepath
lea edx, [ebp - 0x1084]
push esi
push edx
call fcn.004674a0
add esp, 0xc
mov bl, 0xd
mov byte [ebp - 4], bl
cmp dword [ebp - 0x1070], 8
mov eax, dword [ebp - 0x1084]
jae 0x42f5f7
lea eax, [ebp - 0x1084]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
movzx eax, byte [edi + 0x2694]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x110c], esp
push str.gameinstallfinish
call fcn.00402480
sub esp, 0x1c
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x10fc], esp
push esi
call fcn.00402480
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.00428e70
lea ecx, [ebp - 0x1084]
call fcn.004024d0
lea ecx, [ebp - 0x104c]
call fcn.004024d0
lea ecx, [ebp - 0x1030]
jmp 0x42fac4
lea ecx, [esi + 0xe0c0]
mov eax, str.setup
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42f68c
test dx, dx
je 0x42f688
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42f68c
add eax, 4
add ecx, 4
test dx, dx
jne 0x42f666
xor eax, eax
jmp 0x42f691
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42f876
push 0x4ab248
push 0x4b49d4
push 0x1fde
push str.CMainViewWnd::UnpackPro
push str.sourceMainView.cpp
push 2
call fcn.0047d210
add esp, 0x18
lea edi, [esi + 0x3a00]
push edi
lea ecx, [ebp - 0x1030]
call fcn.00402480
push 1
push 0xffffffffffffffff
push 0x4acbd8
lea ecx, [ebp - 0x1030]
mov dword [ebp - 4], 0xf
call fcn.00408640
cmp eax, 0xffffffff
je 0x42fb64
push eax
push 0
lea ecx, [ebp - 0x1068]
push ecx
lea ecx, [ebp - 0x1030]
call fcn.00408400
push eax
lea ecx, [ebp - 0x1030]
mov byte [ebp - 4], 0x10
call fcn.004085c0
lea ecx, [ebp - 0x1068]
mov byte [ebp - 4], 0xf
call fcn.004024d0
xor edx, edx
push 0x7fe
push edx
lea eax, [ebp - 0x812]
push eax
mov word [ebp - 0x814], dx
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x1030]
add esp, 0xc
cmp dword [ebp - 0x101c], 8
jae 0x42f759
lea eax, [ebp - 0x1030]
mov ebx, dword [sym.imp.MSVCR100.dll_swprintf_s]
push eax
push 0x4ab4fc
lea ecx, [ebp - 0x814]
push 0x400
push ecx
call ebx
lea edx, [esi + 0x4200]
push edx
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x104c]
push ecx
call fcn.00462950
add esp, 0x1c
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x1038], 8
mov eax, dword [ebp - 0x104c]
jae 0x42f7a9
lea eax, [ebp - 0x104c]
push eax
push 0x4ab4fc
push 0x400
push edi
call ebx
mov edi, dword [ebp - 0x10f8]
push 3
push str.installstate
push edi
mov dword [esi + 0xd8a8], 3
call fcn.00460cd0
mov edx, dword [ebp - 0x1100]
add esp, 0x1c
push 3
push edx
mov ecx, edi
call fcn.00436ba0
cmp dword [ebp - 0x1038], 8
mov eax, dword [ebp - 0x104c]
jae 0x42f7fc
lea eax, [ebp - 0x104c]
push 0
push 0
push eax
call fcn.0045b5d0
add esp, 0xc
mov eax, 0xe958
call fcn.00497d20
mov edi, esp
mov ecx, 0x3a56
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x1100]
mov ebx, esi
call fcn.00431bc0
mov ebx, dword [esi + 0x2690]
test ebx, ebx
je 0x42f84e
mov eax, dword [ebx + 4]
push 0
push eax
mov dword [ebx + 0x110], 3
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0044d2e0
mov ebx, dword [ebp - 0x10fc]
mov ecx, 1
mov edx, esi
call fcn.00429e90
lea ecx, [ebp - 0x104c]
call fcn.004024d0
lea ecx, [ebp - 0x1030]
jmp 0x42fac4
lea ecx, [esi + 0xe0ac]
mov eax, str.green
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42f8a7
test dx, dx
je 0x42f8a3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42f8a7
add eax, 4
add ecx, 4
test dx, dx
jne 0x42f881
xor eax, eax
jmp 0x42f8ac
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42fad0
lea ecx, [esi + 0x3a00]
push ecx
lea ecx, [ebp - 0x10a0]
call fcn.00402480
push 1
push 0xffffffffffffffff
mov ebx, 0x12
push 0x4acbd8
lea ecx, [ebp - 0x10a0]
mov dword [ebp - 4], ebx
call fcn.00408640
lea ecx, [ebp - 0x10a0]
cmp eax, 0xffffffff
je 0x42fb6a
push eax
push 0
lea edx, [ebp - 0x10f4]
push edx
call fcn.00408400
push eax
lea ecx, [ebp - 0x10a0]
mov byte [ebp - 4], 0x13
call fcn.004085c0
lea ecx, [ebp - 0x10f4]
mov byte [ebp - 4], bl
call fcn.004024d0
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x1012]
push ecx
mov word [ebp - 0x1014], ax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x10a0]
mov edi, 8
add esp, 0xc
cmp dword [ebp - 0x108c], edi
jae 0x42f955
lea eax, [ebp - 0x10a0]
mov ebx, dword [sym.imp.MSVCR100.dll_swprintf_s]
push eax
push 0x4ab4fc
lea edx, [ebp - 0x1014]
push 0x400
push edx
call ebx
lea eax, [esi + 0x4200]
push eax
lea ecx, [ebp - 0x1014]
push ecx
lea edx, [ebp - 0x10bc]
push edx
call fcn.00462950
add esp, 0x1c
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x10bc]
cmp dword [ebp - 0x10a8], edi
jae 0x42f9a4
lea eax, [ebp - 0x10bc]
push eax
push 0x4ab4fc
lea eax, [esi + 0x3200]
push 0x400
push eax
call ebx
mov ecx, dword [ebp - 0x10f8]
push 2
push str.installstate
push ecx
mov dword [esi + 0xd8a8], 2
call fcn.00460cd0
mov edi, dword [ebp - 0x1100]
mov ecx, dword [ebp - 0x10f8]
add esp, 0x1c
push 2
push edi
call fcn.00436ba0
lea edx, [ebp - 0x1014]
push edx
push 0x4ab4fc
lea eax, [esi + 0x4a00]
push 0x400
push eax
call ebx
add esp, 0x10
mov ecx, 1
mov ebx, esi
mov edx, edi
call fcn.00429e90
mov ebx, dword [edi + 0x2690]
test ebx, ebx
je 0x42fa30
mov dword [ebx + 0x110], 2
call fcn.0044d2e0
mov esi, dword [ebp - 0x10f8]
push str.downloadfilepath
lea ecx, [ebp - 0x10d8]
push esi
push ecx
call fcn.004674a0
add esp, 0xc
mov bl, 0x15
mov byte [ebp - 4], bl
cmp dword [ebp - 0x10c4], 8
mov eax, dword [ebp - 0x10d8]
jae 0x42fa65
lea eax, [ebp - 0x10d8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
movzx edx, byte [edi + 0x2694]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x110c], esp
push str.gameinstallfinish
call fcn.00402480
sub esp, 0x1c
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x10fc], esp
push esi
call fcn.00402480
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.00428e70
lea ecx, [ebp - 0x10d8]
call fcn.004024d0
lea ecx, [ebp - 0x10bc]
call fcn.004024d0
lea ecx, [ebp - 0x10a0]
mov dword [ebp - 4], 0xffffffff
call fcn.004024d0
mov eax, dword [ebp - 0x1104]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1100]
mov dword [ebp - 0x1104], eax
cmp eax, dword [ecx + 0x23a8]
jne 0x42eef8
jmp 0x42fb6f
push 0x4ab248
push str.cancelflag__1
push 0x1f63
push str.CMainViewWnd::UnpackPro
push str.sourceMainView.cpp
push 2
call fcn.0047d210
mov eax, dword [ebp - 0x1100]
add eax, 0x2660
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x42fb28
mov eax, dword [eax]
push 0
push str.cancelflag
push eax
call fcn.00460cd0
add esp, 0xc
jmp 0x42fb6f
add esi, 0x3a00
push esi
push 0x4ab4fc
push str.b_rN0RibU_rT
push 0x1f7a
push str.CMainViewWnd::UnpackPro
push str.sourceMainView.cpp
push 4
call fcn.0047d210
add esp, 0x1c
lea ecx, [ebp - 0x1030]
call fcn.004024d0
mov eax, 1
lea esp, [ebp - 0x111c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret 4