Function at 0x41c450
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff65c
push ebx
push esi
push edi
mov eax, 0x4d672c
call fcn.004becc8
mov dword [ebp - 0x54], 0x32
mov word [ebp - 0x40], 8
lea eax, [ebp - 4]
call fcn.00401df0
inc dword [ebp - 0x34]
mov word [ebp - 0x40], 0x14
push 0x100
lea edx, [ebp - 0x170]
push edx
push 0x4d571b
mov ecx, dword [sym.maintenance.exe__FormSetup]
mov eax, dword [ecx]
push dword [eax + 0x9fc]
call fcn.0042e8cc
add esp, 0x10
push dword [ebp + 8]
call fcn.0041c254
pop ecx
mov dword [ebp - 0x58], eax
push dword [ebp - 0x58]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041c388
add esp, 0xc
shl eax, 9
lea eax, [eax + eax*4]
cdq
idiv dword [0x4e3ab8]
mov dword [ebp - 0x5c], eax
push 0x678
call fcn.004bdad8
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x41c521
mov word [ebp - 0x40], 0x2c
mov edx, dword [sym.maintenance.exe__FormSetup]
mov ecx, dword [edx]
push dword [ecx + 0x9f4]
mov eax, dword [sym.maintenance.exe__FormSetup]
mov edx, dword [eax]
push dword [edx + 0x9fc]
push dword [ebp - 8]
call fcn.0048e3c0
add esp, 0xc
mov word [ebp - 0x40], 0x20
mov ecx, dword [ebp - 8]
jmp 0x41c524
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x60], ecx
mov word [ebp - 0x40], 0x14
push 0
lea eax, [ebp - 0x17c]
push eax
call fcn.00491834
add esp, 8
push 0xdc
lea edx, [ebp - 0x188]
push edx
call fcn.00491834
add esp, 8
push 0xff
lea eax, [ebp - 0x194]
push eax
call fcn.00491834
add esp, 8
lea edx, [ebp - 0x1a4]
push edx
call fcn.00415024
pop ecx
mov dword [ebp - 0x1a0], 0x3ce
mov ecx, dword [ebp - 0x5c]
sar ecx, 1
jns 0x41c587
adc ecx, 0
mov eax, 0x500
sub eax, ecx
mov dword [ebp - 0x1a4], eax
mov edx, dword [ebp - 0x1a4]
add edx, dword [ebp - 0x5c]
mov dword [ebp - 0x19c], edx
mov ecx, dword [ebp - 0x1a0]
add ecx, 0x64
mov dword [ebp - 0x198], ecx
push 0
add esp, 0xfffffff4
mov al, byte [ebp - 0x17c]
mov byte [esp], al
mov dl, byte [ebp - 0x17b]
mov byte [esp + 1], dl
mov cl, byte [ebp - 0x17a]
mov byte [esp + 2], cl
mov al, byte [ebp - 0x179]
mov byte [esp + 3], al
mov dl, byte [ebp - 0x178]
mov byte [esp + 4], dl
mov ecx, dword [ebp - 0x174]
mov dword [esp + 8], ecx
add esp, 0xfffffff4
mov al, byte [ebp - 0x17c]
mov byte [esp], al
mov dl, byte [ebp - 0x17b]
mov byte [esp + 1], dl
mov cl, byte [ebp - 0x17a]
mov byte [esp + 2], cl
mov al, byte [ebp - 0x179]
mov byte [esp + 3], al
mov dl, byte [ebp - 0x178]
mov byte [esp + 4], dl
mov ecx, dword [ebp - 0x174]
mov dword [esp + 8], ecx
add esp, 0xfffffff0
mov edi, esp
lea esi, [ebp - 0x1a4]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x60]
call fcn.0049075c
add esp, 0x30
inc dword [ebp - 0x1a4]
dec dword [ebp - 0x19c]
push 0
add esp, 0xfffffff4
mov al, byte [ebp - 0x188]
mov byte [esp], al
mov dl, byte [ebp - 0x187]
mov byte [esp + 1], dl
mov cl, byte [ebp - 0x186]
mov byte [esp + 2], cl
mov al, byte [ebp - 0x185]
mov byte [esp + 3], al
mov dl, byte [ebp - 0x184]
mov byte [esp + 4], dl
mov ecx, dword [ebp - 0x180]
mov dword [esp + 8], ecx
add esp, 0xfffffff4
mov al, byte [ebp - 0x188]
mov byte [esp], al
mov dl, byte [ebp - 0x187]
mov byte [esp + 1], dl
mov cl, byte [ebp - 0x186]
mov byte [esp + 2], cl
mov al, byte [ebp - 0x185]
mov byte [esp + 3], al
mov dl, byte [ebp - 0x184]
mov byte [esp + 4], dl
mov ecx, dword [ebp - 0x180]
mov dword [esp + 8], ecx
add esp, 0xfffffff0
mov edi, esp
lea esi, [ebp - 0x1a4]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x60]
call fcn.0049075c
add esp, 0x30
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*8]
mov edx, dword [ebp + 8]
push dword [edx + eax*4 + 0x14e0]
push str.lens__03d
lea ecx, [ebp - 4]
push ecx
call fcn.004cbc88
add esp, 0xc
push dword [ebp - 4]
push 0xc8
push 1
push 0x30
add esp, 0xfffffff4
mov al, byte [ebp - 0x194]
mov byte [esp], al
mov dl, byte [ebp - 0x193]
mov byte [esp + 1], dl
mov cl, byte [ebp - 0x192]
mov byte [esp + 2], cl
mov al, byte [ebp - 0x191]
mov byte [esp + 3], al
mov dl, byte [ebp - 0x190]
mov byte [esp + 4], dl
mov ecx, dword [ebp - 0x18c]
mov dword [esp + 8], ecx
add esp, 0xfffffff4
mov al, byte [ebp - 0x17c]
mov byte [esp], al
mov dl, byte [ebp - 0x17b]
mov byte [esp + 1], dl
mov cl, byte [ebp - 0x17a]
mov byte [esp + 2], cl
mov al, byte [ebp - 0x179]
mov byte [esp + 3], al
mov dl, byte [ebp - 0x178]
mov byte [esp + 4], dl
mov ecx, dword [ebp - 0x174]
mov dword [esp + 8], ecx
push 0x464
push 0x49c
push dword [ebp - 0x60]
call fcn.00490664
add esp, 0x34
add esp, 0xfffffff8
call fcn.004ac884
fstp qword [esp]
lea ecx, [ebp - 0x66]
lea edx, [ebp - 0x64]
lea eax, [ebp - 0x62]
call fcn.004ac864
add esp, 0xfffffff8
call fcn.004ac884
fstp qword [esp]
lea eax, [ebp - 0x6e]
push eax
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x6a]
lea eax, [ebp - 0x68]
call fcn.004ac588
movzx edx, word [ebp - 0x6a]
push edx
movzx ecx, word [ebp - 0x68]
push ecx
movzx eax, word [ebp - 0x62]
push eax
movzx edx, word [ebp - 0x64]
push edx
movzx ecx, word [ebp - 0x66]
push ecx
push str._02d._02d._04d__02d:_02d
lea eax, [ebp - 4]
push eax
call fcn.004cbc88
add esp, 0x1c
push dword [ebp - 4]
push 0x320
push 1
push 0x1c
add esp, 0xfffffff4
mov dl, byte [ebp - 0x194]
mov byte [esp], dl
mov cl, byte [ebp - 0x193]
mov byte [esp + 1], cl
mov al, byte [ebp - 0x192]
mov byte [esp + 2], al
mov dl, byte [ebp - 0x191]
mov byte [esp + 3], dl
mov cl, byte [ebp - 0x190]
mov byte [esp + 4], cl
mov eax, dword [ebp - 0x18c]
mov dword [esp + 8], eax
add esp, 0xfffffff4
mov dl, byte [ebp - 0x17c]
mov byte [esp], dl
mov cl, byte [ebp - 0x17b]
mov byte [esp + 1], cl
mov al, byte [ebp - 0x17a]
mov byte [esp + 2], al
mov dl, byte [ebp - 0x179]
mov byte [esp + 3], dl
mov cl, byte [ebp - 0x178]
mov byte [esp + 4], cl
mov eax, dword [ebp - 0x174]
mov dword [esp + 8], eax
push 0x338
push 0x370
push dword [ebp - 0x60]
call fcn.00490664
add esp, 0x34
lea edx, [ebp - 0x170]
push edx
push str._c__s_LensCalibration
lea ecx, [ebp - 4]
push ecx
call fcn.004cbc88
add esp, 0xc
push dword [ebp - 4]
push 0x320
push 1
push 0x1c
add esp, 0xfffffff4
mov al, byte [ebp - 0x194]
mov byte [esp], al
mov dl, byte [ebp - 0x193]
mov byte [esp + 1], dl
mov cl, byte [ebp - 0x192]
mov byte [esp + 2], cl
mov al, byte [ebp - 0x191]
mov byte [esp + 3], al
mov dl, byte [ebp - 0x190]
mov byte [esp + 4], dl
mov ecx, dword [ebp - 0x18c]
mov dword [esp + 8], ecx
add esp, 0xfffffff4
mov al, byte [ebp - 0x17c]
mov byte [esp], al
mov dl, byte [ebp - 0x17b]
mov byte [esp + 1], dl
mov cl, byte [ebp - 0x17a]
mov byte [esp + 2], cl
mov al, byte [ebp - 0x179]
mov byte [esp + 3], al
mov dl, byte [ebp - 0x178]
mov byte [esp + 4], dl
mov ecx, dword [ebp - 0x174]
mov dword [esp + 8], ecx
push 0x36a
push 0x370
push dword [ebp - 0x60]
call fcn.00490664
add esp, 0x34
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*8]
mov edx, dword [ebp + 8]
push dword [edx + eax*4 + 0x14e0]
push 0x70
push dword [ebp - 0x60]
call fcn.0048f558
add esp, 0xc
push dword [ebp - 0x58]
push 0x63
push dword [ebp - 0x60]
call fcn.0048f37c
add esp, 0xc
cmp eax, 0xfffffc18
jne 0x41cb98
mov word [ebp - 0x40], 0x38
lea eax, [ebp - 0xc]
call fcn.00401df0
inc dword [ebp - 0x34]
mov word [ebp - 0x40], 0x44
mov word [ebp - 0x40], 0x50
lea eax, [ebp - 0x10]
call fcn.00401df0
inc dword [ebp - 0x34]
mov word [ebp - 0x40], 0x44
lea edx, [ebp - 0x9a4]
push edx
push 0x800
call sub.KERNEL32.DLL_GetTempPathA
mov word [ebp - 0x40], 0x5c
lea edx, [ebp - 0x9a4]
lea eax, [ebp - 0x14]
call fcn.004cb964
inc dword [ebp - 0x34]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.004cbb68
dec dword [ebp - 0x34]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004cbb38
mov word [ebp - 0x40], 0x68
lea eax, [ebp - 0x18]
call fcn.00401df0
push eax
inc dword [ebp - 0x34]
lea eax, [ebp - 0x10]
mov ecx, 3
mov edx, 1
call fcn.004cbe5c
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x10]
call fcn.004cbb68
dec dword [ebp - 0x34]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004cbb38
lea eax, [ebp - 0x10]
call fcn.00401e20
push eax
mov word [ebp - 0x40], 0x74
mov edx, 0x4d576b
lea eax, [ebp - 0x1c]
call fcn.004cb964
inc dword [ebp - 0x34]
push dword [eax]
mov edx, dword [sym.maintenance.exe__FormSetup]
mov ecx, dword [edx]
push dword [ecx + 0x9e4]
call fcn.0040c968
add esp, 8
push eax
lea eax, [ebp - 0x20]
call fcn.00401df0
mov ecx, eax
inc dword [ebp - 0x34]
mov edx, dword [sym.maintenance.exe__FormSetup]
mov eax, dword [edx]
mov edx, dword [eax + 0x9e4]
mov eax, dword [edx + 4]
pop edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x20]
call fcn.00401e20
push eax
lea edx, [ebp - 0xc]
push edx
call fcn.004cbc88
add esp, 0xc
dec dword [ebp - 0x34]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004cbb38
dec dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004cbb38
push 0x30
mov word [ebp - 0x40], 0x80
mov edx, 0x4d5779
lea eax, [ebp - 0x24]
call fcn.004cb964
inc dword [ebp - 0x34]
push dword [eax]
mov ecx, dword [sym.maintenance.exe__FormSetup]
mov eax, dword [ecx]
push dword [eax + 0x9e4]
call fcn.0040c968
add esp, 8
push eax
lea eax, [ebp - 0x28]
call fcn.00401df0
mov ecx, eax
inc dword [ebp - 0x34]
mov edx, dword [sym.maintenance.exe__FormSetup]
mov eax, dword [edx]
mov edx, dword [eax + 0x9e4]
mov eax, dword [edx + 4]
pop edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x28]
call fcn.00401e20
push eax
lea eax, [ebp - 0xc]
call fcn.00401e20
push eax
mov eax, dword [ebp + 8]
call fcn.0046ce4c
push eax
call sub.USER32.DLL_MessageBoxA
dec dword [ebp - 0x34]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004cbb38
dec dword [ebp - 0x34]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004cbb38
dec dword [ebp - 0x34]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004cbb38
dec dword [ebp - 0x34]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004cbb38
mov word [ebp - 0x40], 0x14
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0
je 0x41cbbd
mov word [ebp - 0x40], 0x98
push 3
push dword [ebp - 0x2c]
call fcn.0048e620
add esp, 8
mov word [ebp - 0x40], 0x8c
dec dword [ebp - 0x34]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004cbb38
mov ecx, dword [ebp - 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret