Function at 0x43ad76
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2038
call fcn.00434830
mov eax, dword [0x62b0b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x61c]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.00445350
push str.C:log_
mov edi, 0x104
lea eax, [ebp - 0x61c]
push edi
push eax
call fcn.0045328d
push 0x800
lea eax, [ebp - 0x1028]
push ebx
push eax
call fcn.00445350
push 0x6207f4
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.log
push eax
call fcn.0041f482
add esp, 0x34
call fcn.0043a8db
test al, al
je 0x43ae07
in al, dx
cmp dword [ebx + 0x71], ecx
add ah, dh
dec ebp
pop esi
mov ebx, 0x2ad6762a
inc ebp
sbb dh, cl
push esi
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.00445350
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00445350
add esp, 0x18
lea eax, [ebp - 0x20c]
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.004532f1
pop ecx
test eax, eax
je 0x43b05e
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004454aa
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43b05e
lea eax, [ebp - 0x20c]
push eax
call fcn.004532f1
lea ecx, [ebp - 0x20a]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.0045328d
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.txt
push eax
call fcn.0041f482
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x1028]
push 0x3ff
push 0x400
push eax
call fcn.0041f839
push ebx
call fcn.00448781
mov dword [ebp - 0x2038], eax
lea eax, [ebp - 0x2038]
push eax
mov dword [ebp - 0x2034], edx
call fcn.0045156f
add esp, 0x40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test esi, esi
je 0x43b05e
xchg ebp, eax
int3
lea ecx, [ebp - 0x1028]
push ecx
push eax
push dword [esi]
mov eax, dword [esi + 0x10]
push dword [esi + 4]
inc eax
push dword [esi + 8]
push dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x2028]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.0041f4a0
add esp, 0x28
call fcn.0043a9ef
test al, al
je 0x43af62
mov ch, 0xd2
jle 0x43aee8
mov eax, dword [0x3c94e83a]
ret
push edx
push esi
daa
pop edi
cmp al, 0xec
mov bl, 0x5e
adc eax, 0x92638415
xor byte [edx], dh
ljmp 0x84ff
call fcn.0043a48b
test al, al
je 0x43af84
mov al, byte [0x9069f73]
stosb byte es:[edi], al
push esp
push 0xffffffffffffffb5
jle 0x43af52
inc edi
invalid
call fcn.0043a73d
test al, al
je 0x43afa9
loopne 0x43afbe
jne 0x43af8d
cmpsd dword [esi], dword es:[edi]
pop ds
in eax, dx
and dword [ebp + 0x35838752], edi
push edx
pop esp
salc
jae 0x43b007
in eax, dx
call 0xd3224f22
invalid
xor eax, eax
mov word [ebp - 0x82a], ax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
add byte [edx], ch
xor ebx, ebx
pop esi
inc ebx
test eax, eax
lea eax, [ebp - 0x414]
push 0x5a5f40
push eax
cmovne esi, ebx
call fcn.00451a69
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x43b05e
test esi, esi
jne 0x43b004
push edi
push 2
lea eax, [ebp - 0x2030]
mov dword [ebp - 0x2030], 0xfeff
push ebx
push eax
call fcn.00453235
add esp, 0x10
lea eax, [ebp - 0x2028]
push eax
call fcn.004532f1
push edi
add eax, eax
push eax
lea eax, [ebp - 0x2028]
push ebx
push eax
call fcn.00453235
push edi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xd
push ebx
push eax
call fcn.00453235
push edi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xa
push ebx
push eax
call fcn.00453235
push edi
call fcn.00451867
add esp, 0x38
invalid
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00433ee3
mov esp, ebp
pop ebp
ret