Function at 0x4419b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x60a070]
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 esi, edx
mov edi, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x6162e4]
cmp eax, dword [edx + 4]
jle 0x441a40
push 0x6162e4
call fcn.0055effe
add esp, 4
cmp dword [0x6162e4], 0xffffffff
jne 0x441a40
xor eax, eax
mov dword [0x6162fc], 7
push 0x5a5410
mov dword [0x6162f8], 0
mov word [0x6162e8], ax
call fcn.0055f5a7
add esp, 4
push 0x6162e4
call fcn.0055efbf
add esp, 4
cmp dword [0x6162fc], 8
mov eax, 0x6162e8
mov dword [0x6162f8], 0
cmovae eax, dword [0x6162e8]
xor ecx, ecx
mov word [eax], cx
cmp dword [0x6162f8], ecx
sete al
test al, al
je 0x441c29
mov edx, esi
call fcn.004417c0
mov esi, eax
cmp dword [esi + 0x10], 0
sete al
test al, al
jne 0x441b2d
cmp dword [esi + 0x14], 8
jb 0x441a95
mov eax, dword [esi]
jmp 0x441a97
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x441b2d
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push ecx
lea edx, [ebp - 0x28]
mov dword [ebp - 4], eax
mov ecx, esi
call fcn.00501a70
add esp, 4
test al, al
je 0x441b1e
cmp dword [ebp - 0x18], 0x26
jb 0x441af2
push 0x26
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041da20
push eax
mov ecx, 0x6162e8
call fcn.00413810
jmp 0x441b16
cmp dword [esi + 0x14], 8
jb 0x441afc
mov eax, dword [esi]
jmp 0x441afe
mov eax, esi
push eax
lea ecx, [ebp - 0x40]
call fcn.00413890
push ecx
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.00413430
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.004137d0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004137d0
cmp dword [0x6162f8], 0
sete al
test al, al
je 0x441c29
mov ecx, 0x6162e8
call fcn.00413340
test al, al
jne 0x441b5c
push str.WDEFAULT_D7CA_4F31_B4C0_15DB86C98250
mov ecx, 0x6162e8
call fcn.00413710
cmp dword [0x6162fc], 8
lea ecx, [ebp - 0x28]
mov eax, 0x6162e8
cmovae eax, dword [0x6162e8]
push eax
call fcn.00413890
mov dword [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x441b89
mov eax, dword [esi]
jmp 0x441b8b
mov eax, esi
push eax
lea ecx, [ebp - 0x40]
call fcn.00413890
push edi
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00501800
add esp, 4
test al, al
mov eax, dword [ebp - 0x2c]
sete bl
cmp eax, 8
jb 0x441bc1
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00414580
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x441bf1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00414580
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test bl, bl
je 0x441c29
test edi, edi
je 0x441c29
cmp dword [esi + 0x14], 8
jb 0x441c15
mov esi, dword [esi]
mov ecx, dword [edi]
push esi
push str.Failed_to_create_workflowID_file_at:__s
push 0x5b9add
push edi
call dword [ecx + 0x18]
add esp, 0x10
mov eax, 0x6162e8
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.0055eeb4
mov esp, ebp
pop ebp
ret