Function at 0x440ac0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x9df264]
sub esp, 0xc
mov ecx, dword [eax + 8]
push ebx
push ebp
xor ebx, ebx
push esi
cmp ecx, 0x40000000
push edi
jne 0x440af7
mov ecx, dword [0x9ce4c8]
xor eax, eax
cmp ecx, ebx
mov dword [0xc3f008], 1
sete al
mov dword [0x9ce4cc], eax
jmp 0x440b32
cmp dword [eax + 8], 0x3f800000
jne 0x440b11
mov eax, 1
mov dword [0xc3f008], eax
mov dword [0x9ce4cc], eax
jmp 0x440b32
mov ecx, dword [eax + 8]
mov dword [0xc3f008], 2
cmp ecx, 0x40400000
je 0x440b2c
mov dword [0xc3f008], ebx
mov dword [0x9ce4cc], ebx
mov ecx, dword [0x9df170]
fld dword [ecx + 8]
call fcn.0048c3f4
mov edx, dword [0x9df3b0]
mov dword [0x9eebb4], eax
fld dword [edx + 8]
call fcn.0048c3f4
mov dword [0xc3eeac], eax
mov eax, dword [0x9df154]
fld dword [eax + 8]
call fcn.0048c3f4
mov dword [0x9ce4f4], eax
mov eax, dword [0xae5020]
cmp eax, ebx
je 0x440b7f
mov dword [0xc3f008], ebx
mov dword [0x9ce4f4], ebx
mov ecx, dword [0x9eec04]
mov esi, dword [esp + 0x24]
mov dword [ecx + 0x44], ebx
mov edx, dword [esi]
push edx
call dword [0xc375b4]
add esp, 4
cmp eax, 0x1d
je 0x440bce
cmp eax, 0x1e
je 0x440bd3
cmp eax, 0x1c
je 0x440bce
mov esi, dword [esp + 0x20]
push 0x1d
push eax
push esi
push str.Mod_LoadBrushModel:__s_has_wrong_version_number___i_should_be_28__29_or_30_
call fcn.0040f840
add esp, 0x10
mov dword [esi + 0x90], 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp eax, 0x1e
jne 0x440be4
mov eax, dword [0x9eec04]
mov dword [eax + 0x188], 3
jmp 0x440bf9
cmp eax, 0x1c
jne 0x440bf9
mov ecx, dword [0x9eec04]
mov dword [ecx + 0x188], 4
mov dword [0x9eec0c], esi
mov edi, esi
mov ebp, 0x1f
mov edx, dword [edi]
push edx
call dword [0xc375b4]
mov dword [edi], eax
add esp, 4
add edi, 4
dec ebp
jne 0x440c06
lea eax, [esi + 0x1c]
push eax
call fcn.0043eef0
lea ecx, [esi + 0x64]
push ecx
call fcn.0043f110
lea edx, [esi + 0x6c]
push edx
call fcn.0043f9a0
mov eax, dword [0x9eebb4]
add esp, 0xc
cmp eax, ebx
je 0x440c4c
lea eax, [esi + 0x14]
push eax
call fcn.0043d0b0
jmp 0x440c55
lea ecx, [esi + 0x14]
push ecx
call fcn.0043c820
add esp, 4
lea edx, [esi + 0x44]
push edx
call fcn.0043d5d0
lea eax, [esi + 0xc]
push eax
call fcn.0043fa20
lea ecx, [esi + 0x34]
push ecx
call fcn.0043f1a0
lea edx, [esi + 0x3c]
push edx
call fcn.0043dba0
lea eax, [esi + 0x5c]
push eax
call fcn.0043f8e0
mov ecx, dword [0x9eec04]
mov ebp, dword [esp + 0x3c]
push ebp
mov dword [ecx + 0x178], ebx
mov edx, dword [0x9eec04]
mov dword [edx + 0x8c], ebx
mov eax, dword [0x9eec04]
mov dword [eax + 0x88], ebx
call fcn.0043fcf0
mov edi, eax
add esp, 0x18
cmp edi, ebx
jl 0x440cca
push edi
call fcn.0043fbd0
push edi
call fcn.0043fc60
add esp, 8
mov eax, dword [0x9eec04]
cmp dword [eax + 0x178], ebx
je 0x440ce7
cmp dword [eax + 0x8c], ebx
je 0x440ce7
cmp dword [eax + 0x88], ebx
jne 0x440d0d
cmp edi, ebx
jl 0x440cf8
push str.External_VIS_data_are_invalid____n
call fcn.0040f840
add esp, 4
lea ecx, [esi + 0x24]
push ecx
call fcn.0043ecb0
lea edx, [esi + 0x54]
push edx
call fcn.0043f540
add esp, 8
cmp edi, ebx
jl 0x440d1a
push edi
call fcn.0040e170
add esp, 4
lea eax, [esi + 0x2c]
push eax
call fcn.0043f390
lea ecx, [esi + 0x4c]
push ecx
call fcn.0043f6c0
lea edx, [esi + 4]
push ebp
push edx
call fcn.0043ed20
add esi, 0x74
push esi
call fcn.0043efa0
add esp, 0x14
call fcn.0043f800
mov esi, dword [esp + 0x20]
mov dword [esi + 0x48], 2
mov dword [esi + 0x50], ebx
cmp dword [esi + 0x78], ebx
jle 0x440e5a
mov dword [esp + 0x20], ebx
mov edi, dword [esi + 0x7c]
mov eax, dword [esp + 0x20]
add edi, eax
mov edx, 3
mov eax, dword [edi + 0x24]
lea ecx, [edi + 0x28]
mov dword [esi + 0xd8], eax
lea eax, [esi + 0x104]
mov ebp, dword [ecx]
add ecx, 4
mov dword [eax - 4], ebp
mov ebp, dword [esi + 0xc0]
dec ebp
mov dword [eax], ebp
add eax, 0x28
dec edx
jne 0x440d82
mov ecx, dword [edi + 0x38]
lea eax, [esi + 0x60]
mov dword [esi + 0x70], ecx
mov edx, dword [edi + 0x3c]
mov dword [esi + 0x74], edx
mov ecx, dword [edi + 0xc]
mov dword [eax], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x64], edx
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x68], ecx
mov edx, dword [edi]
lea ecx, [esi + 0x54]
push eax
push ecx
mov dword [ecx], edx
mov edx, dword [edi + 4]
mov dword [esi + 0x58], edx
mov edx, dword [edi + 8]
mov dword [esi + 0x5c], edx
call fcn.0043fb40
mov ecx, dword [esi + 0x78]
add esp, 8
fstp dword [esi + 0x6c]
mov eax, dword [edi + 0x34]
dec ecx
cmp ebx, ecx
mov dword [esi + 0x88], eax
jge 0x440e43
lea edx, [ebx + 1]
lea eax, [esp + 0x10]
push edx
push 0x4a5274
push eax
call fcn.0048c4ea
lea ecx, [esp + 0x1c]
push ecx
call fcn.0043c380
mov ecx, 0x65
mov edi, eax
mov dword [0x9eec04], eax
xor eax, eax
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [0x9eec04]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [0x9eec04]
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x78]
inc ebx
add ecx, 0x40
cmp ebx, eax
mov dword [esp + 0x20], ecx
jl 0x440d62
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret