Function at 0x47b3f0
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x58]
sub esp, 0x58
push 0xffffffffffffffff
push 0x4b3944
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x4d0968]
xor eax, ebp
mov dword [ebp + 0x54], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp + 0x10], ebx
cmp dword [ebp + 0x78], 0x10
mov dword [ebp - 4], ebx
jb 0x47b484
mov eax, dword [ebp + 0x64]
cmp eax, ebx
mov dword [ebp + 0x18], eax
je 0x47b48f
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
add edi, 1
cmp edi, 0x3fffffff
jg 0x47b48f
lea eax, [edi + edi]
call fcn.00480be0
mov esi, esp
cmp esi, ebx
je 0x47b48c
mov eax, dword [ebp + 0x18]
push edi
push esi
push 0xffffffffffffffff
push eax
push ebx
push 0x3a8
mov word [esi], bx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
mov esi, dword [ebp - 0x14]
jmp 0x47b491
lea eax, [ebp + 0x64]
mov dword [ebp + 0x18], eax
jmp 0x47b440
mov esi, dword [ebp - 0x14]
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47b4af
fldz
cmp dword [ebp + 0x78], 0x10
fst qword [esi]
mov dword [esi + 0x18], ebx
fstp qword [esi + 8]
jmp 0x47c208
lea ecx, [ebp - 0x54]
call fcn.00470c10
push closesocket
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x18], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp + 0x60]
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ebp - 4], 1
mov byte [ecx + 4], bl
call fcn.0040bc90
lea ecx, [ebp - 0x54]
call fcn.00471480
cmp eax, ebx
jne 0x47b514
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00471290
cmp dword [ebp + 0x78], 0x10
jb 0x47c216
mov eax, dword [ebp + 0x64]
push eax
jmp 0x47c20e
lea ecx, [ebp - 0x54]
call fcn.00470e80
add eax, 1
push eax
call fcn.0047edfd
add esp, 4
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.00470e80
add eax, 1
push eax
push ebx
push esi
call fcn.00480820
add esp, 0xc
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00470e80
push eax
push esi
lea ecx, [ebp - 0x54]
call fcn.00470ca0
lea ecx, [ebp - 0x54]
call fcn.00470de0
mov eax, esi
mov dword [ebp + 0x50], edi
mov dword [ebp + 0x4c], ebx
mov byte [ebp + 0x3c], bl
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x47b570
sub eax, ecx
push eax
push esi
lea ecx, [ebp + 0x38]
call fcn.0040bd70
lea edx, [ebp + 0x38]
push edx
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 2
call fcn.0047d390
push esi
mov byte [ebp - 4], 3
call fcn.00480bca
add esp, 0xc
lea ecx, [ebp - 0x70]
call fcn.00451770
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x18], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp + 0x1c]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ebp - 4], 4
mov byte [ecx + 4], bl
call fcn.0040bc90
lea ecx, [ebp - 0x70]
call fcn.00474ef0
sub esp, 0x1c
mov dword [ebp + 0x18], esp
mov esi, esp
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x18], esp
push 1
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b6be0
mov byte [ecx + 4], bl
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0xc], esp
push 3
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b9610
mov byte [ebp - 4], 5
mov byte [ecx + 4], bl
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x14], esp
push 4
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.main
mov byte [ebp - 4], 6
mov byte [ecx + 4], bl
call fcn.0040bd70
push esi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.00475130
call fcn.0047b160
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x18], esp
fstp qword [eax]
mov esi, esp
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x18], esp
mov dword [ecx + 0x18], edi
push 1
mov dword [ecx + 0x14], ebx
push 0x4b6be0
mov byte [ecx + 4], bl
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0xc], esp
push 4
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.mver
mov byte [ebp - 4], 7
mov byte [ecx + 4], bl
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x14], esp
push 4
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.main
mov byte [ebp - 4], 8
mov byte [ecx + 4], bl
call fcn.0040bd70
push esi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.00475130
call fcn.0047b160
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 0x18], esp
fstp qword [ecx + 8]
mov esi, esp
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x18], esp
push 1
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b6be0
mov byte [ecx + 4], bl
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0xc
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.restart_mver
mov byte [ebp - 4], 9
mov byte [ecx + 4], bl
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x14], esp
push 4
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.main
mov byte [ebp - 4], 0xa
mov byte [ecx + 4], bl
call fcn.0040bd70
push esi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.00475130
call fcn.0047b160
mov esi, dword [ebp - 0x14]
mov ecx, esp
fstp qword [esi + 0x10]
mov dword [ebp + 0x18], esp
push 3
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov byte [ecx + 4], bl
push 0x4b95f4
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0xa
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.displayver
mov byte [ebp - 4], 0xb
mov byte [ecx + 4], bl
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x14], esp
push 4
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.main
mov byte [ebp - 4], 0xc
mov byte [ecx + 4], bl
call fcn.0040bd70
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.00475130
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x70a0]
mov byte [ebp - 4], 0xd
call fcn.0040bc90
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], 4
jb 0x47b7df
mov eax, dword [ebp - 0x48]
push eax
call fcn.004803bd
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x18], esp
push 1
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b6be0
mov byte [ecx + 4], bl
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0xa
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.complength
mov byte [ebp - 4], 0xe
mov byte [ecx + 4], bl
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x14], esp
push 4
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.main
mov byte [ebp - 4], 0xf
mov byte [ecx + 4], bl
call fcn.0040bd70
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.00475130
cmp dword [eax + 0x18], 0x10
jb 0x47b859
mov eax, dword [eax + 4]
jmp 0x47b85c
add eax, 4
push eax
call fcn.00481ce0
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [esi + 0x1c], eax
jb 0x47b87a
mov edx, dword [ebp - 0x48]
push edx
call fcn.004803bd
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x18], esp
push 1
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b696c
mov byte [ecx + 4], bl
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0xc], esp
push 6
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.mcount
mov byte [ebp - 4], 0x10
mov byte [ecx + 4], bl
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x14], esp
push 4
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.main
mov byte [ebp - 4], 0x11
mov byte [ecx + 4], bl
call fcn.0040bd70
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.00475130
cmp dword [eax + 0x18], 0x10
jb 0x47b8f4
mov eax, dword [eax + 4]
jmp 0x47b8f7
add eax, 4
push eax
call fcn.00481ce0
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [esi + 0x18], eax
jb 0x47b915
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004803bd
add esp, 4
cmp dword [esi + 0x18], ebx
mov dword [ebp + 0xc], ebx
jle 0x47c1b5
mov edx, dword [ebp - 0x14]
add edx, 0x4c
mov dword [ebp + 0x14], edx
lea ebx, [ebx]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 0x18], esp
push 1
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b6be0
mov byte [ecx + 4], bl
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push 2
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b95d0
mov byte [ebp - 4], 0x12
mov byte [ecx + 4], bl
call fcn.0040bd70
mov ecx, dword [ebp + 0xc]
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0x13
call fcn.0047b240
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 4], esp
push eax
push 0x4b95cc
push ecx
mov byte [ebp - 4], 0x14
call fcn.004159f0
add esp, 0xc
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x15
call fcn.00475130
cmp dword [eax + 0x18], 0x10
jb 0x47b9b3
mov eax, dword [eax + 4]
jmp 0x47b9b6
add eax, 4
push eax
call fcn.00481ce0
mov ecx, dword [ebp + 0x14]
mov esi, 0x10
add esp, 4
cmp dword [ebp - 0x18], esi
mov dword [ecx - 0x2c], eax
jb 0x47b9db
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004803bd
add esp, 4
cmp dword [ebp - 0x34], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 4
jb 0x47b9f9
mov eax, dword [ebp - 0x48]
push eax
call fcn.004803bd
add esp, 4
sub esp, 0x1c
mov eax, esp
mov dword [ebp + 4], esp
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 4], esp
push 1
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b6be0
mov byte [ecx + 4], bl
mov dword [ebp + 0x18], eax
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push 3
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b9610
mov byte [ebp - 4], 0x16
mov byte [ecx + 4], bl
call fcn.0040bd70
mov ecx, dword [ebp + 0xc]
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0x17
call fcn.0047b240
sub esp, 0x1c
mov ecx, esp
mov dword [ebp], esp
push eax
push 0x4b95cc
push ecx
mov byte [ebp - 4], 0x18
call fcn.004159f0
add esp, 0xc
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x19
call fcn.00475130
call fcn.0047b160
mov edx, dword [ebp + 0x14]
add esp, 0x1c
fstp qword [edx - 0x24]
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], 4
jb 0x47baa0
mov eax, dword [ebp - 0x48]
push eax
call fcn.004803bd
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp], esp
push 1
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b6be0
mov byte [ecx + 4], bl
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 4], esp
push 4
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.type
mov byte [ebp - 4], 0x1a
mov byte [ecx + 4], bl
call fcn.0040bd70
mov ecx, dword [ebp + 0xc]
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0x1b
call fcn.0047b240
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
push 0x4b95cc
push ecx
mov byte [ebp - 4], 0x1c
call fcn.004159f0
add esp, 0xc
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x1d
call fcn.00475130
cmp dword [eax + 0x18], 0x10
jb 0x47bb23
mov eax, dword [eax + 4]
jmp 0x47bb26
add eax, 4
push eax
call fcn.00481ce0
mov ecx, dword [ebp + 0x14]
mov esi, 0x10
add esp, 4
cmp dword [ebp - 0x18], esi
mov dword [ecx - 0x28], eax
jb 0x47bb4b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004803bd
add esp, 4
cmp dword [ebp - 0x34], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 4
jb 0x47bb69
mov eax, dword [ebp - 0x48]
push eax
call fcn.004803bd
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp], esp
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b674f
mov byte [ecx + 4], bl
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 4], esp
push 5
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.fname
mov byte [ebp - 4], 0x1e
mov byte [ecx + 4], bl
call fcn.0040bd70
mov ecx, dword [ebp + 0xc]
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0x1f
call fcn.0047b240
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
push 0x4b95cc
push ecx
mov byte [ebp - 4], 0x20
call fcn.004159f0
add esp, 0xc
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x21
call fcn.00475130
mov ecx, dword [ebp + 0x14]
push 0xffffffffffffffff
push ebx
add ecx, 0xffffffe4
push eax
mov byte [ebp - 4], 0x22
call fcn.0040bc90
cmp dword [ebp - 0x18], 0x10
jb 0x47bc05
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004803bd
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 4
jb 0x47bc24
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004803bd
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp], esp
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4b674f
mov byte [ecx + 4], bl
call fcn.0040bd70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 4], esp
push str.name
mov byte [ebp - 4], 0x23
call fcn.004146e0
mov ecx, dword [ebp + 0xc]
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0x24
call fcn.0047b240
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x10], esp
push eax
push 0x4b95cc
push edx
mov byte [ebp - 4], 0x25
call fcn.004159f0
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x26
call fcn.00475130
mov ecx, dword [ebp + 0x14]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 0x27
call fcn.0040bc90
cmp dword [ebp - 0x18], 0x10
jb 0x47bcb2
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004803bd
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 4
jb 0x47bcd1
mov edx, dword [ebp - 0x48]
push edx
call fcn.004803bd
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp], esp
push 0x4b674f
call fcn.004146e0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 4], esp
push 0x4b7f7c
mov byte [ebp - 4], 0x28
call fcn.004146e0
mov ecx, dword [ebp + 0xc]
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0x29
call fcn.0047b240
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
push 0x4b95cc
push ecx
mov byte [ebp - 4], 0x2a
call fcn.004159f0
add esp, 0xc
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x2b
call fcn.00475130
mov ecx, dword [ebp + 0x14]
push 0xffffffffffffffff
push ebx
push eax
add ecx, 0x1c
mov byte [ebp - 4], 0x2c
call fcn.0040bc90
cmp dword [ebp - 0x18], 0x10
jb 0x47bd58
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004803bd
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 4
jb 0x47bd77
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004803bd
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp], esp
push 0x4b674f
call fcn.004146e0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 4], esp
push str.path
mov byte [ebp - 4], 0x2d
call fcn.004146e0
mov ecx, dword [ebp + 0xc]
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0x2e
call fcn.0047b240
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x10], esp
push eax
push 0x4b95cc
push edx
mov byte [ebp - 4], 0x2f
call fcn.004159f0
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x30
call fcn.00475130
mov ecx, dword [ebp + 0x14]
push 0xffffffffffffffff
push ebx
add ecx, 0x38
push eax
mov byte [ebp - 4], 0x31
call fcn.0040bc90
cmp dword [ebp - 0x18], 0x10
jb 0x47bdfe
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004803bd
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 4
jb 0x47be1d
mov edx, dword [ebp - 0x48]
push edx
call fcn.004803bd
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp], esp
push 0x4b6be0
call fcn.004146e0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 4], esp
push str.length
mov byte [ebp - 4], 0x32
call fcn.004146e0
mov ecx, dword [ebp + 0xc]
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0x33
call fcn.0047b240
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
push 0x4b95cc
push ecx
mov byte [ebp - 4], 0x34
call fcn.004159f0
add esp, 0xc
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x35
call fcn.00475130
cmp dword [eax + 0x18], 0x10
jb 0x47be8a
mov eax, dword [eax + 4]
jmp 0x47be8d
add eax, 4
push eax
call fcn.00481ce0
mov ecx, dword [ebp + 0x14]
mov esi, 0x10
add esp, 4
cmp dword [ebp - 0x18], esi
mov dword [ecx + 0x54], eax
jb 0x47beb2
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004803bd
add esp, 4
cmp dword [ebp - 0x34], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 4
jb 0x47bed0
mov eax, dword [ebp - 0x48]
push eax
call fcn.004803bd
add esp, 4
sub esp, 0x1c
mov eax, esp
mov dword [ebp], esp
sub esp, 0x1c
mov ecx, esp
mov dword [ebp], esp
push 0x4b6be0
mov dword [ebp + 0x18], eax
call fcn.004146e0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 4], esp
push str.restart_ver
mov byte [ebp - 4], 0x36
call fcn.004146e0
mov ecx, dword [ebp + 0xc]
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 0x37
call fcn.0047b240
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
push 0x4b95cc
push ecx
mov byte [ebp - 4], 0x38
call fcn.004159f0
add esp, 0xc
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x39
call fcn.00475130
call fcn.0047b160
mov edx, dword [ebp + 0x14]
add esp, 0x1c
fstp qword [edx + 0x5c]
cmp dword [ebp - 0x34], 0x10
mov byte [ebp - 4], 4
jb 0x47bf61
mov eax, dword [ebp - 0x48]
push eax
call fcn.004803bd
add esp, 4
lea ecx, [ebp - 0xac]
push ecx
call fcn.004717a0
or dword [ebp + 0x10], 1
push 0x4b7fa0
push eax
lea edx, [ebp - 0x4c]
push edx
mov byte [ebp - 4], 0x3a
call fcn.00415930
mov esi, dword [ebp + 0x14]
or dword [ebp + 0x10], 2
lea ecx, [esi + 0x38]
push ecx
push eax
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 4], 0x3b
call fcn.00415ab0
or dword [ebp + 0x10], 4
lea ecx, [esi - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 4], 0x3c
call fcn.00415ab0
or dword [ebp + 0x10], 8
add esp, 0x28
cmp dword [eax + 0x18], 0x10
jb 0x47bfce
mov eax, dword [eax + 4]
jmp 0x47bfd1
add eax, 4
cmp eax, ebx
mov dword [ebp + 0x18], eax
jne 0x47bfdc
xor eax, eax
jmp 0x47c011
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 1
cmp esi, 0x3fffffff
jle 0x47bff7
xor eax, eax
jmp 0x47c011
lea eax, [esi + esi]
call fcn.00480be0
mov ecx, dword [ebp + 0x18]
mov eax, esp
push 0x3a8
push esi
push ecx
push eax
call fcn.004010f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47c02e
cmp dword [ebp + 0x7c], ebx
je 0x47c02e
mov edx, dword [ebp + 0x14]
cmp dword [edx - 0x28], 2
mov byte [ebp + 0xb], 1
jne 0x47c031
mov byte [ebp + 0xb], bl
test byte [ebp + 0x10], 8
mov esi, 0x10
je 0x47c05a
and dword [ebp + 0x10], 0xfffffff7
cmp dword [ebp - 0x18], esi
jb 0x47c051
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004803bd
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
test byte [ebp + 0x10], 4
je 0x47c084
and dword [ebp + 0x10], 0xfffffffb
cmp dword [ebp - 0x78], esi
jb 0x47c078
mov ecx, dword [ebp - 0x8c]
push ecx
call fcn.004803bd
add esp, 4
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x8c], bl
test byte [ebp + 0x10], 2
je 0x47c0a8
and dword [ebp + 0x10], 0xfffffffd
cmp dword [ebp - 0x34], esi
jb 0x47c09f
mov edx, dword [ebp - 0x48]
push edx
call fcn.004803bd
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
test byte [ebp + 0x10], 1
mov dword [ebp - 4], 4
je 0x47c0d0
and dword [ebp + 0x10], 0xfffffffe
cmp dword [ebp - 0x94], esi
jb 0x47c0d0
mov eax, dword [ebp - 0xa8]
push eax
call fcn.004803bd
add esp, 4
cmp byte [ebp + 0xb], bl
je 0x47c0dd
fldz
mov ecx, dword [ebp + 0x14]
fstp qword [ecx - 0x24]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp], esp
push 0x4b6be0
call fcn.004146e0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 4], esp
push str.isSpeciaUpdate
mov byte [ebp - 4], 0x3d
call fcn.004146e0
mov ecx, dword [ebp + 0xc]
lea esi, [ebp - 0xac]
mov byte [ebp - 4], 0x3e
call fcn.0047b240
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x10], esp
push eax
push 0x4b95cc
push edx
mov byte [ebp - 4], 0x3f
call fcn.004159f0
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x40
call fcn.00475130
cmp dword [eax + 0x18], 0x10
jb 0x47c14d
mov eax, dword [eax + 4]
jmp 0x47c150
add eax, 4
push eax
call fcn.00481ce0
mov ecx, dword [ebp + 0x14]
mov esi, 0x10
add esp, 4
cmp dword [ebp - 0x34], esi
mov dword [ecx + 0x58], eax
jb 0x47c175
mov edx, dword [ebp - 0x48]
push edx
call fcn.004803bd
add esp, 4
cmp dword [ebp - 0x94], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], 4
jb 0x47c199
mov eax, dword [ebp - 0xa8]
push eax
call fcn.004803bd
add esp, 4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
add dword [ebp + 0x14], 0x90
add eax, 1
cmp eax, dword [ecx + 0x18]
mov dword [ebp + 0xc], eax
jl 0x47b930
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.004517f0
mov esi, 0x10
cmp dword [ebp + 0x34], esi
jb 0x47c1d7
mov edx, dword [ebp + 0x20]
push edx
call fcn.004803bd
add esp, 4
cmp dword [ebp + 0x50], esi
mov dword [ebp + 0x34], edi
mov dword [ebp + 0x30], ebx
mov byte [ebp + 0x20], bl
jb 0x47c1f1
mov eax, dword [ebp + 0x3c]
push eax
call fcn.004803bd
add esp, 4
lea ecx, [ebp - 0x54]
mov dword [ebp + 0x50], edi
mov dword [ebp + 0x4c], ebx
mov byte [ebp + 0x3c], bl
mov byte [ebp - 4], bl
call fcn.00471290
cmp dword [ebp + 0x78], esi
jb 0x47c216
mov ecx, dword [ebp + 0x64]
push ecx
call fcn.004803bd
add esp, 4
lea esp, [ebp - 0xbc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x54]
xor ecx, ebp
call fcn.00480bcf
add ebp, 0x58
mov esp, ebp
pop ebp
ret 0x20