Function at 0x425370
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x44d558]
mov dword [ebp - 0x1c], eax
push esi
push edi
mov ecx, 0xa
mov esi, 0x446534
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ax, word [0x44ea58]
mov word [ebp - 0x478], ax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x476]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x47c], 0
push str.LoadMSXUploadOpCache___n
call fcn.004329b0
add esp, 4
push 0x450878
lea ecx, [ebp - 0x478]
push ecx
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
push str.TSXCACHE.BIN
lea edx, [ebp - 0x478]
push edx
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
push 0
push 0x100080
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x478]
push eax
call dword [sym.imp.SQLUNIRL.dll__CreateFile_28]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x425668
push 0
lea ecx, [ebp - 0x48]
push ecx
push 4
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x10], 0x6acfc0
jge 0x4254a4
mov ecx, dword [ebp - 0x10]
push ecx
push 0xea
push 0
push 1
call fcn.0041d760
add esp, 0x10
lea edx, [ebp - 0x478]
push edx
call dword [sym.imp.SQLUNIRL.dll__DeleteFile_4]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x425695
push 0
lea ecx, [ebp - 0x48]
push ecx
push 4
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 8], 0
je 0x425651
lea ecx, [ebp - 0x478]
push ecx
call dword [sym.imp.MSVCR71.dll__wcslwr]
add esp, 4
push eax
mov edx, dword [ebp - 8]
push edx
push 0x71
push 0
push 2
call fcn.0041d760
add esp, 0x14
cmp dword [0x44de90], 0
je 0x4254fd
push 0x44efc0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x42553b
push 0x44efc0
call dword [0x44e628]
test eax, eax
jne 0x42553b
cmp dword [0x44de94], 0
je 0x425530
cmp dword [0x450a88], 0
je 0x425530
lea eax, [ebp - 0x74]
push eax
push 0x4465ac
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
push 0x44efc0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x44de94], 0
je 0x42555f
cmp dword [0x450a88], 0
je 0x42555f
lea ecx, [ebp - 0x74]
push ecx
push 0x4465e8
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
mov dword [ebp - 0x14], 0
jmp 0x425571
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jge 0x425622
push 0
lea ecx, [ebp - 0x48]
push ecx
push 0x28
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42561d
cmp dword [ebp - 0x48], 0x28
jne 0x42561d
push 0x184
lea ecx, [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.00422830
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42561d
push 0
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x425611
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x24]
jne 0x425611
push 0x417d00
lea edx, [ebp - 0x44]
push edx
push 0
push 0
push 0
push 0x44f140
call dword [sym.imp.SQLSVC.dll_SHRecMemBSInsert]
add esp, 0x18
mov eax, dword [ebp - 0x47c]
add eax, 1
mov dword [ebp - 0x47c], eax
jmp 0x42561d
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00422e50
add esp, 4
jmp 0x425568
push 0x44efc0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x44de94], 0
je 0x425651
cmp dword [0x450a88], 0
je 0x425651
lea edx, [ebp - 0x74]
push edx
push 0x44661c
call dword [sym.imp.MSVCR71.dll_wprintf]
add esp, 8
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x478]
push ecx
call dword [sym.imp.SQLUNIRL.dll__DeleteFile_4]
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x47c]
je 0x42568f
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x47c]
push ecx
push 0x133
push 0
push 2
call fcn.0041d760
add esp, 0x14
mov eax, dword [ebp - 0x47c]
mov ecx, dword [ebp - 0x1c]
call fcn.00434de1
pop edi
pop esi
mov esp, ebp
pop ebp
ret