Function at 0x4275b0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x474323
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x138c
call fcn.004674c0
mov eax, dword [0x490654]
xor eax, esp
mov dword [esp + 0x1388], eax
push ebx
push esi
push edi
mov eax, dword [0x490654]
xor eax, esp
push eax
lea eax, [esp + 0x13a0]
mov dword fs:[0], eax
mov esi, ecx
push str.doInstall
lea eax, [esp + 0x10c]
mov dword [esp + 0x18], esi
call fcn.004025cc
mov dword [esp + 0x13a8], 0
mov ecx, dword [esi + 4]
lea ecx, [ecx + 0xac4]
lea edi, [esp + 0x108]
call fcn.004146a0
mov ecx, edi
mov dword [esp + 0x13a8], 0xffffffff
call fcn.004025fd
mov ecx, dword [esi + 0x44]
call fcn.00429940
test al, al
je 0x427d36
push 0x414
call fcn.00453217
mov ebx, eax
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x13a8], 1
test ebx, ebx
je 0x427696
mov ecx, dword [esi + 4]
cmp word [ecx + 0x604], 0
lea edi, [ecx + 0x604]
jne 0x427689
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov edx, edi
mov eax, ebx
call fcn.0040191e
mov edi, eax
jmp 0x427698
xor edi, edi
or ebx, 0xffffffff
mov dword [esp + 0x13a8], ebx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x8c30]
mov eax, dword [ecx]
mov eax, dword [eax]
push 0x100
lea edx, [esp + 0x198]
push edx
push edi
call eax
push edi
call fcn.004531bb
add esp, 4
cmp word [esp + 0x194], 0x30
je 0x427778
lea ecx, [esp + 0x5c]
push ecx
call fcn.0040263c
lea edx, [esp + 0x194]
push edx
push ecx
push str.reateDir_
push 0x479a88
mov dword [esp + 0x13b8], 2
call fcn.004089f0
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00403da5
add esp, 0x14
push eax
call fcn.00403da5
add esp, 8
lea ecx, [esp + 0x108]
push ecx
lea eax, [esp + 0x60]
call fcn.004026cf
push 0x47afdc
mov byte [esp + 0x13ac], 3
mov edi, dword [esi + 4]
push 0
lea edx, [esp + 0x110]
push edx
lea edi, [edi + 0x8d20]
mov eax, ebx
call fcn.004030d1
push eax
call fcn.0040260b
lea ecx, [esp + 0x108]
call fcn.004025fd
lea eax, [esp + 0x5c]
mov dword [esp + 0x13a8], ebx
call fcn.0040220e
mov ecx, dword [esi + 4]
cmp word [ecx + 0x604], 0
lea edi, [ecx + 0x604]
jne 0x427791
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
je 0x4277a0
test al, 0x10
jne 0x4277f6
mov ecx, dword [esi + 4]
cmp word [ecx + 0x604], 0
lea edi, [ecx + 0x604]
jne 0x4277b9
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
push edi
lea eax, [esp + 0x10c]
call fcn.004025cc
mov dword [esp + 0x13a8], 4
mov ebx, dword [esi + 4]
mov esi, eax
call fcn.0041f6c0
lea ecx, [esp + 0x108]
mov dword [esp + 0x13a8], 0xffffffff
call fcn.004025fd
mov esi, dword [esp + 0x14]
push 0x414
call fcn.00453217
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov dword [esp + 0x13a8], 5
test edi, edi
je 0x42782d
mov ebx, dword [esi + 4]
call fcn.0041ffb0
mov edx, eax
mov eax, edi
call fcn.0040194e
mov edi, eax
jmp 0x42782f
xor edi, edi
mov dword [esp + 0x13a8], 0xffffffff
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x8c30]
mov eax, dword [ecx]
mov eax, dword [eax]
push 0x100
lea edx, [esp + 0x198]
push edx
push edi
call eax
push edi
call fcn.004531bb
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ebx, dword [eax + 0x8c28]
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 + 0x13a8], 6
mov edx, dword [esi + 4]
mov ecx, esi
mov dword [esi + 0x40], 3
call fcn.00427050
mov dword [esp + 0x18], eax
lea eax, [esp + 0x15c]
call fcn.004025a5
lea eax, [esp + 0x124]
call fcn.004025a5
mov byte [esp + 0x13a8], 8
mov esi, dword [esi + 4]
call fcn.00420000
push eax
lea eax, [esp + 0x144]
call fcn.004025cc
push 0x47ba98
push 0x479d58
mov byte [esp + 0x13b0], 9
call fcn.004089f0
add esp, 8
push eax
lea edx, [esp + 0x144]
push edx
call fcn.0040260b
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x8c28]
push eax
push ecx
push str.ona.ebz
push 0x47b528
call fcn.004089f0
add esp, 0xc
push eax
lea ecx, [esp + 0x164]
lea edx, [esp + 0x148]
call fcn.004083b0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x8c28]
add esp, 8
push eax
push ecx
push str.ppdata.ebz
push 0x47bac8
call fcn.004089f0
add esp, 0xc
push eax
lea ecx, [esp + 0x12c]
lea edx, [esp + 0x148]
call fcn.004083b0
push 0x40
call fcn.00453217
mov esi, eax
add esp, 0xc
mov dword [esp + 0x24], esi
test esi, esi
je 0x4279cd
lea eax, [esp + 0x15c]
call fcn.00402637
mov dword [esp + 0x10], 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.004025a5
mov eax, dword [esp + 0x10]
push eax
mov byte [esp + 0x13ac], 0xc
call fcn.00402626
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x1c], 0
mov byte [esi + 0x3c], 0
jmp 0x4279cf
xor esi, esi
xor eax, eax
mov byte [esp + 0x13a8], 9
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.00428a10
push 0x40
mov byte [esp + 0x13ac], 0xd
call fcn.00453217
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
je 0x427a4c
lea eax, [esp + 0x124]
call fcn.00402637
mov dword [esp + 0x10], 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.004025a5
mov ecx, dword [esp + 0x10]
push ecx
mov byte [esp + 0x13ac], 0x10
call fcn.00402626
mov dword [esi + 0x1c], 0
mov byte [esi + 0x3c], 0
jmp 0x427a4e
xor esi, esi
xor eax, eax
mov byte [esp + 0x13a8], 0xd
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.00428a10
sub esp, 8
mov eax, esp
mov byte [esp + 0x13b0], 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.00449770
sub esp, 8
mov eax, esp
mov byte [esp + 0x13b8], 0x12
mov dword [esp + 0x20], esp
mov dword [eax], edi
mov dword [eax + 4], edi
push eax
lea eax, [esp + 0x30]
call fcn.00449770
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 + 0x13c4], 0x11
call eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x8c28]
push 0x47bacc
push str.INFO
call fcn.00417780
mov esi, dword [esp + 0x18]
cmp esi, edi
je 0x427aff
push 0x36ee80
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x427b06
mov dword [ebx + 0x40], 2
push 0x36ee80
lea esi, [esp + 0x34]
call fcn.00448b90
test al, al
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x8c28]
je 0x427b28
push str.Zona_packs_are_downloaded
jmp 0x427b2d
push str.Zona_packs_are_FAILED
push str.INFO
call fcn.00417780
mov ebx, dword [ebx + 4]
lea eax, [esp + 0x108]
call fcn.004025a5
xor ecx, ecx
mov byte [esp + 0x13a8], 0x13
push 1
lea edx, [esp + 0x398]
mov word [esp + 0x398], cx
push edx
lea ecx, [esp + 0x110]
call fcn.004292a0
cmp dword [esp + 0x118], 0
lea ecx, [esp + 0x108]
setne bl
mov byte [esp + 0x13a8], 0x11
call fcn.004025fd
mov edi, dword [esp + 0x14]
test bl, bl
je 0x427c1d
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x427bb0
fld1
mov eax, dword [ecx]
mov edx, dword [eax]
push ecx
fstp dword [esp]
push 1
push 2
call edx
mov eax, dword [edi + 4]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x20]
mov ecx, edi
call eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
test al, al
je 0x427bea
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0x160]
push ecx
push edi
push eax
mov ecx, edi
call edx
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x427c05
fld dword [0x4823f0]
mov eax, dword [ecx]
mov edx, dword [eax]
push ecx
fstp dword [esp]
push 0x64
push 3
call edx
mov esi, dword [edi + 4]
call fcn.00426430
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x427c1d
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x5a
call edx
push str.doInstall
lea eax, [esp + 0x17c]
call fcn.004025cc
mov byte [esp + 0x13a8], 0x14
mov esi, dword [edi + 4]
add esi, 0xac4
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.004148c0
mov esi, dword [eax]
xor edi, edi
cmp esi, edi
je 0x427c6d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x20], eax
lea ecx, [esp + 0x178]
call fcn.004025fd
mov byte [esp + 0x13a8], 0xd
mov esi, dword [esp + 0x2c]
cmp esi, edi
je 0x427cb2
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x427cb2
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 0x427cb2
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [esp + 0x13a8], 9
mov esi, dword [esp + 0x20]
cmp esi, edi
je 0x427ceb
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x427ceb
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 0x427ceb
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea ecx, [esp + 0x140]
call fcn.004025fd
lea ecx, [esp + 0x124]
call fcn.004025fd
lea ecx, [esp + 0x15c]
call fcn.004025fd
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x427d20
push eax
call fcn.004531bb
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 + 0x13a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1388]
xor ecx, esp
call fcn.00452c94
mov esp, ebp
pop ebp
ret