Function at 0x430c40
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4c57ac
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4f4970]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4970]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xbc]
mov esi, ecx
lea ebx, [esi + 0x6c]
mov ecx, ebx
call fcn.00402e30
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43110b
push str.Enable
lea ecx, [esp + 0x3c]
call fcn.00402bc0
lea edi, [esi + 0xa4]
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0xb8], 0
call fcn.0042e990
add esp, 4
test eax, eax
setne al
lea ecx, [esp + 0x38]
mov byte [ebp], al
call fcn.00402c40
lea ecx, [esp + 0x88]
call fcn.00402b90
push str.stdout
lea ecx, [esp + 0x18]
mov dword [esp + 0xb8], 1
call fcn.00402bc0
push str.OutFlag
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb8], 2
call fcn.00402bc0
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x3c]
push edx
mov edx, ebx
lea esi, [esp + 0x1c]
mov ecx, edi
mov byte [esp + 0xbc], 3
call fcn.0042e880
add esp, 8
lea ecx, [esp + 0x38]
call fcn.00402c40
mov ecx, esi
mov byte [esp + 0xb4], 1
call fcn.00402c40
lea ecx, [esp + 0x54]
call fcn.0040ad90
push 0x4dafb0
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 4
call fcn.00402bc0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xbc], 5
call fcn.00440b00
add esp, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 4
call fcn.00402c40
lea ecx, [esp + 0x54]
call fcn.0040c980
test eax, eax
jne 0x430dba
mov dword [ebp + 4], 2
jmp 0x430e38
lea ecx, [esp + 0x54]
call fcn.0040c980
test eax, eax
ja 0x430dcc
call fcn.0046d2c9
mov esi, dword [esp + 0x60]
call fcn.0042d4c0
lea ecx, [esp + 0x54]
mov dword [ebp + 4], eax
mov dword [esp + 0x34], 1
call fcn.0040c980
cmp eax, 1
jbe 0x430e38
mov dword [esp + 0x30], 0x1c
lea ecx, [esp + 0x54]
call fcn.0040c980
cmp dword [esp + 0x34], eax
jb 0x430e0a
call fcn.0046d2c9
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x30]
lea esi, [eax + edx]
call fcn.0042d4c0
mov esi, dword [esp + 0x34]
or dword [ebp + 4], eax
add dword [esp + 0x30], 0x1c
inc esi
lea ecx, [esp + 0x54]
mov dword [esp + 0x34], esi
call fcn.0040c980
cmp esi, eax
jb 0x430df6
push str.WithTime
lea ecx, [esp + 0x18]
call fcn.00402bc0
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 6
call fcn.0042e990
add esp, 4
test eax, eax
setne cl
mov byte [ebp + 8], cl
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 4
call fcn.00402c40
push str.WithMillisecond
lea ecx, [esp + 0x18]
call fcn.00402bc0
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 7
call fcn.0042e990
add esp, 4
test eax, eax
setne dl
lea ecx, [esp + 0x14]
mov byte [ebp + 9], dl
mov byte [esp + 0xb4], 4
call fcn.00402c40
push str.WithSrcFile
lea ecx, [esp + 0x18]
call fcn.00402bc0
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 8
call fcn.0042e990
add esp, 4
test eax, eax
setne al
lea ecx, [esp + 0x14]
mov byte [ebp + 0xa], al
mov byte [esp + 0xb4], 4
call fcn.00402c40
push str.WithFunction
lea ecx, [esp + 0x18]
call fcn.00402bc0
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 9
call fcn.0042e990
add esp, 4
test eax, eax
setne cl
mov byte [ebp + 0xb], cl
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 4
call fcn.00402c40
push 0x4d974d
lea ecx, [esp + 0x3c]
call fcn.00402bc0
push str.DestUrl
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 0xa
call fcn.00402bc0
lea edx, [ebp + 0xc]
push edx
lea eax, [esp + 0x18]
push eax
mov edx, ebx
lea esi, [esp + 0x40]
mov ecx, edi
mov byte [esp + 0xbc], 0xb
call fcn.0042e880
add esp, 8
lea ecx, [esp + 0x14]
call fcn.00402c40
mov ecx, esi
mov byte [esp + 0xb4], 4
call fcn.00402c40
push str.Overwrite
lea ecx, [esp + 0x18]
call fcn.00402bc0
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 0xc
call fcn.0042e990
add esp, 4
test eax, eax
setne cl
mov byte [ebp + 0x28], cl
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 4
call fcn.00402c40
push str.FlushBufferImmediately
lea ecx, [esp + 0x18]
call fcn.00402bc0
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 0xd
call fcn.0042e990
add esp, 4
test eax, eax
setne dl
lea ecx, [esp + 0x14]
mov byte [ebp + 0x29], dl
mov byte [esp + 0xb4], 4
call fcn.00402c40
push str.GenNewLogFileDaily
lea ecx, [esp + 0x18]
call fcn.00402bc0
push 0
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 0xe
call fcn.0042e990
add esp, 4
test eax, eax
setne al
lea ecx, [esp + 0x14]
mov byte [ebp + 0x2a], al
mov byte [esp + 0xb4], 4
call fcn.00402c40
push 0x4d974d
lea ecx, [esp + 0x3c]
call fcn.00402bc0
push str.LogFileDir
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 0xf
call fcn.00402bc0
lea ecx, [ebp + 0x2c]
push ecx
lea edx, [esp + 0x18]
push edx
mov edx, ebx
lea esi, [esp + 0x40]
mov ecx, edi
mov byte [esp + 0xbc], 0x10
call fcn.0042e880
add esp, 8
lea ecx, [esp + 0x14]
call fcn.00402c40
mov ecx, esi
mov byte [esp + 0xb4], 4
call fcn.00402c40
push 0x4d974d
lea ecx, [esp + 0x70]
call fcn.00402bc0
push str.LogFileName
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 0x11
call fcn.00402bc0
add ebp, 0x48
lea eax, [esp + 0x14]
push ebp
push eax
mov edx, ebx
lea esi, [esp + 0x74]
mov ecx, edi
mov byte [esp + 0xbc], 0x12
call fcn.0042e880
add esp, 8
lea ecx, [esp + 0x14]
call fcn.00402c40
mov ecx, esi
call fcn.00402c40
lea ecx, [esp + 0x54]
call fcn.0040af00
lea ecx, [esp + 0x88]
call fcn.00402c40
mov al, 1
jmp 0x43110d
xor al, al
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0046da8a
add esp, 0xa4
ret 4