Function at 0x4044d0
Capabilities:
Check if file exists
Get file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584307
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x5d4074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xac], 0
lea eax, [ebp - 0xac]
mov dword [ebp - 4], 0
push eax
call fcn.00511764
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
add esp, 4
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push 0xf
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
push str.INSTDOWNLOADDIR
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
call fcn.004061c0
mov byte [ebp - 4], 2
call fcn.004514f0
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.00450e30
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4045a8
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004074b0
sub esp, 0x18
mov dword [ebp - 0x2c], 7
mov ecx, esp
mov dword [ebp - 0xa4], esp
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
push 0xffffffffffffffff
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
push eax
mov word [ecx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.004062c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0044e090
add esp, 0x18
mov esi, eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
cmp eax, esi
je 0x404632
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x404615
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00406510
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x40464b
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x44], 7
sub esp, 8
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x48], 0
cmovae eax, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x70]
call fcn.0041b550
xor edx, edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.0041a170
sub esp, 8
lea ecx, [ebp - 0x70]
mov eax, esp
mov dword [eax], str.skintemp.zip
mov dword [eax + 4], 0xc
lea eax, [ebp - 0x58]
push eax
call fcn.0041c020
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
cmp ecx, eax
je 0x4046c0
push 0xffffffffffffffff
push 0
push eax
call fcn.004062c0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4046d9
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov bl, 1
mov word [ebp - 0x58], ax
xor edi, edi
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x404985
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x78], 0
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [ebp - 0x88], cx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
test ecx, ecx
jne 0x404751
xor eax, eax
mov dword [ebp - 0x78], ecx
mov word [ebp - 0x88], ax
jmp 0x40475e
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.004061c0
push 1
push 0
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0
push eax
lea ecx, [ebp - 0x88]
call fcn.00413430
cmp eax, 0xffffffff
je 0x404791
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x88]
call fcn.00406d60
sub esp, 8
mov byte [ebp - 4], 7
mov eax, esp
lea ecx, [ebp - 0x88]
mov dword [eax], 0x5bd1d4
mov dword [eax + 4], 3
lea eax, [ebp - 0x40]
push eax
call fcn.0041c020
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x4047d5
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x74], 7
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.00419770
call fcn.00403bf0
sub esp, 8
mov esi, eax
mov ecx, esp
mov dword [ebp - 0xa4], esp
mov dword [ebp - 0xb8], ecx
push 0
call fcn.0041ac60
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xb
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
push eax
mov byte [ebp - 4], 9
call fcn.0049cbe6
add esp, 0x10
test al, al
je 0x4049e3
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
push 0xffffffffffffffff
lea edx, [ebp - 0xa0]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x40]
call fcn.00417ea0
add esp, 4
test al, al
je 0x40491b
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x58]
cmovae edx, dword [ebp - 0x70]
call fcn.0044dc00
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x58]
sub esp, 8
cmp dword [ebp - 0x44], 0x10
mov ecx, esp
cmovae eax, dword [ebp - 0x58]
sub esp, 8
mov dword [ecx], eax
mov eax, dword [ebp - 0x48]
mov dword [ecx + 4], eax
mov ecx, esp
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
cmovae eax, dword [ebp - 0xa0]
mov dword [ecx], eax
mov eax, dword [ebp - 0x90]
mov dword [ecx + 4], eax
call fcn.00420430
add esp, 0x10
test eax, eax
je 0x4048ee
lea ecx, [ebp - 0x70]
call fcn.00419770
jmp 0x4048f0
xor bl, bl
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x404909
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00406c30
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x8c]
cmp eax, 0x10
jb 0x40493d
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00406c30
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x8c], 0xf
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
cmp eax, 8
jb 0x404971
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
test bl, bl
je 0x404a81
lea ecx, [ebp - 0x70]
call fcn.00419770
call fcn.00403bf0
sub esp, 8
mov esi, eax
mov ecx, esp
mov dword [ebp - 0xa4], esp
mov dword [ebp - 0xa8], ecx
push 0
call fcn.0041ac60
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x11
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
push eax
mov byte [ebp - 4], 5
call fcn.0049cbe6
add esp, 0x10
test al, al
je 0x404a50
inc edi
cmp edi, 3
jb 0x4046f1
jmp 0x404b19
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa8], esp
push 0xf
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.get_k_skin_fail
mov byte [ecx], 0
call fcn.004065e0
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 9
call fcn.0044be20
mov dword [ebp - 4], 5
add esp, 0x18
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x404a37
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jmp 0x404b19
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa8], esp
push 0xf
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.get_k_skin_fail
mov byte [ecx], 0
call fcn.004065e0
mov byte [ebp - 4], 0x12
jmp 0x404b06
cmp dword [ebp - 0x5c], 8
lea esi, [ebp - 0x70]
mov edi, dword [ebp - 0xb0]
mov ecx, edi
cmovae esi, dword [ebp - 0x70]
call fcn.004e3a96
mov ecx, dword [ebp - 0xac]
lea edx, [ebp - 0xd4]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc0], 0
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 0xc]
test eax, eax
jne 0x404b8a
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa8], esp
push 0xf
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], eax
push str.get_k_skin_fail
mov byte [ecx], al
call fcn.004065e0
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 5
call fcn.0044be20
mov dword [ebp - 4], 5
add esp, 0x18
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa8], esp
push 5
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push str.KbEnd
mov byte [ecx], 0
call fcn.004065e0
mov byte [ebp - 4], 0x16
mov byte [ebp - 4], 5
call fcn.0044be20
mov ecx, esp
mov dword [ebp - 0xa8], esp
push 0x10
push str.EndUpdateInstall
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.004065e0
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 5
call fcn.0044be20
add esp, 0x18
push 0
call fcn.00531469
push str.uidef:xml_init
push dword [ebp - 0xac]
lea ecx, [edi + 0x10]
call fcn.004e20e5
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x404bb6
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x404be2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004074b0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xac]
test ecx, ecx
je 0x404c0c
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a04e0
mov esp, ebp
pop ebp
ret