Function at 0x427490
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4744a8
mov eax, dword fs:[0]
push eax
sub esp, 0x390
mov eax, dword [0x491654]
xor eax, esp
mov dword [esp + 0x388], eax
push ebx
push esi
push edi
mov eax, dword [0x491654]
xor eax, esp
push eax
lea eax, [esp + 0x3a0]
mov dword fs:[0], eax
mov esi, ecx
push str.doInstall
lea eax, [esp + 0x10c]
mov dword [esp + 0x18], esi
call fcn.004025ce
mov dword [esp + 0x3a8], 0
mov ecx, dword [esi + 4]
lea ecx, [ecx + 0xbc4]
lea edi, [esp + 0x108]
call fcn.00414770
mov ecx, edi
mov dword [esp + 0x3a8], 0xffffffff
call fcn.004025ff
mov ecx, dword [esi + 0x44]
call fcn.00429820
test al, al
je 0x427baf
push 0x414
call fcn.00453347
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3a8], 1
test ebx, ebx
je 0x427571
mov ecx, dword [esi + 4]
cmp word [ecx + 0x704], 0
lea edi, [ecx + 0x704]
jne 0x427564
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov edx, edi
mov eax, ebx
call fcn.00401923
mov edi, eax
jmp 0x427573
xor edi, edi
or ebx, 0xffffffff
mov dword [esp + 0x3a8], ebx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x8d30]
mov eax, dword [ecx]
mov eax, dword [eax]
push 0x100
lea edx, [esp + 0x198]
push edx
push edi
call eax
push edi
call fcn.004532eb
add esp, 4
cmp word [esp + 0x194], 0x30
je 0x427653
lea ecx, [esp + 0x5c]
push ecx
call fcn.0040263e
lea edx, [esp + 0x194]
push edx
push ecx
push str.reateDir_
push 0x47aa88
mov dword [esp + 0x3b8], 2
call fcn.004089f0
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00403d98
add esp, 0x14
push eax
call fcn.00403d98
add esp, 8
lea ecx, [esp + 0x108]
push ecx
lea eax, [esp + 0x60]
call fcn.004026d1
push 0x47bfec
mov byte [esp + 0x3ac], 3
mov edi, dword [esi + 4]
push 0
lea edx, [esp + 0x110]
push edx
lea edi, [edi + 0x8e20]
mov eax, ebx
call fcn.004030d3
push eax
call fcn.0040260d
lea ecx, [esp + 0x108]
call fcn.004025ff
lea eax, [esp + 0x5c]
mov dword [esp + 0x3a8], ebx
call fcn.00402210
mov ecx, dword [esi + 4]
cmp word [ecx + 0x704], 0
lea edi, [ecx + 0x704]
jne 0x42766c
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
je 0x42767b
test al, 0x10
jne 0x4276d1
mov ecx, dword [esi + 4]
cmp word [ecx + 0x704], 0
lea edi, [ecx + 0x704]
jne 0x427694
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
push edi
lea eax, [esp + 0x10c]
call fcn.004025ce
mov dword [esp + 0x3a8], 4
mov ebx, dword [esi + 4]
mov esi, eax
call fcn.0041f880
lea ecx, [esp + 0x108]
mov dword [esp + 0x3a8], 0xffffffff
call fcn.004025ff
mov esi, dword [esp + 0x14]
push 0x414
call fcn.00453347
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov dword [esp + 0x3a8], 5
test edi, edi
je 0x427708
mov ebx, dword [esi + 4]
call fcn.004201b0
mov edx, eax
mov eax, edi
call fcn.00401953
mov edi, eax
jmp 0x42770a
xor edi, edi
mov dword [esp + 0x3a8], 0xffffffff
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x8d30]
mov eax, dword [ecx]
mov eax, dword [eax]
push 0x100
lea edx, [esp + 0x198]
push edx
push edi
call eax
push edi
call fcn.004532eb
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ebx, dword [eax + 0x8d28]
add esp, 4
lea ecx, [esp + 0x30]
push ecx
call edi
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x3a8], 6
mov edx, dword [esi + 4]
mov ecx, esi
mov dword [esi + 0x40], 3
call fcn.00426f30
mov dword [esp + 0x18], eax
lea eax, [esp + 0x140]
call fcn.004025a7
lea eax, [esp + 0x124]
call fcn.004025a7
mov byte [esp + 0x3a8], 8
mov esi, dword [esi + 4]
call fcn.00420200
push eax
lea eax, [esp + 0x160]
call fcn.004025ce
push 0x47caa8
push 0x47ad58
mov byte [esp + 0x3b0], 9
call fcn.004089f0
add esp, 8
push eax
lea edx, [esp + 0x160]
push edx
call fcn.0040260d
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x8d28]
push eax
push ecx
push str.ona.ebz
push 0x47c538
call fcn.004089f0
add esp, 0xc
push eax
lea ecx, [esp + 0x148]
lea edx, [esp + 0x164]
call fcn.004083b0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x8d28]
add esp, 8
push eax
push ecx
push str.ppdata.ebz
push 0x47cad8
call fcn.004089f0
add esp, 0xc
push eax
lea ecx, [esp + 0x12c]
lea edx, [esp + 0x164]
call fcn.004083b0
push 0x40
call fcn.00453347
mov esi, eax
add esp, 0xc
mov dword [esp + 0x24], esi
test esi, esi
je 0x4278a8
lea eax, [esp + 0x140]
call fcn.00402639
mov dword [esp + 0x14], eax
lea eax, [esi + 4]
push eax
mov dword [esi], vtable.download::FileDownloadOutput.0
call edi
lea edi, [esi + 0x20]
mov eax, edi
call fcn.004025a7
mov eax, dword [esp + 0x14]
push eax
mov byte [esp + 0x3ac], 0xc
call fcn.00402628
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x1c], 0
mov byte [esi + 0x3c], 0
jmp 0x4278aa
xor esi, esi
xor eax, eax
mov byte [esp + 0x3a8], 9
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.004288d0
push 0x40
mov byte [esp + 0x3ac], 0xd
call fcn.00453347
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
je 0x427927
lea eax, [esp + 0x124]
call fcn.00402639
mov dword [esp + 0x14], eax
lea eax, [esi + 4]
push eax
mov dword [esi], vtable.download::FileDownloadOutput.0
call edi
lea edi, [esi + 0x20]
mov eax, edi
call fcn.004025a7
mov ecx, dword [esp + 0x14]
push ecx
mov byte [esp + 0x3ac], 0x10
call fcn.00402628
mov dword [esi + 0x1c], 0
mov byte [esi + 0x3c], 0
jmp 0x427929
xor esi, esi
xor eax, eax
mov byte [esp + 0x3a8], 0xd
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.004288d0
sub esp, 8
mov eax, esp
mov byte [esp + 0x3b0], 0x11
xor edi, edi
mov dword [esp + 0x2c], esp
mov dword [eax], edi
mov dword [eax + 4], edi
push eax
lea eax, [esp + 0x34]
call fcn.00449720
sub esp, 8
mov eax, esp
mov byte [esp + 0x3b8], 0x12
mov dword [esp + 0x24], esp
mov dword [eax], edi
mov dword [eax + 4], edi
push eax
lea eax, [esp + 0x30]
call fcn.00449720
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x24]
lea edx, [ebx + 0x14]
push edx
lea edx, [esp + 0x44]
push edx
push ecx
mov ecx, ebx
mov byte [esp + 0x3c4], 0x11
call eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x8d28]
push 0x47cadc
push str.INFO
call fcn.00417c10
mov esi, dword [esp + 0x18]
cmp esi, edi
je 0x4279da
push 0x36ee80
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4279e1
mov dword [ebx + 0x40], 2
push 0x36ee80
lea esi, [esp + 0x34]
call fcn.00448b50
test al, al
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x8d28]
je 0x427a03
push str.Zona_packs_are_downloaded
jmp 0x427a08
push str.Zona_packs_are_FAILED
push str.INFO
call fcn.00417c10
mov ecx, dword [ebx + 8]
xor edi, edi
cmp ecx, edi
je 0x427a2b
fld1
mov edx, dword [ecx]
mov eax, dword [edx]
push ecx
fstp dword [esp]
push 1
push 2
call eax
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 0x20]
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
test al, al
je 0x427a65
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0x144]
push ecx
push ebx
push eax
mov ecx, ebx
call edx
mov ecx, dword [ebx + 8]
cmp ecx, edi
je 0x427a80
fld dword [0x483400]
mov eax, dword [ecx]
mov edx, dword [eax]
push ecx
fstp dword [esp]
push 0x64
push 3
call edx
mov esi, dword [ebx + 4]
call fcn.00426310
mov ecx, dword [ebx + 8]
cmp ecx, edi
je 0x427a98
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x5a
call edx
push str.doInstall
lea eax, [esp + 0x17c]
call fcn.004025ce
mov byte [esp + 0x3a8], 0x13
mov esi, dword [ebx + 4]
add esi, 0xbc4
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esi + 0x18]
lea edx, [esp + 0x178]
call fcn.00414990
mov esi, dword [eax]
cmp esi, edi
je 0x427ae6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x20], eax
lea ecx, [esp + 0x178]
call fcn.004025ff
mov byte [esp + 0x3a8], 0xd
mov esi, dword [esp + 0x2c]
cmp esi, edi
je 0x427b2b
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x427b2b
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x427b2b
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [esp + 0x3a8], 9
mov esi, dword [esp + 0x20]
cmp esi, edi
je 0x427b64
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x427b64
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x427b64
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea ecx, [esp + 0x15c]
call fcn.004025ff
lea ecx, [esp + 0x124]
call fcn.004025ff
lea ecx, [esp + 0x140]
call fcn.004025ff
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x427b99
push eax
call fcn.004532eb
add esp, 4
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
call fcn.00401000
mov ecx, dword [esp + 0x3a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x388]
xor ecx, esp
call fcn.00452dc2
mov esp, ebp
pop ebp
ret