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

Disassembly:
sub esp, 0x104
push ebp
push esi
push edi
mov edi, dword [esp + 0x114]
test edi, edi
je 0x44dbc9
cmp byte [edi], 0
jne 0x44dbd8
push str.CM_LoadMap:_NULL_name
push 1
call fcn.0045b590
add esp, 8
push 0x200
push 0x55cd40
push str.cm_noAreas
call fcn.0045d890
push 0x200
push 0x55cd40
push str.cm_noCurves
mov dword [0x10b3e54], eax
call fcn.0045d890
push 0x201
push 0x55d434
push str.cm_playerCurveClip
mov dword [0x10b3d38], eax
call fcn.0045d890
push 0x200
push 0x55cd40
push str.cm_FCMcacheall
mov dword [0x10b3e58], eax
call fcn.0045d890
push 0x200
push 0x55cd40
push str.cm_FCMdebug
mov dword [0x10b3e38], eax
call fcn.0045d890
push 0x200
push 0x55d434
push str.cm_ter_usesphere
mov dword [0x10b3e44], eax
call fcn.0045d890
mov ebp, dword [esp + 0x160]
add esp, 0x48
mov dword [0x10b3d3c], eax
push ebp
push edi
push str.CM_LoadMap___s___i___n
call fcn.0045b480
add esp, 0xc
mov esi, edi
mov eax, 0x10b3d60
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x44dcb2
test cl, cl
je 0x44dcae
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x44dcb2
add eax, 2
add esi, 2
test cl, cl
jne 0x44dc8e
xor eax, eax
jmp 0x44dcb7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x44dcd8
test ebp, ebp
je 0x44dcd8
mov eax, dword [esp + 0x11c]
mov ecx, dword [0x597cf4]
pop edi
pop esi
mov dword [eax], ecx
pop ebp
add esp, 0x104
ret
push 0x36
push 0
push 0x10b3d60
call fcn.0045d220
add esp, 0xc
call fcn.0044f170
cmp byte [edi], 0
jne 0x44dd37
push 0x38
mov dword [0x10b3dcc], 1
mov dword [0x10b3dfc], 1
mov dword [0x10b3e14], 1
call fcn.0046bff0
mov edx, dword [esp + 0x120]
add esp, 4
mov dword [0x10b3df0], eax
pop edi
pop esi
mov dword [edx], 0
pop ebp
add esp, 0x104
ret
call fcn.0043adb0
push 1
lea eax, [esp + 0x18]
push 1
push eax
push edi
call fcn.0045f680
add esp, 0x10
test eax, eax
jg 0x44dd62
push edi
push str.Couldnt_load__s
push 1
call fcn.0045b590
add esp, 0xc
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push 0xec
push edx
call fcn.0045fc10
mov eax, dword [0xf44a60]
add esp, 0xc
test eax, eax
je 0x44dd9b
xor esi, esi
mov eax, dword [esp + esi*4 + 0x24]
push eax
call fcn.004737d0
add esp, 4
mov dword [esp + esi*4 + 0x24], eax
inc esi
cmp esi, 0x3b
jb 0x44dd84
mov ecx, dword [esp + 0x11c]
mov eax, dword [esp + 0x2c]
mov dword [ecx], eax
mov dword [0x597cf4], eax
mov eax, dword [esp + 0x28]
cmp eax, 0x13
jl 0x44ddbb
cmp eax, 0x15
jle 0x44ddd0
push 0x15
push 0x13
push eax
push edi
push str.CM_LoadMap:__s_has_wrong_version_number___i_should_be_between__i_and__i_
push 1
call fcn.0045b590
add esp, 0x18
push 0x5668e0
call fcn.00413670
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0x38]
push edx
push eax
push ecx
call fcn.0044db00
push 0x5668dc
call fcn.00413670
lea edx, [esp + 0x30]
lea eax, [esp + 0x24]
push edx
push eax
call fcn.0044ca50
push 0x5668d8
call fcn.00413670
lea ecx, [esp + 0x30]
push ecx
call fcn.0044db80
push 0x5668d4
call fcn.00413670
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x38]
push 0
lea eax, [esp + 0x68]
push edx
push eax
push ecx
call fcn.0044db00
push 0x5668d0
call fcn.00413670
add esp, 0x40
lea edx, [esp + 0xc]
push edx
call fcn.0044d210
push 0x5668cc
call fcn.00413670
lea eax, [esp + 0x14]
push eax
call fcn.0044db80
push 0x5668c8
call fcn.00413670
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push 0
lea edx, [esp + 0x5c]
push ecx
push edx
push eax
call fcn.0044db00
push 0x5668c4
call fcn.00413670
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x40]
push 0
lea edx, [esp + 0x78]
push ecx
push edx
push eax
call fcn.0044db00
push 0x5668c0
call fcn.00413670
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x48]
push edx
push eax
call fcn.0044d700
add esp, 0x44
push 0x5668bc
call fcn.00413670
lea ecx, [esp + 0x20]
push ecx
call fcn.0044db80
push 0x5668b8
call fcn.00413670
lea edx, [esp + 0x18]
push edx
call fcn.0044db80
push 0x5668b4
call fcn.00413670
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x20]
push 4
lea ecx, [esp + 0x78]
push eax
push ecx
push edx
call fcn.0044db00
push 0x5668b0
mov dword [0x597cf8], eax
call fcn.00413670
lea eax, [esp + 0x34]
push eax
call fcn.0044d350
push 0x5668ac
call fcn.00413670
lea ecx, [esp + 0x3c]
push ecx
call fcn.0044db80
push 0x5668a8
call fcn.00413670
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x44]
push 0
lea eax, [esp + 0xa4]
push edx
push eax
push ecx
call fcn.0044db00
add esp, 0x48
push 0x5668a4
call fcn.00413670
lea edx, [esp + 0x10]
push edx
call fcn.0044d3e0
push 0x5668a0
call fcn.00413670
lea eax, [esp + 0x18]
push eax
call fcn.0044db80
push 0x56689c
call fcn.00413670
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x88]
push ecx
push edx
push eax
call fcn.0044db00
push 0x566898
call fcn.00413670
mov eax, dword [esp + 0x50]
add esp, 0x28
cmp eax, 0x13
jge 0x44dfd1
lea ecx, [esp + 0xc]
push ecx
call fcn.0044d0c0
jmp 0x44dfdb
lea edx, [esp + 0xc]
push edx
call fcn.0044cf90
add esp, 4
push 0x566894
call fcn.00413670
lea eax, [esp + 0x10]
push eax
call fcn.0044db80
push 0x566890
call fcn.00413670
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push 0
lea edx, [esp + 0x88]
push ecx
push edx
push eax
call fcn.0044db00
push 0x56688c
call fcn.00413670
lea ecx, [esp + 0x2c]
push ecx
call fcn.0044cd80
push 0x566888
call fcn.00413670
lea edx, [esp + 0x34]
push edx
call fcn.0044db80
push 0x566884
call fcn.00413670
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x3c]
push 0x20
lea ecx, [esp + 0xb4]
push eax
push ecx
push edx
call fcn.0044db00
add esp, 0x40
mov dword [0x597cfc], eax
push 0x566880
call fcn.00413670
lea eax, [esp + 0x10]
push eax
call fcn.0044d470
push 0x56687c
call fcn.00413670
lea ecx, [esp + 0x18]
push ecx
call fcn.0044db80
push 0x566878
call fcn.00413670
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x20]
push 0
lea eax, [esp + 0xa0]
push edx
push eax
push ecx
call fcn.0044db00
push 0x566874
call fcn.00413670
lea edx, [esp + 0x34]
push edx
call fcn.0044d550
push 0x566870
call fcn.00413670
lea eax, [esp + 0x3c]
push eax
call fcn.0044db80
push 0x56686c
call fcn.00413670
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x44]
push 0
lea edx, [esp + 0xcc]
push ecx
push edx
push eax
call fcn.0044db00
add esp, 0x48
push 0x566868
call fcn.00413670
lea ecx, [esp + 0x10]
push ecx
call fcn.0044ceb0
push 0x566864
call fcn.00413670
lea edx, [esp + 0x18]
push edx
call fcn.0044db80
push 0x566860
call fcn.00413670
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x20]
push 0
lea ecx, [esp + 0xb0]
push eax
push ecx
push edx
call fcn.0044db00
push 0x56685c
call fcn.00413670
lea eax, [esp + 0x34]
push eax
call fcn.0044cba0
push 0x566858
call fcn.00413670
lea ecx, [esp + 0x3c]
push ecx
call fcn.0044db80
push 0x566854
call fcn.00413670
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x44]
push 0
lea eax, [esp + 0xdc]
push edx
push eax
push ecx
call fcn.0044db00
add esp, 0x48
push 0x566850
call fcn.00413670
lea edx, [esp + 0x10]
push edx
call fcn.0044d640
push 0x56684c
call fcn.00413670
lea eax, [esp + 0x18]
push eax
call fcn.0044db80
push 0x566848
call fcn.00413670
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0xc0]
push ecx
push edx
push eax
call fcn.0044db00
push 0x566844
call fcn.00413670
lea ecx, [esp + 0x34]
push ecx
call fcn.0044d670
push 0x566840
call fcn.00413670
lea edx, [esp + 0x3c]
push edx
call fcn.0044db80
push 0x56683c
call fcn.00413670
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x44]
push 0
lea ecx, [esp + 0x11c]
push eax
push ecx
push edx
call fcn.0044db00
add esp, 0x48
push 0x566838
call fcn.00413670
lea eax, [esp + 0x10]
push eax
call fcn.0044d950
push 0x566834
call fcn.00413670
lea ecx, [esp + 0x18]
push ecx
call fcn.0044db80
push 0x566830
call fcn.00413670
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x20]
push 0
lea eax, [esp + 0x100]
push edx
push eax
push ecx
call fcn.0044db00
push 0x56682c
call fcn.00413670
lea edx, [esp + 0x34]
push edx
call fcn.0044da70
push 0x566828
call fcn.00413670
lea eax, [esp + 0x3c]
push eax
call fcn.0044db80
push 0x566824
call fcn.00413670
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0045f310
push 0x566820
call fcn.00413670
add esp, 0x40
call fcn.0044e4c0
push 0x56681c
call fcn.00413670
call fcn.00456420
push 0x566818
call fcn.00413670
add esp, 8
test ebp, ebp
jne 0x44e2fc
push 0x40
push edi
push 0x10b3d60
call fcn.00474510
add esp, 0xc
push 0x566814
call fcn.00413670
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0x104
ret