Function at 0x424d80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47348c
mov eax, dword fs:[0]
push eax
sub esp, 0x390
mov eax, dword [0x48f310]
xor eax, esp
mov dword [esp + 0x388], eax
push ebx
push esi
push edi
mov eax, dword [0x48f310]
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 + 0x20], esi
call fcn.00401cc7
mov dword [esp + 0x3a8], 0
mov ecx, dword [esi + 4]
lea ecx, [ecx + 0xbc4]
lea ebx, [esp + 0x108]
call fcn.00440bf0
mov ecx, ebx
mov dword [esp + 0x3a8], 0xffffffff
call fcn.004012b8
mov ecx, dword [esi + 0x44]
call fcn.00426800
test al, al
je 0x4254ae
push 0x414
call fcn.00450883
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
xor ebx, ebx
mov dword [esp + 0x3a8], 1
cmp edi, ebx
je 0x424e7e
mov ecx, dword [esi + 4]
lea edx, [ecx + 0x704]
mov dword [esp + 0x18], edx
cmp word [edx], bx
jne 0x424e59
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov edx, dword [esp + 0x18]
push edx
lea eax, [edi + 4]
xor ecx, ecx
push 0x208
push eax
mov dword [edi], vtable.CommandWithOneArg.0
mov word [eax], cx
call fcn.00450e0b
add esp, 0xc
mov dword [edi], vtable.CreateFolderCommand.0
jmp 0x424e80
xor edi, edi
mov dword [esp + 0x3a8], 0xffffffff
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x8d30]
mov edx, dword [ecx]
mov edx, dword [edx]
push 0x100
lea eax, [esp + 0x198]
push eax
push edi
call edx
push edi
call fcn.00450827
add esp, 4
cmp word [esp + 0x194], 0x30
je 0x424f64
lea eax, [esp + 0x5c]
push eax
call fcn.00406b30
lea ecx, [esp + 0x194]
push ecx
push ecx
push str.reateDir_
push 0x479300
mov dword [esp + 0x3b8], 2
call fcn.00405c30
push eax
lea edx, [esp + 0x80]
push edx
call fcn.0040a510
add esp, 0x14
push eax
call fcn.0040a510
add esp, 8
lea ecx, [esp + 0x108]
lea eax, [esp + 0x5c]
call fcn.00406bd0
push 0x47aa08
mov byte [esp + 0x3ac], 3
mov edi, dword [esi + 4]
push ebx
lea ecx, [esp + 0x110]
push ecx
lea edi, [edi + 0x8e20]
or eax, 0xffffffff
call fcn.00401d62
push eax
call fcn.00401cf8
lea ecx, [esp + 0x108]
call fcn.004012b8
lea ecx, [esp + 0x5c]
mov dword [esp + 0x3a8], 0xffffffff
call fcn.00405430
mov ecx, dword [esi + 4]
cmp word [ecx + 0x704], bx
lea edi, [ecx + 0x704]
jne 0x424f7c
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x424f8c
test al, 0x10
jne 0x424fe3
mov ecx, dword [esi + 4]
cmp word [ecx + 0x704], bx
lea edi, [ecx + 0x704]
jne 0x424fa4
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
push edi
lea eax, [esp + 0x10c]
call fcn.00401cc7
mov dword [esp + 0x3a8], 4
mov ebx, dword [esi + 4]
mov esi, eax
call fcn.0041c410
lea ecx, [esp + 0x108]
mov dword [esp + 0x3a8], 0xffffffff
call fcn.004012b8
mov esi, dword [esp + 0x1c]
xor ebx, ebx
push 0x414
call fcn.00450883
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
mov dword [esp + 0x3a8], 5
cmp edi, ebx
je 0x425034
mov ebx, dword [esi + 4]
call fcn.0041ced0
push eax
lea ecx, [edi + 4]
xor edx, edx
push 0x208
push ecx
mov dword [edi], vtable.CommandWithOneArg.0
mov word [ecx], dx
call fcn.00450e0b
add esp, 0xc
mov dword [edi], vtable.ExtractUtilsJarCommand.0
xor ebx, ebx
jmp 0x425036
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.00450827
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x8d28]
add esp, 4
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x3a8], 6
mov edx, dword [esi + 4]
mov ecx, esi
mov dword [esi + 0x40], 3
call fcn.004247d0
push ecx
mov dword [esp + 0x1c], eax
mov eax, esp
mov dword [esp + 0x18], esp
call fcn.00402a24
lea eax, [esp + 0x128]
call fcn.00401f4d
push ebx
push ebx
lea edi, [esp + 0x12c]
call fcn.004012f5
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
call fcn.00402a24
lea eax, [esp + 0x144]
call fcn.00401f4d
push ebx
push ebx
lea edi, [esp + 0x148]
call fcn.004012f5
mov byte [esp + 0x3a8], 8
mov esi, dword [esi + 4]
call fcn.0041cf20
push eax
lea eax, [esp + 0x160]
call fcn.00401cc7
push 0x47b0d0
push 0x4795d0
mov byte [esp + 0x3b0], 9
call fcn.00405c30
add esp, 8
push eax
lea edx, [esp + 0x160]
push edx
call fcn.00401cf8
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x8d28]
push eax
push ecx
push str.ona.ebz
push 0x47a980
call fcn.00405c30
add esp, 0xc
push eax
lea ecx, [esp + 0x12c]
lea edx, [esp + 0x164]
call fcn.004054d0
add esp, 8
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x8d28]
push eax
push ecx
push str.ppdata.ebz
push 0x47b100
call fcn.00405c30
add esp, 0xc
push eax
lea ecx, [esp + 0x148]
lea edx, [esp + 0x164]
call fcn.004054d0
push 0x40
call fcn.00450883
mov esi, eax
add esp, 0xc
mov dword [esp + 0x14], esi
mov byte [esp + 0x3a8], 0xa
cmp esi, ebx
je 0x4251d6
lea eax, [esp + 0x124]
call fcn.00401489
push eax
push esi
call fcn.0044ac00
jmp 0x4251d8
xor eax, eax
mov byte [esp + 0x3a8], 9
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.00425cb0
push 0x40
mov byte [esp + 0x3ac], 0xb
call fcn.00450883
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov byte [esp + 0x3a8], 0xc
cmp esi, ebx
je 0x42522b
lea eax, [esp + 0x140]
call fcn.00401489
push eax
push esi
call fcn.0044ac00
jmp 0x42522d
xor eax, eax
mov byte [esp + 0x3a8], 0xb
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00425cb0
sub esp, 8
mov eax, esp
mov byte [esp + 0x3b0], 0xd
mov dword [esp + 0x1c], esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
push eax
lea eax, [esp + 0x34]
call fcn.00425d70
sub esp, 8
mov eax, esp
mov byte [esp + 0x3b8], 0xe
mov dword [esp + 0x2c], esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
push eax
lea eax, [esp + 0x34]
call fcn.00425d70
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
lea edx, [edi + 0x14]
push edx
lea edx, [esp + 0x44]
push edx
push ecx
mov ecx, edi
mov byte [esp + 0x3c4], 0xd
call eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x8d28]
push 0x47b104
push str.INFO
call fcn.00414290
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x4252da
push 0x36ee80
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4252e1
mov dword [edi + 0x40], 2
push 0x36ee80
lea esi, [esp + 0x34]
call fcn.00445e90
cmp al, bl
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x8d28]
je 0x425303
push str.Zona_packs_are_downloaded
jmp 0x425308
push str.Zona_packs_are_FAILED
push str.INFO
call fcn.00414290
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x425329
fld1
mov edx, dword [ecx]
mov eax, dword [edx]
push ecx
fstp dword [esp]
push 1
push 2
call eax
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 + 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
test al, al
je 0x425363
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x140]
push ecx
lea ecx, [esp + 0x128]
push ecx
push edi
push eax
mov ecx, edi
call edx
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x42537e
fld dword [0x481b6c]
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.00423890
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x425396
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0x5a
call edx
push str.doInstall
lea eax, [esp + 0x17c]
call fcn.00401cc7
mov byte [esp + 0x3a8], 0xf
mov esi, dword [edi + 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.00440e30
mov esi, dword [eax]
cmp esi, ebx
je 0x4253e4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x20], eax
lea ecx, [esp + 0x178]
call fcn.004012b8
mov byte [esp + 0x3a8], 0xb
mov esi, dword [esp + 0x2c]
cmp esi, ebx
je 0x425429
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x425429
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 0x425429
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov byte [esp + 0x3a8], 9
mov esi, dword [esp + 0x24]
cmp esi, ebx
je 0x425462
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x425462
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 0x425462
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
lea ecx, [esp + 0x15c]
call fcn.004012b8
lea ecx, [esp + 0x140]
call fcn.004012b8
lea ecx, [esp + 0x124]
call fcn.004012b8
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x425497
push eax
call fcn.00450827
add esp, 4
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
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.0045080d
mov esp, ebp
pop ebp
ret