Function at 0x100031e0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1002a74b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
mov eax, dword [0x1003b270]
xor eax, esp
push ebx
push ebp
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0x1a4]
push esi
mov ebp, ecx
mov dword [esp + 0xc], eax
lea eax, [ebp + 0x70]
push edi
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov ecx, 0x16
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x5c]
mov edx, dword [ecx + 4]
lea ebx, [ebp + 0x58]
xor esi, esi
push edx
mov ecx, ebx
mov dword [esp + 0x1a8], esi
call fcn.10002100
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
mov eax, dword [ebp + 0x68]
mov ecx, dword [eax]
add ebp, 0x64
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
cmp ecx, dword [ebp + 4]
mov dword [ebp + 8], esi
je 0x10003292
lea esp, [esp]
mov edi, dword [ecx]
push ecx
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
cmp edi, dword [ebp + 4]
mov ecx, edi
jne 0x10003280
xor eax, eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
mov byte [esp + 0x94], al
mov dword [esp + 0x8d], eax
mov ecx, 0x40
lea edi, [esp + 0x95]
rep stosd dword es:[edi], eax
push esi
push esi
push 0x104
lea ecx, [esp + 0xa0]
stosw word es:[edi], ax
push ecx
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov byte [esp + 0x90], 0
stosb byte es:[edi], al
call dword [sym.imp.MFC71U.DLL_COleStreamFile::GetStream]
push eax
push esi
push 0x3a8
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edx, [esp + 0x94]
push 0x1002d7f4
push edx
call dword [sym.imp.MSVCR71.dll_fopen]
mov edi, eax
add esp, 8
cmp edi, esi
mov dword [esp + 0x10], edi
jne 0x10003336
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x10003404
mov dword [esp + 0x1c], esi
lea ebx, [ebx]
mov esi, dword [sym.imp.MSVCR71.dll_fread]
push edi
push 8
lea ecx, [esp + 0x1c]
push 1
push ecx
call esi
add esp, 0x10
cmp eax, 8
jb 0x100033ea
push edi
push 0x14
lea edx, [esp + 0x84]
push 1
push edx
call esi
add esp, 0x10
cmp eax, 0x14
jl 0x100033ea
xor eax, eax
mov ecx, 0x16
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x14]
mov dword [esp + 0x28], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.10003040
mov edi, eax
mov ecx, 0x16
lea esi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 4]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
push ecx
push esi
mov ecx, ebp
call fcn.100021b0
push 1
mov ecx, ebp
mov edi, eax
call fcn.100021e0
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], edi
mov edx, dword [edi + 4]
add eax, 1
cmp eax, 5
mov dword [edx], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
jl 0x10003340
push edi
call dword [sym.imp.MSVCR71.dll_fclose]
mov eax, dword [esp + 0x24]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [esp + 0x19c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x18c]
pop ebx
xor ecx, esp
call fcn.1001590b
add esp, 0x198
ret 4