Function at 0x44f000
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push ecx
xor edi, edi
push edx
mov dword [ebp - 8], edi
call fcn.0044f4c0
mov ebx, eax
xor eax, eax
cmp ebx, edi
je 0x44f1d1
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x1c], edi
mov dword [ebp - 0x28], 0x18
mov dword [ebp - 0x18], 3
je 0x44f054
or dword [ebp - 0x24], 1
cmp dword [ebp + 0x20], edi
je 0x44f05d
or dword [ebp - 0x24], 2
mov dword [ebp - 4], edi
call fcn.004c8448
mov esi, dword [ebp - 8]
cmp esi, edi
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x10], ecx
je 0x44f0d6
mov ecx, 4
mov edi, 0x4e0478
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x44f0d6
mov eax, dword [ebp + 0x10]
cmp word [eax], 0x2e
je 0x44f0d6
call dword [0x5053dc]
mov esi, dword [ebp + 0x10]
push esi
mov dword [ebp - 0xc], eax
call dword [0x5066c0]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.004aec00
mov ecx, dword [ebp - 0xc]
mov eax, esp
push ecx
push edi
push esi
push eax
call fcn.00409fb0
mov edx, dword [ebx]
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push 0xfefefefe
push eax
push ebx
call dword [edx + 0xc]
mov edi, dword [ebp + 0x14]
jmp 0x44f0ec
mov edi, dword [ebp + 0x14]
mov edx, dword [ebx]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x28]
push ecx
push eax
push edi
push ebx
call dword [edx + 0xc]
mov esi, eax
call fcn.004c8448
cmp esi, 0x80004001
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
je 0x44f123
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
xor edx, edx
test esi, esi
setge dl
lea eax, [ebp - 0x28]
push edx
call fcn.0044f1e0
lea esp, [ebp - 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x50]
xor esi, esi
cmp eax, esi
je 0x44f13b
mov eax, dword [ebx + 0x54]
push eax
call fcn.004be908
add esp, 4
mov eax, dword [ebp - 4]
cmp eax, esi
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x44], esi
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x4c], esi
mov dword [ebx + 0x50], esi
mov dword [ebx + 0x54], esi
je 0x44f15b
push eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetDim]
push esi
push esi
push esi
push 2
push esi
push edi
call dword [0x5065fc]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp + 0x14], esi
jne 0x44f180
xor eax, eax
lea esp, [ebp - 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push 1
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp + 0x18]
push ecx
push eax
xor edi, edi
push edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x44f1c5
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push esi
push ebx
call fcn.0044eeb0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
lea esp, [ebp - 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c