Function at 0x1020b83
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x64
push 0x1002de0
call fcn.0102e874
xor esi, esi
mov dword [ebp - 0x1c], esi
xor edi, edi
inc edi
mov dword [ebp - 0x20], edi
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov eax, dword [ebp + 0x18]
mov dword [eax], esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1020bb6
xor eax, eax
jmp 0x1020c2f
push 0x103c2cc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x103c2bc]
cmp ebx, esi
je 0x1020bfa
mov eax, dword [0x103c2b8]
imul eax, eax, 0x58
push eax
call fcn.01031ae1
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x1020bf7
push 0x1002e58
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push dword [eax + 4]
call fcn.010202f3
cmp eax, edi
jge 0x1020c37
mov dword [ebp - 0x20], esi
push 0x103c2cc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
cmp dword [ebp - 0x24], esi
je 0x1020c1c
cmp dword [ebp - 0x1c], esi
jne 0x1020c1c
push dword [ebp - 0x24]
call fcn.01031b59
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
call fcn.0102e8ad
ret 0x14
cmp ebx, 0x103c2bc
je 0x1020bfa
add ebx, 0xfffffff8
mov dword [ebp - 0x28], ebx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
and dword [eax + 0x3c], 0
and dword [eax + 0x40], 0
mov esi, dword [ebp + 8]
lea eax, [esi + 0x5cc]
mov dword [ebp - 0x30], eax
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0x5c4]
mov edi, dword [eax]
test edi, edi
je 0x1020c7d
cmp edi, eax
jne 0x1020d79
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x58
mov ecx, dword [ebp - 0x24]
add eax, ecx
mov dword [ebp - 0x3c], eax
lea ecx, [eax + 0x50]
mov dword [ebp - 0x40], ecx
mov dword [ecx], edi
add eax, 0x54
mov dword [ebp - 0x44], eax
mov dword [eax], edi
push eax
push ecx
push dword [ebp + 0x10]
call dword [ebx + 0x30]
test eax, eax
jne 0x1020df9
mov word [ebp - 0x6c], di
push 9
pop ecx
lea edi, [ebp - 0x6a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push dword [esi + 0xc]
push dword [esi + 8]
push 0x10020ec
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
mov eax, dword [esi + 0x5e8]
push dword [ebx + 0x28]
mov ecx, dword [ebx + 0x34]
add ecx, 0x28
push ecx
push dword [esi + 0x34]
push dword [eax + 0x20]
push dword [eax + 0x34]
lea eax, [ebp - 0x6c]
push eax
push 0xc0007d59
push 6
push 1
push 3
call sub.FXSEVENT.dll_FaxLog
add esp, 0x38
push 0x27
push dword [ebp - 0x3c]
lea eax, [ebx + 0x10]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov esi, dword [ebp - 0x44]
mov eax, dword [esi]
test eax, eax
je 0x1020de2
mov edi, dword [ebp - 0x40]
mov ecx, dword [edi]
mov dword [ebp - 0x70], ecx
push eax
call fcn.01031ae1
mov dword [edi], eax
test eax, eax
je 0x1020d69
mov ecx, dword [esi]
mov esi, dword [ebp - 0x70]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push dword [ebp - 0x70]
push 0
mov eax, dword [ebx + 0x34]
push dword [eax + 0x640]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jne 0x1020ddf
and dword [ebp - 0x20], 0
or dword [ebp - 4], 0xffffffff
jmp 0x1020bfa
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x38], edi
mov eax, dword [edi]
mov dword [ebp - 0x34], eax
cmp dword [edi + 0x10], ebx
jne 0x1020dbd
push dword [edi + 0xc]
call fcn.01031ae1
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x3c], eax
test eax, eax
je 0x1020dcd
mov ecx, dword [edi + 0xc]
mov esi, dword [edi + 8]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x40], eax
mov esi, dword [ebp + 8]
lea eax, [esi + 0x5c4]
cmp dword [ebp - 0x34], eax
jne 0x1020d76
jmp 0x1020c7d
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
and dword [ebp - 0x20], 0
jmp 0x1020bfa
mov esi, dword [ebp - 0x44]
xor eax, eax
cmp dword [esi], eax
je 0x1020def
mov ecx, dword [ebp - 0x40]
cmp dword [ecx], eax
jne 0x1020df6
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov dword [esi], eax
inc dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x2c]
jmp 0x1020c37