Function at 0x412dd4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c895
mov eax, dword fs:[0]
push eax
mov eax, 0x122c
call fcn.00569440
mov eax, dword [0x62aa54]
stosb byte es:[edi], al
bound eax, qword [eax]
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 eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x1238], eax
cmp dword [0x62c328], ebx
jne 0x412f3a
call fcn.0042ab6b
test al, al
je 0x412e43
sub eax, 0x906579aa
stc
dec edx
retf 0xb43c
call fcn.0042aa12
test al, al
je 0x412e6c
js 0x412df1
pop ebp
mov dh, 0x32
add edi, dword [ecx]
mov al, byte [0x8b91e3b4]
mov edi, 0x4c21bd75
xor eax, 0x6190812d
idiv byte [edx - 0x56]
lahf
pop edi
mov ecx, 0x68db335e
or byte [edx], al
add byte [eax], al
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.0056f390
lea eax, [ebp - 0x218]
push 0x5a3658
push eax
call fcn.00578f87
add esp, 0x14
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x412f1a
cmp dword [0x627014], 8
lea ecx, [ebp - 0x1231]
mov eax, section..data
cmovae eax, dword [section..data]
push eax
lea eax, [ebp - 0x1230]
push eax
call fcn.00412d14
mov esi, str.ResLog.dll
mov dword [ebp - 4], ebx
push esi
call fcn.00578706
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1230]
call fcn.00408c34
cmp dword [ebp - 0x121c], 8
lea eax, [ebp - 0x1230]
cmovae eax, dword [ebp - 0x1230]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00578f87
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x1230]
call fcn.00403628
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x62c328], eax
test eax, eax
je 0x413015
mov eax, dword [ebp - 0x1238]
push ebx
push 0x5a06d8
mov ecx, eax
call fcn.00403772
call fcn.0042acc4
test al, al
je 0x412f67
cmpsd dword [esi], dword es:[edi]
out 0x2d, al
sub dh, cl
sub dword [esi], ecx
lea edi, [esi]
daa
salc
fld dword [ecx + 0x21]
push es
dec ebp
js 0x412f9f
jns 0x412fde
mov bh, 0x98
xchg ebx, eax
call fcn.0042aa57
test al, al
je 0x412f88
cld
jbe 0x412fcc
fidiv word [eax + 0x12]
xchg ecx, eax
mov eax, 0xc0e90596
cli
loop 0x412f8c
int 0xf9
xchg byte [esi], dh
xor bh, al
jg 0x412ff0
lahf
call fcn.0042aae1
test al, al
je 0x412fa9
add byte [eax + eax*8 - 0x795ce78c], al
mov edx, 0xaaa45765
mov dword [0x5765ba86], eax
movsb byte es:[edi], byte [esi]
stosb byte es:[edi], al
and ecx, dword [ebp + 0x4252c1fc]
retf 0x5250
retf 0x5250
push 0x800
lea eax, [ebp - 0x1218]
push eax
push dword [ebp + 8]
push dword [0x62c328]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jle 0x412ffa
cmp word [ebp - 0x1218], 0
jne 0x412fd6
in eax, dx
invalid
xor eax, eax
jmp 0x412fe3
lea eax, [ebp - 0x1218]
push eax
call fcn.00578706
pop ecx
and al, 0x57
push ss
add byte [ecx + 0x50], bl
push eax
lea ecx, [ebp - 0x1218]
push ecx
mov ecx, dword [ebp - 0x1238]
call fcn.00403772
mov al, 1
jmp 0x413017
invalid
call fcn.0042ac7f
test al, al
je 0x413015
int3
xor al, al
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.0056935c
mov esp, ebp
pop ebp
ret