Function at 0x4346b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4524eb
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x469738]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], eax
mov word [ebp - 0x234], cx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov edx, dword [0x46c178]
push ebx
push edi
mov eax, esi
call fcn.00434460
mov dword [ebp - 0x238], eax
mov eax, esi
sub eax, 0x110
je 0x43476d
dec eax
jne 0x434948
cmp ebx, 0x47b
je 0x434743
cmp ebx, 0x47a
je 0x434743
cmp ebx, 0x3e8
jne 0x434948
push ebx
push edi
call dword [sym.imp.USER32.dll_EndDialog]
cmp dword [ebp - 0x220], 8
jb 0x434763
mov edx, dword [ebp - 0x234]
push edx
call fcn.004396db
add esp, 4
mov eax, 1
jmp 0x434966
push 0x9d2
push edi
mov ecx, 0x458
call fcn.00434270
push 0x9d3
push edi
mov ecx, 0x463
call fcn.00434270
push 0x41f
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x448
push eax
mov dword [ebp - 0x23c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x46bd98]
add eax, 0xcd0
cmp dword [eax + 0x14], 8
jb 0x4347c1
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0043a043
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
push str.license.txt
lea ecx, [ebp - 0x218]
push ecx
call esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea edx, [ebp - 0x218]
push edx
call ebx
test eax, eax
je 0x434814
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x218]
call fcn.00423de0
add esp, 4
jmp 0x434887
cmp dword [0x46beb8], 8
mov eax, dword [0x46bea4]
jae 0x434827
mov eax, 0x46bea4
push eax
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.0043a043
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.license.txt
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [ebp - 0x218]
push ecx
call ebx
test eax, eax
je 0x43487b
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x218]
call fcn.00423de0
add esp, 4
jmp 0x434887
lea eax, [ebp - 0x234]
push eax
call fcn.0042df90
cmp dword [ebp - 0x224], 0
je 0x434935
mov eax, dword [ebp - 0x234]
mov ebx, 8
cmp dword [ebp - 0x220], ebx
jae 0x4348ad
lea eax, [ebp - 0x234]
mov ecx, 0xfeff
cmp word [eax], cx
jne 0x4348c9
mov eax, 1
xor ecx, ecx
lea esi, [ebp - 0x234]
call fcn.00406150
mov edx, dword [ebp - 0x224]
lea eax, [edx + edx]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x220], ebx
jb 0x4348ee
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x248], ecx
jmp 0x4348fa
lea edx, [ebp - 0x234]
mov dword [ebp - 0x248], edx
mov edx, dword [ebp - 0x23c]
lea ecx, [ebp - 0x254]
push ecx
push 0x11
push 0x449
lea eax, [ebp - 0x248]
push edx
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x24c], 0x434670
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x47b
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x220], 8
jb 0x434960
mov eax, dword [ebp - 0x234]
push eax
call fcn.004396db
add esp, 4
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00438351
mov esp, ebp
pop ebp
ret 4