Function at 0x478700
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4ae732
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0xf0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cc748]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x11c]
mov ebp, 0x10
cmp dword [esp + 0x130], ebp
mov dword [esp + 0x110], ebx
jae 0x47876a
lea eax, [esp + 0x11c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x478799
cmp dword [esp + 0x130], ebp
fldz
fst qword [esi]
mov dword [esi + 0x18], ebx
fstp qword [esi + 8]
jb 0x479893
mov eax, dword [esp + 0x11c]
push eax
jmp 0x47988b
lea ecx, [esp + 0x68]
call fcn.0046e5a0
push closesocket
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x144]
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x140], 1
mov byte [ecx + 4], bl
call fcn.00403af0
lea ecx, [esp + 0x8c]
call fcn.0046ec90
cmp eax, ebx
jne 0x478818
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x68]
mov byte [esp + 0x110], bl
call fcn.0046eaf0
cmp dword [esp + 0x130], ebp
jb 0x479893
mov eax, dword [esp + 0x11c]
push eax
jmp 0x47988b
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x120]
push ecx
lea ecx, [esi + 0x89bc]
call fcn.00403af0
lea ecx, [esp + 0x68]
call fcn.0046e7a0
add eax, 1
push eax
call fcn.0047d175
add esp, 4
lea ecx, [esp + 0x68]
mov ebp, eax
call fcn.0046e7a0
add eax, 1
push eax
push ebx
push ebp
call fcn.0047c770
add esp, 0xc
lea edx, [esp + 0xac]
push edx
lea ecx, [esp + 0x6c]
call fcn.0046e7a0
push eax
push ebp
lea ecx, [esp + 0x74]
call fcn.0046e630
lea ecx, [esp + 0x68]
call fcn.0046e700
mov eax, ebp
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
lea ecx, [eax + 1]
jmp 0x4788a0
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x4788a0
sub eax, ecx
push eax
push ebp
lea ecx, [esp + 0xd4]
call fcn.00403cd0
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0xec]
push ecx
mov byte [esp + 0x118], 2
call fcn.0047aae0
push ebp
mov byte [esp + 0x11c], 3
call fcn.0047cf8c
add esp, 0xc
lea ecx, [esp + 0x74]
call fcn.00451f50
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x10c]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x138], 4
mov byte [ecx + 4], bl
call fcn.00403af0
lea ecx, [esp + 0x90]
call fcn.00472160
sub esp, 0x1c
mov dword [esp + 0x3c], esp
mov ebp, esp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 1
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b2eac
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push 3
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b40cc
mov byte [esp + 0x16c], 5
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x8c], esp
push 4
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.main
mov byte [esp + 0x188], 6
mov byte [ecx + 4], bl
call fcn.00403cd0
push ebp
lea ecx, [esp + 0xe8]
mov byte [esp + 0x184], 4
call fcn.004723a0
call fcn.00478440
fstp qword [esi]
mov dword [esp + 0x38], esp
mov ebp, esp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 1
push 0x4b2eac
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x74], esp
push 4
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.mver
mov byte [esp + 0x16c], 7
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x84], esp
push 4
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.main
mov byte [esp + 0x188], 8
mov byte [ecx + 4], bl
call fcn.00403cd0
push ebp
lea ecx, [esp + 0xe8]
mov byte [esp + 0x184], 4
call fcn.004723a0
call fcn.00478440
fstp qword [esi + 8]
mov dword [esp + 0x38], esp
mov ebp, esp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push 1
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b2eac
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x74], esp
push 0xc
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.restart_mver
mov byte [esp + 0x16c], 9
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x84], esp
push 4
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.main
mov byte [esp + 0x188], 0xa
mov byte [ecx + 4], bl
call fcn.00403cd0
push ebp
lea ecx, [esp + 0xe8]
mov byte [esp + 0x184], 4
call fcn.004723a0
call fcn.00478440
fstp qword [esi + 0x10]
mov ecx, esp
mov dword [esp + 0x38], esp
push 3
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b40b0
mov byte [ecx + 4], bl
call fcn.00403cd0
mov byte [esp + 0x12c], 0xb
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xa
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.displayver
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push 4
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.main
mov byte [esp + 0x16c], 0xc
mov byte [ecx + 4], bl
call fcn.00403cd0
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x168], 4
call fcn.004723a0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x89a0]
mov byte [esp + 0x11c], 0xd
call fcn.00403af0
mov ebp, 0x10
cmp dword [esp + 0x48], ebp
mov byte [esp + 0x110], 4
jb 0x478b92
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0047b87c
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 1
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b2eac
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xa
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.complength
mov byte [esp + 0x150], 0xe
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push 4
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.main
mov byte [esp + 0x16c], 0xf
mov byte [ecx + 4], bl
call fcn.00403cd0
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x168], 4
call fcn.004723a0
cmp dword [eax + 0x18], ebp
jb 0x478c22
mov eax, dword [eax + 4]
jmp 0x478c25
add eax, 4
push eax
call fcn.0047c73b
add esp, 4
cmp dword [esp + 0x48], ebp
mov dword [esi + 0x1c], eax
jb 0x478c44
mov eax, dword [esp + 0x34]
push eax
call fcn.0047b87c
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 1
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b1cb0
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 6
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.mcount
mov byte [esp + 0x150], 0x10
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push 4
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.main
mov byte [esp + 0x16c], 0x11
mov byte [ecx + 4], bl
call fcn.00403cd0
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x168], 4
call fcn.004723a0
cmp dword [eax + 0x18], ebp
jb 0x478cd4
mov eax, dword [eax + 4]
jmp 0x478cd7
add eax, 4
push eax
call fcn.0047c73b
add esp, 4
cmp dword [esp + 0x48], ebp
mov dword [esi + 0x18], eax
jb 0x478cf6
mov edx, dword [esp + 0x34]
push edx
call fcn.0047b87c
add esp, 4
xor ebp, ebp
cmp dword [esi + 0x18], ebx
jle 0x4797f8
mov eax, dword [esp + 0x70]
add eax, 0x4c
mov dword [esp + 0x14], eax
lea esp, [esp]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 1
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b2eac
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 2
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b408c
mov byte [esp + 0x150], 0x12
mov byte [ecx + 4], bl
call fcn.00403cd0
mov ecx, ebp
lea esi, [esp + 0x68]
mov byte [esp + 0x148], 0x13
call fcn.00478550
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x7c], esp
push eax
push 0x4b4088
push ecx
mov byte [esp + 0x170], 0x14
call fcn.0041cec0
add esp, 0xc
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x168], 0x15
call fcn.004723a0
cmp dword [eax + 0x18], 0x10
jb 0x478dae
mov eax, dword [eax + 4]
jmp 0x478db1
add eax, 4
push eax
call fcn.0047c73b
mov ecx, dword [esp + 0x18]
mov esi, 0x10
add esp, 4
cmp dword [esp + 0x64], esi
mov dword [ecx - 0x2c], eax
jb 0x478dd9
mov edx, dword [esp + 0x50]
push edx
call fcn.0047b87c
add esp, 4
cmp dword [esp + 0x48], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov byte [esp + 0x110], 4
jb 0x478e00
mov eax, dword [esp + 0x34]
push eax
call fcn.0047b87c
add esp, 4
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x44], esp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push 1
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b2eac
mov byte [ecx + 4], bl
mov dword [esp + 0x60], eax
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 3
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b40cc
mov byte [esp + 0x16c], 0x16
mov byte [ecx + 4], bl
call fcn.00403cd0
mov ecx, ebp
lea esi, [esp + 0x84]
mov byte [esp + 0x164], 0x17
call fcn.00478550
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push eax
push 0x4b4088
push ecx
mov byte [esp + 0x18c], 0x18
call fcn.0041cec0
add esp, 0xc
mov eax, dword [esp + 0x90]
push eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x184], 0x19
call fcn.004723a0
call fcn.00478440
mov edx, dword [esp + 0x30]
add esp, 0x1c
fstp qword [edx - 0x24]
cmp dword [esp + 0x48], 0x10
mov byte [esp + 0x110], 4
jb 0x478ed1
mov eax, dword [esp + 0x34]
push eax
call fcn.0047b87c
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 1
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b2eac
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push 4
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.type
mov byte [esp + 0x150], 0x1a
mov byte [ecx + 4], bl
call fcn.00403cd0
mov ecx, ebp
lea esi, [esp + 0x68]
mov byte [esp + 0x148], 0x1b
call fcn.00478550
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
push 0x4b4088
push ecx
mov byte [esp + 0x170], 0x1c
call fcn.0041cec0
add esp, 0xc
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x168], 0x1d
call fcn.004723a0
cmp dword [eax + 0x18], 0x10
jb 0x478f6f
mov eax, dword [eax + 4]
jmp 0x478f72
add eax, 4
push eax
call fcn.0047c73b
mov ecx, dword [esp + 0x18]
mov esi, 0x10
add esp, 4
cmp dword [esp + 0x64], esi
mov dword [ecx - 0x28], eax
jb 0x478f9a
mov edx, dword [esp + 0x50]
push edx
call fcn.0047b87c
add esp, 4
cmp dword [esp + 0x48], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov byte [esp + 0x110], 4
jb 0x478fc1
mov eax, dword [esp + 0x34]
push eax
call fcn.0047b87c
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b0c8c
mov byte [ecx + 4], bl
call fcn.00403cd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push 5
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.fname
mov byte [esp + 0x150], 0x1e
mov byte [ecx + 4], bl
call fcn.00403cd0
mov ecx, ebp
lea esi, [esp + 0x68]
mov byte [esp + 0x148], 0x1f
call fcn.00478550
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
push 0x4b4088
push ecx
mov byte [esp + 0x170], 0x20
call fcn.0041cec0
add esp, 0xc
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x168], 0x21
call fcn.004723a0
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
add ecx, 0xffffffe4
push eax
mov byte [esp + 0x11c], 0x22
call fcn.00403af0
cmp dword [esp + 0x64], 0x10
jb 0x47907f
mov eax, dword [esp + 0x50]
push eax
call fcn.0047b87c
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov byte [esp + 0x110], 4
jb 0x4790a7
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0047b87c
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x4b0c8c
call fcn.00403e70
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push str.name
mov byte [esp + 0x14c], 0x23
call fcn.00403e70
mov ecx, ebp
lea esi, [esp + 0x68]
mov byte [esp + 0x148], 0x24
call fcn.00478550
sub esp, 0x1c
mov edx, esp
mov dword [esp + 0x70], esp
push eax
push 0x4b4088
push edx
mov byte [esp + 0x170], 0x25
call fcn.0041cec0
add esp, 0xc
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x168], 0x26
call fcn.004723a0
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
push eax
mov byte [esp + 0x11c], 0x27
call fcn.00403af0
cmp dword [esp + 0x64], 0x10
jb 0x47914d
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0047b87c
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov byte [esp + 0x110], 4
jb 0x479175
mov edx, dword [esp + 0x34]
push edx
call fcn.0047b87c
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x4b0c8c
call fcn.00403e70
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push 0x4b2f7c
mov byte [esp + 0x14c], 0x28
call fcn.00403e70
mov ecx, ebp
lea esi, [esp + 0x68]
mov byte [esp + 0x148], 0x29
call fcn.00478550
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
push 0x4b4088
push ecx
mov byte [esp + 0x170], 0x2a
call fcn.0041cec0
add esp, 0xc
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x168], 0x2b
call fcn.004723a0
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
push eax
add ecx, 0x1c
mov byte [esp + 0x11c], 0x2c
call fcn.00403af0
cmp dword [esp + 0x64], 0x10
jb 0x47921e
mov eax, dword [esp + 0x50]
push eax
call fcn.0047b87c
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov byte [esp + 0x110], 4
jb 0x479246
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0047b87c
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x4b0c8c
call fcn.00403e70
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push str.path
mov byte [esp + 0x14c], 0x2d
call fcn.00403e70
mov ecx, ebp
lea esi, [esp + 0x68]
mov byte [esp + 0x148], 0x2e
call fcn.00478550
sub esp, 0x1c
mov edx, esp
mov dword [esp + 0x70], esp
push eax
push 0x4b4088
push edx
mov byte [esp + 0x170], 0x2f
call fcn.0041cec0
add esp, 0xc
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x168], 0x30
call fcn.004723a0
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
add ecx, 0x38
push eax
mov byte [esp + 0x11c], 0x31
call fcn.00403af0
cmp dword [esp + 0x64], 0x10
jb 0x4792ef
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0047b87c
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov byte [esp + 0x110], 4
jb 0x479317
mov edx, dword [esp + 0x34]
push edx
call fcn.0047b87c
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x4b2eac
call fcn.00403e70
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push str.length
mov byte [esp + 0x14c], 0x32
call fcn.00403e70
mov ecx, ebp
lea esi, [esp + 0x68]
mov byte [esp + 0x148], 0x33
call fcn.00478550
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
push 0x4b4088
push ecx
mov byte [esp + 0x170], 0x34
call fcn.0041cec0
add esp, 0xc
lea edx, [esp + 0xa0]
push edx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x168], 0x35
call fcn.004723a0
cmp dword [eax + 0x18], 0x10
jb 0x47939f
mov eax, dword [eax + 4]
jmp 0x4793a2
add eax, 4
push eax
call fcn.0047c73b
mov ecx, dword [esp + 0x18]
mov esi, 0x10
add esp, 4
cmp dword [esp + 0x64], esi
mov dword [ecx + 0x54], eax
jb 0x4793ca
mov edx, dword [esp + 0x50]
push edx
call fcn.0047b87c
add esp, 4
cmp dword [esp + 0x48], esi
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
mov byte [esp + 0x110], 4
jb 0x4793f1
mov eax, dword [esp + 0x34]
push eax
call fcn.0047b87c
add esp, 4
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x48], esp
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push 0x4b2eac
mov dword [esp + 0x5c], eax
call fcn.00403e70
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x7c], esp
push str.restart_ver
mov byte [esp + 0x168], 0x36
call fcn.00403e70
mov ecx, ebp
lea esi, [esp + 0x84]
mov byte [esp + 0x164], 0x37
call fcn.00478550
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x8c], esp
push eax
push 0x4b4088
push ecx
mov byte [esp + 0x18c], 0x38
call fcn.0041cec0
add esp, 0xc
mov eax, dword [esp + 0x90]
push eax
lea ecx, [esp + 0xe8]
mov byte [esp + 0x184], 0x39
call fcn.004723a0
call fcn.00478440
mov edx, dword [esp + 0x30]
add esp, 0x1c
fstp qword [edx + 0x5c]
cmp dword [esp + 0x48], 0x10
mov byte [esp + 0x110], 4
jb 0x4794ac
mov eax, dword [esp + 0x34]
push eax
call fcn.0047b87c
add esp, 4
lea ecx, [esp + 0x90]
push ecx
call fcn.0046ef70
or dword [esp + 0x1c], 1
push 0x4b1c18
push eax
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x120], 0x3a
call fcn.0041b600
mov esi, dword [esp + 0x24]
or dword [esp + 0x28], 2
lea ecx, [esi + 0x38]
push ecx
push eax
lea eax, [esp + 0xc8]
push eax
mov dword [esp + 0x12c], 0x3b
call fcn.0041b6c0
or dword [esp + 0x34], 4
lea ecx, [esi - 0x1c]
push ecx
push eax
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x138], 0x3c
call fcn.0041b6c0
or dword [esp + 0x40], 8
add esp, 0x28
cmp dword [eax + 0x18], 0x10
jb 0x47952e
mov eax, dword [eax + 4]
jmp 0x479531
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x479550
cmp dword [esp + 0x134], ebx
je 0x479550
cmp dword [esi - 0x28], 2
mov byte [esp + 0x27], 1
jne 0x479554
mov byte [esp + 0x27], bl
test byte [esp + 0x18], 8
je 0x479580
and dword [esp + 0x18], 0xfffffff7
cmp dword [esp + 0x64], 0x10
jb 0x479574
mov edx, dword [esp + 0x50]
push edx
call fcn.0047b87c
add esp, 4
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
test byte [esp + 0x18], 4
je 0x4795bb
and dword [esp + 0x18], 0xfffffffb
cmp dword [esp + 0xc8], 0x10
jb 0x4795a6
mov eax, dword [esp + 0xb4]
push eax
call fcn.0047b87c
add esp, 4
mov dword [esp + 0xc8], edi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
test byte [esp + 0x18], 2
je 0x4795e7
and dword [esp + 0x18], 0xfffffffd
cmp dword [esp + 0x48], 0x10
jb 0x4795db
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0047b87c
add esp, 4
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
test byte [esp + 0x18], 1
mov dword [esp + 0x110], 4
je 0x479618
and dword [esp + 0x18], 0xfffffffe
cmp dword [esp + 0xa8], 0x10
jb 0x479618
mov edx, dword [esp + 0x94]
push edx
call fcn.0047b87c
add esp, 4
cmp byte [esp + 0x27], bl
je 0x479623
fldz
fstp qword [esi - 0x24]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x4b2eac
call fcn.00403e70
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push str.isSpeciaUpdate
mov byte [esp + 0x14c], 0x3d
call fcn.00403e70
mov ecx, ebp
lea esi, [esp + 0xc8]
mov byte [esp + 0x148], 0x3e
call fcn.00478550
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
push 0x4b4088
push ecx
mov byte [esp + 0x170], 0x3f
call fcn.0041cec0
add esp, 0xc
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x168], 0x40
call fcn.004723a0
cmp dword [eax + 0x18], 0x10
jb 0x4796ae
mov eax, dword [eax + 4]
jmp 0x4796b1
add eax, 4
push eax
call fcn.0047c73b
mov ecx, dword [esp + 0x18]
mov esi, 0x10
add esp, 4
cmp dword [esp + 0x48], esi
mov dword [ecx + 0x58], eax
jb 0x4796d9
mov edx, dword [esp + 0x34]
push edx
call fcn.0047b87c
add esp, 4
cmp dword [esp + 0xa8], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x110], 4
jb 0x479706
mov eax, dword [esp + 0x94]
push eax
call fcn.0047b87c
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x4b0c8c
call fcn.00403e70
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x60], esp
push 0x4b4048
mov byte [esp + 0x14c], 0x41
call fcn.00403e70
mov ecx, ebp
lea esi, [esp + 0xc8]
mov byte [esp + 0x148], 0x42
call fcn.00478550
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
push 0x4b4088
push ecx
mov byte [esp + 0x170], 0x43
call fcn.0041cec0
add esp, 0xc
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0xcc]
mov byte [esp + 0x168], 0x44
call fcn.004723a0
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
push eax
add ecx, 0x64
mov byte [esp + 0x11c], 0x45
call fcn.00403af0
cmp dword [esp + 0x48], 0x10
jb 0x4797b2
mov eax, dword [esp + 0x34]
push eax
call fcn.0047b87c
add esp, 4
cmp dword [esp + 0xa8], 0x10
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x110], 4
jb 0x4797e0
mov ecx, dword [esp + 0x94]
push ecx
call fcn.0047b87c
add esp, 4
mov edx, dword [esp + 0x70]
add dword [esp + 0x14], 0xb0
add ebp, 1
cmp ebp, dword [edx + 0x18]
jl 0x478d10
lea ecx, [esp + 0x74]
mov byte [esp + 0x110], 3
call fcn.00451fd0
mov esi, 0x10
cmp dword [esp + 0x100], esi
jb 0x479827
mov eax, dword [esp + 0xec]
push eax
call fcn.0047b87c
add esp, 4
cmp dword [esp + 0xe4], esi
mov dword [esp + 0x100], edi
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
jb 0x479855
mov ecx, dword [esp + 0xd0]
push ecx
call fcn.0047b87c
add esp, 4
lea ecx, [esp + 0x68]
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
mov byte [esp + 0x110], bl
call fcn.0046eaf0
cmp dword [esp + 0x130], esi
jb 0x479893
mov edx, dword [esp + 0x11c]
push edx
call fcn.0047b87c
add esp, 4
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.0047b86d
add esp, 0x100
ret 0x20