Function at 0x423daa
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
push esi
push edi
mov ecx, 0xa
mov esi, str.LoadMSXUploadOpCache
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ax, word [0x44974c]
mov word [ebp - 0x44c], ax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x44a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 8], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0
push str.LoadMSXUploadOpCache___n
call fcn.0042fc9e
add esp, 4
push 0x44b4d0
lea ecx, [ebp - 0x44c]
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push str.TSXCACHE.BIN
lea edx, [ebp - 0x44c]
push edx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.SQLUNIRL.dll__CreateFile_28]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
je 0x4240ae
push 0
lea ecx, [ebp - 8]
push ecx
push 4
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x40], 0x6acfc0
jge 0x423ed1
mov ecx, dword [ebp - 0x40]
push ecx
push 0xea
push 0
push 1
call fcn.0041b8d1
add esp, 0x10
lea edx, [ebp - 0x44c]
push edx
call dword [sym.imp.SQLUNIRL.dll__DeleteFile_4]
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4240d2
push 0
lea ecx, [ebp - 8]
push ecx
push 4
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0xc], 0
je 0x424097
lea ecx, [ebp - 0x44c]
push ecx
call dword [sym.imp.MSVCRT.dll__wcslwr]
add esp, 4
push eax
mov edx, dword [ebp - 0xc]
push edx
push 0x71
push 0
push 2
call fcn.0041b8d1
add esp, 0x14
cmp dword [0x448b1c], 0
je 0x423f2a
push 0x449c20
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x423f68
push 0x449c20
call dword [0x4492b4]
test eax, eax
jne 0x423f68
cmp dword [0x448b20], 0
je 0x423f5d
cmp dword [0x44b6e0], 0
je 0x423f5d
lea eax, [ebp - 0x3c]
push eax
push 0x441ab0
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
push 0x449c20
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x448b20], 0
je 0x423f8c
cmp dword [0x44b6e0], 0
je 0x423f8c
lea ecx, [ebp - 0x3c]
push ecx
push 0x441aec
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
mov dword [ebp - 0x48], 0
jmp 0x423f9e
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0xc]
jge 0x424068
push 0
lea ecx, [ebp - 8]
push ecx
push 0x28
lea edx, [ebp - 0x474]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x424063
cmp dword [ebp - 8], 0x28
jne 0x424063
push 0x38e
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x454]
push edx
call fcn.00420465
add esp, 0xc
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
je 0x424063
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x454]
push ecx
mov edx, dword [ebp - 0x450]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x424054
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x454]
jne 0x424054
push 0x41641d
lea edx, [ebp - 0x474]
push edx
push 0
push 0
push 0
push 0x449da0
call dword [sym.imp.SQLSVC.dll_SHRecMemBSInsert]
add esp, 0x18
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x424063
mov ecx, dword [ebp - 0x450]
push ecx
call fcn.004209ff
add esp, 4
jmp 0x423f95
push 0x449c20
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x448b20], 0
je 0x424097
cmp dword [0x44b6e0], 0
je 0x424097
lea edx, [ebp - 0x3c]
push edx
push 0x441b20
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x44c]
push ecx
call dword [sym.imp.SQLUNIRL.dll__DeleteFile_4]
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 4]
je 0x4240cf
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0x133
push 0
push 2
call fcn.0041b8d1
add esp, 0x14
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret