Function at 0x431230
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6fb478
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x7ca418]
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
call fcn.0045fe1f
test al, al
je 0x431279
xchg ebp, eax
sbb eax, 0x7e5df313
dec edi
pushfd
dec esi
fimul word [edx - 0x53]
mov ah, 0xa
mov ebx, 0xc0707f77
inc esp
inc ebp
push 0x11
xor eax, eax
mov dword [ebp - 0x14], 7
push str.C:LogResLog.dll
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00420aa0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x431367
invalid
call fcn.0045fe1f
test al, al
je 0x4312e4
outsb dx, byte [esi]
xor byte [eax], ch
pushal
rcr dh, 1
mov eax, 0x2753a89
je 0x431310
dec ebx
jle 0x431351
in eax, 5
js 0x43131f
mov dl, dl
jns 0x4312ca
cmp ebx, edi
jns 0x43129a
scasb al, byte es:[edi]
sbb ch, al
or byte [ebx + eax], dh
call 0x4686f1
test eax, eax
jne 0x431367
call fcn.00460383
test al, al
je 0x431313
imul ecx, dword [eax - 0x45], 0xffffffb3
mov ah, 0x57
mov dl, 0xa9
xlatb
invalid
sub eax, 0xf68ab81
daa
add byte [eax], al
push 0x270f
push 0
call fcn.00468aa7
add esp, 8
cmp eax, 0x64
jle 0x431367
call fcn.0046033e
test al, al
je 0x431347
add byte [edi - 0x3d9daffa], bh
push 0x59c86e1a
pop ecx
xchg esi, eax
and byte [esi], ah
add dh, bh
dec ebx
pushal
xor byte [edi], dl
jle 0x4313b7
jbe 0x431330
call fcn.004603c8
jl 0x43133a
add al, byte [eax]
test al, al
je 0x431363
mov edx, 0x1d665b95
invalid
xchg ebp, eax
pop ebx
sbb ax, 0xabdd
mov edi, 0xd1302a2
out 0xeb, eax
mov ah, 0xdb
push 0x54
sti
xor bl, bl
jmp 0x431369
mov bl, 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x43137e
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00420ba0
mov al, bl
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.004584a2
mov esp, ebp
pop ebp
ret
jl 0x4313b9
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 ebx, ecx
mov dword [ebp - 0x44], ebx
call fcn.0045ff33
test al, al
je 0x4313fb
mov dh, 0x44
out dx, al
xchg esi, ebp
test dword [edx - 0x2221b7f2], edi
cmp al, 0x4b
les ebx, [ecx + 0xfd6d376]
ret
call fcn.0046026f
test al, al
je 0x43141b
and ebx, dword [ebp - 0x32025528]
dec eax
mov esp, 0x76b2226b
wait
ret 0x22ba
push 0
push 0
push 0
push 0
mov byte [ebx + 2], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 4], eax
call fcn.0046026f
test al, al
je 0x431452
xor al, 0xd
sub eax, 0xed061aa8
cli
mov ah, 0x15
xchg edi, eax
add dl, ch
pop ds
popfd
cmp eax, 0xc616c1af
inc esi
in al, 0x7a
int 0x31
mov ecx, ebx
call fcn.00431c20
test al, al
je 0x43156c
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push dword [ebx + 4]
call esi
test eax, eax
jne 0x43156c
mov eax, dword [ebx + 0xa0]
cmp eax, dword [ebx + 0xa4]
je 0x43155d
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.004322e0
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.004315c0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x4314f2
mov eax, dword [ebp - 0x28]
inc ecx
cmp ecx, 0x1000
jb 0x4314e9
sub dword [eax - 0x197af0e1], ebp
add byte [eax], al
add byte [ebx - 0x37c403b8], cl
test al, 0x1f
jne 0x4315ae
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x4315ae
sub eax, ecx
cmp eax, 4
jb 0x4315ae
cmp eax, 0x23
ja 0x4315ae
mov eax, ecx
push eax
call fcn.00458675
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 8
jb 0x43154b
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x7fffffff
ja 0x4315ae
add eax, eax
cmp eax, 0x1000
jb 0x431542
test cl, 0x1f
jne 0x4315ae
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4315ae
sub ecx, eax
cmp ecx, 4
jb 0x4315ae
add al, 0x72
jae 0x4314bf
cmp ecx, 0x23
ja 0x4315ae
stc
and esi, dword [edi + 0x6e]
mov ecx, eax
push ecx
call fcn.00458675
add esp, 4
mov eax, dword [ebx + 0xa0]
cmp eax, dword [ebx + 0xa4]
jne 0x431488
mov ecx, ebx
call fcn.00431c20
test al, al
jne 0x431467
call fcn.0046026f
test al, al
je 0x43158e
mov dword [0xb24b8e8b], eax
call 0x8da3ad52
push edx
mov edi, 0x77f52e74
jge 0x431538
inc esi
mov eax, dword [0x7be48f73]
push 0x10243c6
mov byte [ebx + 2], 1
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.004584a2
mov esp, ebp
pop ebp
ret
call fcn.004ed356
int3