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

Disassembly:
sub esp, 0x334
mov ecx, dword [esp + 0x338]
push ebx
mov eax, ecx
push ebp
shl eax, 4
add eax, ecx
push esi
push edi
xor ebx, ebx
lea eax, [eax + eax*4]
mov dword [esp + 0x14], ebx
lea eax, [eax + eax*4]
lea edx, [ecx + eax*2]
lea esi, [ecx + edx*2]
mov edx, dword [0x4b5b4c]
shl esi, 2
mov dword [esp + 0x28], esi
mov eax, dword [esi + edx + 0x26cc]
lea ecx, [esi + edx + 0x26cc]
lea edi, [eax + eax*2]
shl edi, 3
sub edi, eax
mov eax, dword [ecx + edi*4 + 0x14]
cmp eax, ebx
lea ebp, [ecx + edi*4 + 0xc]
jle 0x43f10a
lea edi, [ebp + 0x10]
mov eax, dword [edi]
mov esi, dword [edi - 4]
cmp eax, 0xffffffff
je 0x43f0ef
lea eax, [esi - 1]
cmp eax, 4
jge 0x43f068
mov eax, dword [0x4b68bc]
mov dword [edx + esi*4 + 0xc4fc], eax
mov edx, dword [0x4b5b4c]
mov eax, dword [edi]
cmp eax, ebx
jl 0x43f076
cmp eax, dword [edx + 0xcd4]
jl 0x43f0a5
push 0x760
push 0x4a9c34
call fcn.00418f50
add esp, 4
push eax
push 0x4a9c54
push 0x4b6d60
call fcn.00492257
push 0x4b6d60
call fcn.004187d0
add esp, 0x14
mov ecx, dword [edi]
push ecx
call fcn.0043a960
mov edx, dword [0x4b5b4c]
add esp, 4
mov dword [edx + esi*4 + 0xb650], eax
mov edx, dword [0x4b5b4c]
cmp dword [edx + esi*4 + 0xb650], ebx
je 0x43f149
lea eax, [esi - 1]
cmp eax, 4
jge 0x43f0ef
mov eax, dword [0x4b68bc]
mov ecx, dword [edx + esi*4 + 0xc4fc]
sub eax, ecx
mov dword [edx + esi*4 + 0xc4fc], eax
mov edx, dword [0x4b5b4c]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
inc eax
add edi, 0x14
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x43f040
mov esi, dword [esp + 0x28]
mov eax, dword [esi + edx + 0x26cc]
lea esi, [esi + edx + 0x26cc]
xor edi, edi
mov dword [esp + 0x34], esi
lea ecx, [eax + eax*2]
mov dword [esp + 0x14], edi
shl ecx, 3
sub ecx, eax
lea eax, [esi + ecx*4 + 0xc]
mov dword [esp + 0x2c], eax
cmp dword [eax + 8], ebx
jle 0x43fbef
add eax, 0x18
mov ebp, 0xa
mov dword [esp + 0x24], eax
jmp 0x43f18a
lea edi, [edx + 0xc534]
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push str._nError_loading_p_i
lea ecx, [ecx + edx + 0xc534]
push ecx
call fcn.00492257
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x334
ret
mov edx, dword [0x4b5b4c]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov eax, dword [eax - 0xc]
cmp eax, 1
mov dword [esp + 0x10], eax
jl 0x43f19f
cmp eax, 4
jle 0x43f1d8
push 0x770
push 0x4a9c88
call fcn.00418f50
add esp, 4
push eax
push 0x4a9ca8
push 0x4b6d60
call fcn.00492257
push 0x4b6d60
call fcn.004187d0
mov edx, dword [0x4b5b4c]
mov eax, dword [esp + 0x24]
add esp, 0x14
cmp edi, ebx
jl 0x43f1e1
cmp edi, 2
jle 0x43f21a
push 0x771
push 0x4a9cc8
call fcn.00418f50
add esp, 4
push eax
push 0x4a9ce8
push 0x4b6d60
call fcn.00492257
push 0x4b6d60
call fcn.004187d0
mov edx, dword [0x4b5b4c]
mov eax, dword [esp + 0x24]
add esp, 0x14
cmp dword [edx + eax*4 + 0xb750], ebx
je 0x43f25c
push 0x772
push 0x4a9d08
call fcn.00418f50
add esp, 4
push eax
push 0x4a9d28
push 0x4b6d60
call fcn.00492257
push 0x4b6d60
call fcn.004187d0
mov edx, dword [0x4b5b4c]
mov eax, dword [esp + 0x24]
add esp, 0x14
cmp dword [edx + eax*4 + 0xb650], ebx
jne 0x43f29e
push 0x773
push 0x4a9d48
call fcn.00418f50
add esp, 4
push eax
push 0x4a9d68
push 0x4b6d60
call fcn.00492257
push 0x4b6d60
call fcn.004187d0
mov edx, dword [0x4b5b4c]
mov eax, dword [esp + 0x24]
add esp, 0x14
mov ecx, dword [edx + eax*4 + 0xb650]
push ecx
call fcn.0043e3e0
mov edx, dword [0x4b5b4c]
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [edx + ecx*4 + 0xb750], eax
mov edx, dword [0x4b5b4c]
mov eax, dword [edx + ecx*4 + 0xb750]
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x43fbff
mov ecx, dword [esp + 0x348]
xor edx, edx
cmp ecx, ebx
mov dword [eax + 0x10], ecx
setne dl
inc edx
mov dword [eax + 0xc], edx
mov ecx, dword [esi]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edi
mov edx, dword [esi]
lea ecx, [edi + edx*4]
mov edx, dword [esp + 0x28]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
shl ecx, 4
add ecx, edx
mov edx, dword [0x4b5b4c]
lea esi, [ecx + edx + 0x2848]
mov edx, dword [eax + 0x150]
mov ecx, 0x3c
mov dword [esp + 0x18], esi
sub ecx, edx
lea esi, [esi + edx*4]
shl ecx, 2
lea edi, [eax + edx*4 + 0xe40]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [eax + 0x154]
mov esi, dword [esp + 0x18]
mov ecx, 0x28
sub ecx, edx
lea esi, [esi + edx*4 + 0xf0]
shl ecx, 2
lea edi, [eax + edx*4 + 0xf30]
mov edx, ecx
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 [esp + 0x24]
mov ecx, dword [esi]
lea edx, [ecx + ecx*2]
lea ecx, [ecx + edx*4]
mov edx, dword [0x4b5b4c]
lea ecx, [edx + ecx*4 + 0xb4d8]
mov dword [eax + 0x960], ecx
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x43f3a2
mov dword [eax + 0x262c], 1
mov edx, dword [esi - 4]
push 0xffffffffffffffff
push edx
push eax
call fcn.0043e8c0
mov eax, dword [esi - 4]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push 1
push ecx
mov dword [esi + 0x13c4], eax
call fcn.00440830
mov ecx, dword [0x4b5b4c]
mov edx, dword [esi]
mov esi, 0x1394
add esp, 0x14
mov edi, dword [ecx + 0xc530]
mov eax, dword [edx + 0x3c8]
mov ecx, 0x1389
mov edx, 0x138a
mov dword [esp + 0x128], ecx
mov dword [esp + 0x140], ecx
mov dword [esp + 0x158], ecx
mov ecx, 0x1392
mov dword [esp + 0x30], eax
mov dword [esp + 0x130], edx
mov dword [esp + 0x148], edx
mov dword [esp + 0x160], edx
mov dword [esp + 0x168], ecx
mov dword [esp + 0x180], ecx
mov dword [esp + 0x198], ecx
mov eax, 0x1388
mov edx, 0x1393
mov ecx, 0x139c
mov dword [esp + 0x120], eax
mov dword [esp + 0x138], eax
mov dword [esp + 0x150], eax
mov dword [esp + 0x170], edx
mov dword [esp + 0x178], esi
mov dword [esp + 0x188], edx
mov dword [esp + 0x190], esi
mov dword [esp + 0x1a0], edx
mov dword [esp + 0x1a8], esi
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1c0], ecx
mov eax, 0x14
mov ecx, 0x13a6
mov esi, 0x13a7
mov edx, 0x13a8
mov dword [esp + 0x124], ebx
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x134], ebx
mov dword [esp + 0x13c], ebp
mov dword [esp + 0x144], ebp
mov dword [esp + 0x14c], ebp
mov dword [esp + 0x154], eax
mov dword [esp + 0x15c], eax
mov dword [esp + 0x164], eax
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x174], ebx
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x184], ebp
mov dword [esp + 0x18c], ebp
mov dword [esp + 0x194], ebp
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1bc], ebp
mov dword [esp + 0x1c4], eax
mov dword [esp + 0x1c8], ecx
mov dword [esp + 0x1cc], ebx
mov dword [esp + 0x1d0], esi
mov dword [esp + 0x1d4], ebx
mov dword [esp + 0x1d8], edx
mov dword [esp + 0x1dc], ebx
mov dword [esp + 0x1e0], ecx
mov dword [esp + 0x1e4], ebp
mov dword [esp + 0x1e8], esi
mov dword [esp + 0x1ec], ebp
mov dword [esp + 0x1f0], edx
mov dword [esp + 0x208], edx
mov dword [esp + 0x220], edx
mov dword [esp + 0x238], edx
mov dword [esp + 0x250], edx
mov edx, 0x13b1
mov dword [esp + 0x200], esi
mov dword [esp + 0x218], esi
mov dword [esp + 0x230], esi
mov dword [esp + 0x248], esi
mov dword [esp + 0x260], edx
mov dword [esp + 0x278], edx
mov dword [esp + 0x290], edx
mov esi, 0x32
mov edx, 0x13c4
mov dword [esp + 0x24c], esi
mov dword [esp + 0x254], esi
mov dword [esp + 0x2a0], edx
mov dword [esp + 0x2b8], edx
mov esi, 0x13b0
mov edx, 0x13ce
mov dword [esp + 0x1f4], ebp
mov dword [esp + 0x1f8], ecx
mov dword [esp + 0x1fc], eax
mov dword [esp + 0x204], eax
mov dword [esp + 0x20c], eax
mov dword [esp + 0x210], ecx
mov dword [esp + 0x214], 0x1e
mov dword [esp + 0x21c], 0x1e
mov dword [esp + 0x224], 0x1e
mov dword [esp + 0x228], ecx
mov dword [esp + 0x22c], 0x28
mov dword [esp + 0x234], 0x28
mov dword [esp + 0x23c], 0x28
mov dword [esp + 0x240], ecx
mov dword [esp + 0x244], 0x32
mov dword [esp + 0x258], esi
mov dword [esp + 0x25c], ebx
mov dword [esp + 0x264], ebx
mov dword [esp + 0x268], 0x13b2
mov dword [esp + 0x26c], ebx
mov dword [esp + 0x270], esi
mov dword [esp + 0x274], ebp
mov dword [esp + 0x27c], ebp
mov dword [esp + 0x280], 0x13b2
mov dword [esp + 0x284], ebp
mov dword [esp + 0x288], esi
mov dword [esp + 0x28c], eax
mov dword [esp + 0x294], eax
mov dword [esp + 0x298], 0x13b2
mov dword [esp + 0x29c], eax
mov dword [esp + 0x2a4], ebx
mov dword [esp + 0x2a8], 0x13c5
mov dword [esp + 0x2ac], ebx
mov dword [esp + 0x2b0], 0x13c6
mov dword [esp + 0x2b4], ebx
mov dword [esp + 0x2bc], ebp
mov dword [esp + 0x2c0], 0x13c5
mov dword [esp + 0x2c4], ebp
mov dword [esp + 0x2c8], 0x13c6
mov dword [esp + 0x2cc], ebp
mov dword [esp + 0x2d0], edx
mov dword [esp + 0x2d4], ebx
mov dword [esp + 0x2d8], 0x13cf
mov dword [esp + 0x2dc], ebx
mov dword [esp + 0x2e0], 0x13d0
mov dword [esp + 0x2e4], ebx
mov dword [esp + 0x2e8], edx
mov dword [esp + 0x2ec], ebp
mov dword [esp + 0x2f0], 0x13cf
mov dword [esp + 0x2f4], ebp
mov dword [esp + 0x2f8], 0x13d0
mov dword [esp + 0x2fc], ebp
mov dword [esp + 0x300], edx
mov dword [esp + 0x304], eax
mov dword [esp + 0x308], 0x13cf
mov dword [esp + 0x30c], eax
mov dword [esp + 0x310], 0x13d0
mov dword [esp + 0x314], eax
mov dword [esp + 0x318], 0xffffffff
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], eax
mov eax, 0x1388
mov dword [esp + 0xe8], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], 0xb
mov dword [esp + 0x44], 0xc
mov dword [esp + 0x4c], 0x15
mov dword [esp + 0x50], 0x28
mov dword [esp + 0x54], 0x29
mov dword [esp + 0x58], 0x2a
mov dword [esp + 0x5c], 0x2b
mov dword [esp + 0x60], 0x2f
mov dword [esp + 0x64], 0x64
mov dword [esp + 0x68], 0x69
mov dword [esp + 0x6c], 0x78
mov dword [esp + 0x70], 0x79
mov dword [esp + 0x74], 0x7a
mov dword [esp + 0x78], 0x82
mov dword [esp + 0x7c], 0x83
mov dword [esp + 0x80], 0x84
mov dword [esp + 0x84], 0x8c
mov dword [esp + 0x88], 0x8d
mov dword [esp + 0x8c], 0x8e
mov dword [esp + 0x90], 0x96
mov dword [esp + 0x94], 0x97
mov dword [esp + 0x98], 0x98
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0x1389
mov dword [esp + 0xa4], 0x138a
mov dword [esp + 0xa8], 0x138d
mov dword [esp + 0xac], 0x138e
mov dword [esp + 0xb0], 0x138f
mov dword [esp + 0xb4], 0x1392
mov dword [esp + 0xb8], 0x1393
mov dword [esp + 0xbc], 0x1394
mov dword [esp + 0xc0], 0x1397
mov dword [esp + 0xc4], 0x1398
mov dword [esp + 0xc8], 0x1399
mov dword [esp + 0xcc], 0x139c
mov dword [esp + 0xd0], 0x139d
mov dword [esp + 0xd4], 0x139e
mov dword [esp + 0xd8], 0x13a1
mov dword [esp + 0xdc], 0x13a2
mov dword [esp + 0xe0], 0x13a3
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xec], 0x13ba
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], 0x13d8
mov dword [esp + 0xf8], 0x13e2
mov dword [esp + 0xfc], 0x13ec
mov dword [esp + 0x100], 0x1428
mov dword [esp + 0x104], 0x1432
mov dword [esp + 0x108], 0x13f6
mov dword [esp + 0x10c], 0x1400
mov dword [esp + 0x110], 0x1450
mov dword [esp + 0x114], 0x145a
mov dword [esp + 0x118], 0x14b4
mov dword [esp + 0x11c], 0xffffffff
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
lea esi, [esp + 0x120]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x30]
push ecx
push eax
push edx
call fcn.0044ee70
add esp, 0xc
cmp eax, 0xffffffff
jne 0x43faab
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x43fa7a
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
add eax, 0x20
push ecx
push eax
push str._s___i__missing_required_sprites:_n
push edi
call fcn.004131f0
add esp, 0x10
jmp 0x43fa8d
cmp eax, 8
jge 0x43fab8
push 0x4a9ba0
push edi
call fcn.004131f0
add esp, 8
mov eax, dword [esi + 4]
mov edx, dword [esi]
push eax
push edx
push 0x4a9ba4
push edi
call fcn.004131f0
mov eax, dword [esp + 0x30]
add esp, 0x10
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esi + 8]
add esi, 8
cmp eax, 0xffffffff
jne 0x43fa3f
jmp 0x43fac6
push 0x4a9b98
push edi
call fcn.004131f0
add esp, 8
cmp dword [esp + 0x20], ebx
je 0x43fada
push 0x4a9bac
push edi
call fcn.004131f0
add esp, 8
xor eax, eax
lea esi, [esp + 0x38]
push eax
mov eax, dword [esp + 0x20]
push ebx
mov ecx, dword [eax + 0x13bc]
push ecx
call fcn.004041c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x43fb4b
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x43fb1e
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 4]
add eax, 0x20
push edx
push eax
push str._s___i__missing_required_animation_actions:_n
push edi
call fcn.004131f0
add esp, 0x10
jmp 0x43fb31
cmp eax, 8
jge 0x43fb58
push 0x4a9be8
push edi
call fcn.004131f0
add esp, 8
mov eax, dword [esi]
push eax
push 0x4a9bec
push edi
call fcn.004131f0
mov eax, dword [esp + 0x24]
add esp, 0xc
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
add esi, 4
cmp eax, 0xffffffff
jne 0x43fae0
jmp 0x43fb66
push str.__more_
push edi
call fcn.004131f0
add esp, 8
cmp dword [esp + 0x18], ebx
je 0x43fb7a
push 0x4a9bf0
push edi
call fcn.004131f0
add esp, 8
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
lea ecx, [eax - 1]
mov dword [esi + 8], eax
cmp ecx, 0x20
jge 0x43fba0
mov edx, 1
push 1
shl edx, cl
lea eax, [esp + 0x320]
push edx
jmp 0x43fbb4
lea ecx, [eax - 0x21]
mov edx, 1
shl edx, cl
push 2
lea eax, [esp + 0x334]
push edx
push eax
call fcn.0044a0f0
lea edi, [esi + 0x25c8]
mov ecx, 5
mov esi, eax
mov eax, dword [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
add esp, 0xc
inc eax
mov edx, dword [ecx + 8]
add esi, 0x14
cmp eax, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], esi
jl 0x43f17c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x334
ret
lea eax, [edx + 0xc534]
mov dl, byte [edx + 0xc534]
cmp dl, bl
jne 0x43fc1e
push ecx
push str.Cant_create_player__i
push eax
call fcn.00492257
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x334
ret