Function at 0x414fb0
Capabilities:
Check if file exists
Copy file
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f345
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c4
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0xc0]
lea esi, [ebx + 0xc0]
xor edi, edi
mov dword [ebp - 0x10], esp
cmp eax, edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], 1
jne 0x415024
push edi
mov eax, 0x1e
push edi
push edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 4]
push 0x40000000
lea ecx, [ebp - 0x3c]
push str.0631b142_2709_11d4_9dc9_0080c8e02d89
push ecx
push eax
push str.AtlAxWin
mov ecx, esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
call fcn.00415b40
mov eax, dword [ebx + 0x8c]
cmp eax, edi
jne 0x415033
mov eax, 0x4207f0
mov edx, dword [ebx + 0x78]
push edi
push eax
push edx
lea ecx, [ebx + 0x28]
call fcn.00416280
mov eax, dword [ebx + 0x8c]
cmp eax, edi
jne 0x415050
mov eax, 0x4207f0
push edi
push eax
mov ecx, ebx
call fcn.00415880
cmp eax, 1
jne 0x41506d
mov dword [ebx + 0xf8], 2
jmp 0x415796
mov eax, dword [esi]
cmp eax, edi
je 0x415796
lea ecx, [ebp - 0x28]
test ecx, ecx
je 0x415796
mov edx, dword [0x428d80]
push edi
push edi
push edx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, eax
mov dword [ebp - 0x28], eax
neg ecx
sbb ecx, ecx
and ecx, 0x7fffbffb
add ecx, 0x80004005
mov dword [ebp - 0x18], ecx
js 0x415796
cmp eax, edi
mov dword [ebp - 0x14], edi
je 0x4150d4
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x14]
push edx
call fcn.00415ba0
cmp eax, edi
jge 0x4150d4
cmp eax, 0x80004002
je 0x4150d4
push eax
call fcn.004167b9
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], edi
cmp eax, edi
je 0x415782
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 1
call fcn.00413530
mov esi, 0x4207f4
mov word [ebp - 0xb0], di
mov dword [ebp - 0xb4], esi
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.00413530
mov dword [ebp - 0x94], esi
mov word [ebp - 0x90], di
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.00413530
mov dword [ebp - 0x74], esi
mov word [ebp - 0x70], di
mov eax, dword [ebx + 0x24]
push edi
push str.ToshibaDeviceSetup
push eax
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 4
call fcn.00405d20
mov ecx, dword [ebx + 0x24]
push edi
push str.WILIMP
push ecx
lea ecx, [ebp - 0x94]
call fcn.00405d20
mov edx, dword [ebx + 0x24]
push edi
push str.WILEXP
push edx
lea ecx, [ebp - 0x74]
call fcn.00405d20
cmp dword [ebp - 0x14], edi
jne 0x415181
push 0x80004003
call fcn.004167b9
mov eax, dword [ebx + 0xbc]
neg eax
sbb eax, eax
add eax, 0x8001
push eax
mov eax, dword [ebp - 0x14]
push 3
push 0x18
push eax
call fcn.00416ce6
mov ecx, dword [ebx + 0x1c]
add esp, 0x10
add ecx, 0x34
call fcn.00415c50
push ecx
mov edi, eax
mov dword [ebp - 0x18], esp
mov esi, esp
push 0xc
call fcn.00417373
mov ecx, eax
add esp, 4
mov dword [ebp - 0x24], ecx
test ecx, ecx
mov byte [ebp - 4], 5
je 0x4151d3
push edi
call fcn.00415d50
jmp 0x4151d5
xor eax, eax
test eax, eax
mov byte [ebp - 4], 4
mov dword [esi], eax
jne 0x4151e9
push 0x8007000e
call fcn.004167b9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00415b20
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00415ee0
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0xb0]
test eax, eax
jne 0x415217
push 0x80004003
call fcn.004167b9
mov ecx, dword [ebp - 0x14]
and esi, 0xffff
push esi
push 3
push 1
push ecx
call fcn.00416ce6
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x90]
add esp, 0x10
test eax, eax
jne 0x415245
push 0x80004003
call fcn.004167b9
mov edx, dword [ebp - 0x14]
and esi, 0xffff
push esi
push 3
push 0xf
push edx
call fcn.00416ce6
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x70]
add esp, 0x10
test eax, eax
jne 0x415270
push 0x80004003
call fcn.004167b9
mov eax, dword [ebp - 0x14]
and esi, 0xffff
push esi
push 3
push 0x11
push eax
call fcn.00416ce6
add esp, 0x10
lea ecx, [ebp - 0x130]
push ecx
call fcn.004063e0
add esp, 4
push str.Help
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 7
call fcn.00413b00
mov edx, dword [ebp - 0x118]
lea ecx, [ebp - 0x130]
and edx, 0xfffe
xor edx, 1
mov word [ebp - 0x118], dx
call fcn.00406210
lea eax, [ebp - 0x130]
lea ecx, [ebp - 0x160]
push eax
call fcn.00413760
push 0x4259b8
lea ecx, [ebp - 0x148]
push eax
push ecx
mov byte [ebp - 4], 8
call fcn.00413fc0
add esp, 0xc
push 0x429060
lea edx, [ebp - 0x1d8]
push eax
push edx
mov byte [ebp - 4], 9
call fcn.00413e90
add esp, 0xc
push str.configure_mfp.htm
push eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xa
push eax
call fcn.00413fc0
add esp, 0xc
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 0xe
call fcn.004138f0
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0xd
call fcn.004138f0
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0xc
call fcn.004138f0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x41535e
mov eax, 0x4207f0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x415417
lea ecx, [ebp - 0x130]
push ecx
lea ecx, [ebp - 0x190]
call fcn.00413760
push 0x4259b8
lea edx, [ebp - 0x1c0]
push eax
push edx
mov byte [ebp - 4], 0xf
call fcn.00413fc0
add esp, 0xc
push 0x429060
push eax
lea eax, [ebp - 0x1a8]
mov bl, 0x10
push eax
mov byte [ebp - 4], bl
call fcn.00413e90
add esp, 0xc
push str.configure.htm
lea ecx, [ebp - 0x178]
push eax
push ecx
mov byte [ebp - 4], 0x11
call fcn.00413fc0
add esp, 0xc
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x12
call fcn.00413a20
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x11
call fcn.004138f0
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], bl
call fcn.004138f0
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 0xf
call fcn.004138f0
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0xc
call fcn.004138f0
mov ebx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x54]
call fcn.00415c50
push ecx
mov edi, eax
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x18], esp
push 0xc
call fcn.00417373
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
test esi, esi
mov byte [ebp - 4], 0x13
je 0x415469
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.004166e8
test eax, eax
mov dword [esi], eax
jne 0x41546b
test edi, edi
je 0x41546b
push 0x8007000e
call fcn.004167b9
jmp 0x41546b
xor esi, esi
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 0xc
test esi, esi
mov dword [edx], esi
jne 0x415482
push 0x8007000e
call fcn.004167b9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x14
call fcn.00415b20
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00415f80
lea ecx, [ebp - 0x254]
call section..text
push str.P3dsetup
lea ecx, [ebp - 0x208]
mov byte [ebp - 4], 0x15
call fcn.00413b00
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x254]
and eax, 0xfffe
xor eax, 1
mov word [ebp - 0x23c], ax
call fcn.00406210
lea ecx, [ebp - 0x254]
call fcn.004063a0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str.P3set._ds
lea ecx, [ebp - 0x254]
call fcn.00406350
lea ecx, [ebp - 0x254]
call fcn.004063a0
push ecx
mov edi, eax
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x18], esp
push 0xc
call fcn.00417373
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
test esi, esi
mov byte [ebp - 4], 0x16
je 0x415551
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.004166e8
test eax, eax
mov dword [esi], eax
jne 0x415553
test edi, edi
je 0x415553
push 0x8007000e
call fcn.004167b9
jmp 0x415553
xor esi, esi
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x15
test esi, esi
mov dword [ecx], esi
jne 0x41556a
push 0x8007000e
call fcn.004167b9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x17
call fcn.00415b20
push 0
mov ecx, eax
mov byte [ebp - 4], 0x15
call fcn.00415e40
push 0x21
mov ecx, ebx
call fcn.00415830
mov edx, dword [ebx + 4]
push 0
push 0x3e8
push 0xc
push edx
mov dword [ebx + 0xa0], eax
call dword [sym.imp.USER32.dll_SetTimer]
push 0xffffffffffffffff
lea ecx, [ebx + 0x84]
call fcn.00415c50
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00415c60
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x18
call fcn.00415b20
mov ecx, dword [ebx + 4]
mov byte [ebp - 4], 0x15
push ecx
mov ecx, eax
call fcn.00415d90
test eax, eax
jne 0x4156be
mov eax, dword [ebx + 0x8c]
test eax, eax
jne 0x4155f0
mov eax, 0x4207f0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4156be
mov edx, dword [ebx + 4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea esi, [ebx + 0xc8]
mov ecx, esi
call fcn.00413a00
test eax, eax
je 0x415683
push 0
push 4
lea ecx, [ebp - 0x2d0]
call fcn.00405f10
push eax
mov ecx, esi
mov byte [ebp - 4], 0x19
call fcn.00413a20
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x1d
call fcn.004138f0
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x1c
call fcn.004138f0
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x1b
call fcn.004138f0
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 0x1a
call fcn.004138f0
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 0x15
call fcn.004138f0
mov eax, dword [ebx + 0xd0]
mov ecx, 0x4207f0
test eax, eax
je 0x415694
mov ecx, eax
mov eax, dword [ebx + 0x8c]
test eax, eax
jne 0x4156a3
mov eax, 0x4207f0
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, ebx
call fcn.004157d0
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebx + 4]
push 0xc
push edx
call dword [sym.imp.USER32.dll_KillTimer]
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0xc
call fcn.00401200
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.004138f0
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x21
call fcn.004138f0
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0x20
call fcn.004138f0
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 0x1f
call fcn.004138f0
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x1e
call fcn.004138f0
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 4
call fcn.004138f0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.00405cc0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00405cc0
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 1
call fcn.00405cc0
jmp 0x415780
xor edi, edi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x415796
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebx + 0xc0]
cmp eax, edi
je 0x4157b7
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x4157b1
mov dword [ebx + 0xc0], edi
mov dword [ebx + 0xc0], edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret