Function at 0x4261d6
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
mov edi, ecx
push eax
mov dword [ebp - 0x41c], edi
call fcn.00492200
add esp, 0xc
push dword [edi + 0x368]
mov ebx, 0x103
push 0x4d8558
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.0048e74d
lea eax, [ebp - 0x210]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x42623c
sub eax, ecx
sar eax, 1
lea eax, [ebp + eax*2 - 0x212]
cmp word [eax], 0x5c
jne 0x42625c
xor ecx, ecx
mov word [eax], cx
xor eax, eax
push esi
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call fcn.00492200
add esp, 0xc
call fcn.0041fa8b
push dword [eax + 0x50]
mov esi, 0x4d8558
push esi
lea eax, [ebp - 0x418]
push ebx
push eax
call fcn.0048e74d
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0048c804
add esp, 0x18
test eax, eax
je 0x42641c
cmp dword [edi + 0x58c], 0
je 0x42632d
lea edi, [ebp - 0x210]
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
test ax, ax
jne 0x4262c0
mov esi, 0x4d8dcc
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x210]
dec edi
dec edi
mov ax, word [edi + 2]
inc edi
inc edi
test ax, ax
jne 0x4262d9
push 5
pop ecx
mov esi, str.Safebox6.0
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x210]
movsw word es:[edi], word [esi]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4262f9
sub eax, edx
sar eax, 1
cmp eax, 0xb4
jb 0x426322
push 1
push 1
push dword [ebp - 0x41c]
call fcn.00425ab6
jmp 0x426478
mov edi, dword [ebp - 0x41c]
mov esi, 0x4d8558
push edi
call fcn.00425f81
test eax, eax
je 0x426413
cmp eax, 2
je 0x426413
cmp eax, 1
je 0x426413
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x420], eax
test eax, eax
jne 0x42637c
lea eax, [ebp - 0x210]
push eax
call fcn.00479d8b
pop ecx
test eax, eax
jne 0x42637c
push 1
jmp 0x426414
lea eax, [ebp - 0x210]
push eax
call fcn.00479e22
pop ecx
test al, al
jne 0x4263a7
cmp dword [ebp - 0x420], 0
jne 0x4263a3
lea eax, [ebp - 0x210]
push eax
call fcn.00479ece
pop ecx
push 2
jmp 0x426414
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0048d376
pop ecx
pop ecx
test eax, eax
lea eax, [ebp - 0x418]
push eax
push esi
lea eax, [edi + 0x380]
push ebx
push eax
jne 0x4263e1
call fcn.0048e74d
mov dword [edi + 0x37c], 1
jmp 0x4263f0
mov dword [edi + 0x37c], 2
call fcn.0048e74d
lea eax, [ebp - 0x210]
add esp, 0x10
push eax
call fcn.0041fa8b
call fcn.00420feb
mov esi, edi
call fcn.0042575d
mov edi, dword [ebp - 0x41c]
jmp 0x426444
push eax
push 1
push edi
jmp 0x426318
call fcn.004257a2
push 0
push dword [edi + 0x228]
mov dword [edi + 0x36c], 5
push 0x1402
call fcn.00417925
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
call fcn.00425ecb
push 1
mov ebx, edi
call fcn.00424d55
mov ecx, edi
call fcn.00424f6a
xor ebx, ebx
inc ebx
call fcn.00426487
push 0
push 0x384
push 7
push dword [edi + 0x228]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048c64c
leave
ret