Function at 0x423506
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
push esi
push edi
mov ecx, 0xa
mov esi, 0x443498
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ax, word [0x44bc68]
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.004303d5
add esp, 4
push 0x44da74
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 0x42380a
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 0x42362d
mov ecx, dword [ebp - 0x40]
push ecx
push 0xea
push 0
push 1
call fcn.0041bfab
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 0x42382e
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 0x4237f3
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.0041bfab
add esp, 0x14
cmp dword [0x44b08c], 0
je 0x423686
push 0x44c1c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x4236c4
push 0x44c1c0
call dword [0x44b824]
test eax, eax
jne 0x4236c4
cmp dword [0x44b090], 0
je 0x4236b9
cmp dword [0x44dc84], 0
je 0x4236b9
lea eax, [ebp - 0x3c]
push eax
push 0x443510
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
push 0x44c1c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x44b090], 0
je 0x4236e8
cmp dword [0x44dc84], 0
je 0x4236e8
lea ecx, [ebp - 0x3c]
push ecx
push 0x44354c
call dword [sym.imp.MSVCRT.dll_wprintf]
add esp, 8
mov dword [ebp - 0x48], 0
jmp 0x4236fa
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0xc]
jge 0x4237c4
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 0x4237bf
cmp dword [ebp - 8], 0x28
jne 0x4237bf
push 0x184
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x454]
push edx
call fcn.00420df3
add esp, 0xc
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
je 0x4237bf
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 0x4237b0
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x454]
jne 0x4237b0
push 0x416867
lea edx, [ebp - 0x474]
push edx
push 0
push 0
push 0
push 0x44c340
call dword [sym.imp.SQLSVC.dll_SHRecMemBSInsert]
add esp, 0x18
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x4237bf
mov ecx, dword [ebp - 0x450]
push ecx
call fcn.0042138d
add esp, 4
jmp 0x4236f1
push 0x44c1c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x44b090], 0
je 0x4237f3
cmp dword [0x44dc84], 0
je 0x4237f3
lea edx, [ebp - 0x3c]
push edx
push 0x443580
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 0x42382b
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0x133
push 0
push 2
call fcn.0041bfab
add esp, 0x14
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret