Function at 0x43da90
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 0x43daa9
cmp byte [edi], 0
jne 0x43dab8
push str.CM_LoadMap:_NULL_name
push 1
call fcn.0044a830
add esp, 8
push 0x200
push 0x53f59c
push str.cm_noAreas
call fcn.0044cc40
push 0x200
push 0x53f59c
push str.cm_noCurves
mov dword [0xed1ad4], eax
call fcn.0044cc40
push 0x201
push 0x53f75c
push str.cm_playerCurveClip
mov dword [0xed19b8], eax
call fcn.0044cc40
push 0x200
push 0x53f59c
push str.cm_FCMcacheall
mov dword [0xed1ad8], eax
call fcn.0044cc40
push 0x200
push 0x53f59c
push str.cm_FCMdebug
mov dword [0xed1ab8], eax
call fcn.0044cc40
push 0x200
push 0x53f75c
push str.cm_ter_usesphere
mov dword [0xed1ac4], eax
call fcn.0044cc40
mov ebp, dword [esp + 0x160]
add esp, 0x48
mov dword [0xed19bc], eax
push ebp
push edi
push str.CM_LoadMap___s___i___n
call fcn.0044a720
add esp, 0xc
mov esi, edi
mov eax, 0xed19e0
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x43db92
test cl, cl
je 0x43db8e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x43db92
add eax, 2
add esi, 2
test cl, cl
jne 0x43db6e
xor eax, eax
jmp 0x43db97
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x43dbb8
test ebp, ebp
je 0x43dbb8
mov eax, dword [esp + 0x11c]
mov ecx, dword [0x57045c]
pop edi
pop esi
mov dword [eax], ecx
pop ebp
add esp, 0x104
ret
push 0x36
push 0
push 0xed19e0
call fcn.0044c5f0
add esp, 0xc
call fcn.0043e6b0
cmp byte [edi], 0
jne 0x43dc17
push 0x38
mov dword [0xed1a4c], 1
mov dword [0xed1a7c], 1
mov dword [0xed1a94], 1
call fcn.0045b280
mov edx, dword [esp + 0x120]
add esp, 4
mov dword [0xed1a70], eax
pop edi
pop esi
mov dword [edx], 0
pop ebp
add esp, 0x104
ret
call fcn.0042cee0
push 1
lea eax, [esp + 0x18]
push 1
push eax
push edi
call fcn.0044e9f0
add esp, 0x10
test eax, eax
jg 0x43dc42
push edi
push str.Couldnt_load__s
push 1
call fcn.0044a830
add esp, 0xc
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push 0xec
push edx
call fcn.0044efd0
mov eax, dword [0xd830a0]
add esp, 0xc
test eax, eax
je 0x43dc7b
xor esi, esi
mov eax, dword [esp + esi*4 + 0x24]
push eax
call fcn.00461f30
add esp, 4
mov dword [esp + esi*4 + 0x24], eax
inc esi
cmp esi, 0x3b
jb 0x43dc64
mov ecx, dword [esp + 0x11c]
mov eax, dword [esp + 0x2c]
mov dword [ecx], eax
mov dword [0x57045c], eax
mov eax, dword [esp + 0x28]
cmp eax, 0x13
jl 0x43dc98
jle 0x43dcad
push 0x13
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.0044a830
add esp, 0x18
push 0x5469b8
call fcn.004124a0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0x38]
push edx
push eax
push ecx
call fcn.0043d9e0
push 0x5469b4
call fcn.004124a0
lea edx, [esp + 0x30]
lea eax, [esp + 0x24]
push edx
push eax
call fcn.0043c9a0
push 0x5469b0
call fcn.004124a0
lea ecx, [esp + 0x30]
push ecx
call fcn.0043da60
push 0x5469ac
call fcn.004124a0
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x38]
push 0
lea eax, [esp + 0x68]
push edx
push eax
push ecx
call fcn.0043d9e0
push 0x5469a8
call fcn.004124a0
add esp, 0x40
lea edx, [esp + 0xc]
push edx
call fcn.0043d110
push 0x5469a4
call fcn.004124a0
lea eax, [esp + 0x14]
push eax
call fcn.0043da60
push 0x5469a0
call fcn.004124a0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push 0
lea edx, [esp + 0x5c]
push ecx
push edx
push eax
call fcn.0043d9e0
push 0x54699c
call fcn.004124a0
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x40]
push 0
lea edx, [esp + 0x78]
push ecx
push edx
push eax
call fcn.0043d9e0
push 0x546998
call fcn.004124a0
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x48]
push edx
push eax
call fcn.0043d600
add esp, 0x44
push 0x546994
call fcn.004124a0
lea ecx, [esp + 0x20]
push ecx
call fcn.0043da60
push 0x546990
call fcn.004124a0
lea edx, [esp + 0x18]
push edx
call fcn.0043da60
push 0x54698c
call fcn.004124a0
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x20]
push 4
lea ecx, [esp + 0x78]
push eax
push ecx
push edx
call fcn.0043d9e0
push 0x546988
mov dword [0x570460], eax
call fcn.004124a0
lea eax, [esp + 0x34]
push eax
call fcn.0043d250
push 0x546984
call fcn.004124a0
lea ecx, [esp + 0x3c]
push ecx
call fcn.0043da60
push 0x546980
call fcn.004124a0
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x44]
push 0
lea eax, [esp + 0xa4]
push edx
push eax
push ecx
call fcn.0043d9e0
add esp, 0x48
push 0x54697c
call fcn.004124a0
lea edx, [esp + 0x10]
push edx
call fcn.0043d2e0
push 0x546978
call fcn.004124a0
lea eax, [esp + 0x18]
push eax
call fcn.0043da60
push 0x546974
call fcn.004124a0
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x88]
push ecx
push edx
push eax
call fcn.0043d9e0
push 0x546970
call fcn.004124a0
mov eax, dword [esp + 0x50]
add esp, 0x28
cmp eax, 0x13
jge 0x43deae
lea ecx, [esp + 0xc]
push ecx
call fcn.0043cfc0
jmp 0x43deb8
lea edx, [esp + 0xc]
push edx
call fcn.0043ce90
add esp, 4
push 0x54696c
call fcn.004124a0
lea eax, [esp + 0x10]
push eax
call fcn.0043da60
push 0x546968
call fcn.004124a0
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push 0
lea edx, [esp + 0x88]
push ecx
push edx
push eax
call fcn.0043d9e0
push 0x546964
call fcn.004124a0
lea ecx, [esp + 0x2c]
push ecx
call fcn.0043cc80
push 0x546960
call fcn.004124a0
lea edx, [esp + 0x34]
push edx
call fcn.0043da60
push 0x54695c
call fcn.004124a0
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x3c]
push 0x20
lea ecx, [esp + 0xb4]
push eax
push ecx
push edx
call fcn.0043d9e0
add esp, 0x40
mov dword [0x570464], eax
push 0x546958
call fcn.004124a0
lea eax, [esp + 0x10]
push eax
call fcn.0043d370
push 0x546954
call fcn.004124a0
lea ecx, [esp + 0x18]
push ecx
call fcn.0043da60
push 0x546950
call fcn.004124a0
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x20]
push 0
lea eax, [esp + 0xa0]
push edx
push eax
push ecx
call fcn.0043d9e0
push 0x54694c
call fcn.004124a0
lea edx, [esp + 0x34]
push edx
call fcn.0043d450
push 0x546948
call fcn.004124a0
lea eax, [esp + 0x3c]
push eax
call fcn.0043da60
push 0x546944
call fcn.004124a0
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x44]
push 0
lea edx, [esp + 0xcc]
push ecx
push edx
push eax
call fcn.0043d9e0
add esp, 0x48
push 0x546940
call fcn.004124a0
lea ecx, [esp + 0x10]
push ecx
call fcn.0043cdb0
push 0x54693c
call fcn.004124a0
lea edx, [esp + 0x18]
push edx
call fcn.0043da60
push 0x546938
call fcn.004124a0
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x20]
push 0
lea ecx, [esp + 0xb0]
push eax
push ecx
push edx
call fcn.0043d9e0
push 0x546934
call fcn.004124a0
lea eax, [esp + 0x34]
push eax
call fcn.0043caa0
push 0x546930
call fcn.004124a0
lea ecx, [esp + 0x3c]
push ecx
call fcn.0043da60
push 0x54692c
call fcn.004124a0
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x44]
push 0
lea eax, [esp + 0xdc]
push edx
push eax
push ecx
call fcn.0043d9e0
add esp, 0x48
push 0x546928
call fcn.004124a0
lea edx, [esp + 0x10]
push edx
call fcn.0043d540
push 0x546924
call fcn.004124a0
lea eax, [esp + 0x18]
push eax
call fcn.0043da60
push 0x546920
call fcn.004124a0
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0xc0]
push ecx
push edx
push eax
call fcn.0043d9e0
push 0x54691c
call fcn.004124a0
lea ecx, [esp + 0x34]
push ecx
call fcn.0043d570
push 0x546918
call fcn.004124a0
lea edx, [esp + 0x3c]
push edx
call fcn.0043da60
push 0x546914
call fcn.004124a0
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x44]
push 0
lea ecx, [esp + 0x11c]
push eax
push ecx
push edx
call fcn.0043d9e0
add esp, 0x48
push 0x546910
call fcn.004124a0
lea eax, [esp + 0x10]
push eax
call fcn.0043d840
push 0x54690c
call fcn.004124a0
lea ecx, [esp + 0x18]
push ecx
call fcn.0043da60
push 0x546908
call fcn.004124a0
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x20]
push 0
lea eax, [esp + 0x100]
push edx
push eax
push ecx
call fcn.0043d9e0
push 0x546904
call fcn.004124a0
lea edx, [esp + 0x34]
push edx
call fcn.0043d950
push 0x546900
call fcn.004124a0
lea eax, [esp + 0x3c]
push eax
call fcn.0043da60
push 0x5468fc
call fcn.004124a0
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0044e680
push 0x5468f8
call fcn.004124a0
add esp, 0x40
call fcn.0043e390
push 0x5468f4
call fcn.004124a0
call fcn.004459c0
push 0x5468f0
call fcn.004124a0
add esp, 8
test ebp, ebp
jne 0x43e1d9
push 0x40
push edi
push 0xed19e0
call fcn.00462c70
add esp, 0xc
push 0x5468ec
call fcn.004124a0
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0x104
ret