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

Disassembly:
push 0xffffffffffffffff
push 0x59e01f
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x2c], esi
xor ebp, ebp
mov dword [esp + 0x24], ebp
push ebp
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x5c7b3c
mov dword [esp + 0x78], 1
call fcn.00496da0
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x5c7c58
mov byte [esp + 0x7c], 2
call fcn.00496da0
lea ecx, [esp + 0x80]
mov byte [esp + 0x78], 1
call fcn.004981a0
cmp dword [esp + 0x74], ebp
je 0x4bd60f
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esi + 4]
call fcn.004bd400
mov ecx, eax
call fcn.004bc580
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 0
call fcn.00497320
or edi, 0xffffffff
mov esi, dword [esp + 0x78]
cmp esi, ebp
mov dword [esp + 0x68], edi
je 0x4be3eb
add dword [esi + 4], edi
jne 0x4be3eb
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
add dword [esi + 8], edi
jne 0x4be3eb
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
jmp 0x4be3eb
lea ecx, [esp + 0x20]
call fcn.00496d90
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 3
call fcn.004971d0
push ebp
push ebp
push 0x3f
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 4
call fcn.00496ee0
mov esi, eax
or edi, 0xffffffff
cmp esi, edi
je 0x4bd6a0
push edi
push esi
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x7c]
call fcn.00497b10
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 5
call fcn.00497360
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 4
call fcn.00497320
push esi
push ebp
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x7c]
call fcn.00497b10
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x6c], 6
call fcn.00497360
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 4
call fcn.00497320
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x2c]
call fcn.004971d0
push ecx
lea edx, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x70], 7
call fcn.004971d0
call fcn.004bbf00
add esp, 4
test al, al
jne 0x4bd7d2
xor esi, esi
cmp dword [str..xml], ebp
je 0x4bd76e
mov eax, 0x60473c
mov bl, 9
lea esp, [esp]
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x28]
call fcn.00496da0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 8
call fcn.004974a0
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x6c], bl
call fcn.00497360
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 8
call fcn.00497320
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 7
call fcn.00497320
push ecx
lea eax, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.004971d0
call fcn.004bbf00
add esp, 4
test al, al
jne 0x4bd76e
add esi, 1
cmp dword [esi*4 + 0x60473c], ebp
lea eax, [esi*4 + 0x60473c]
jne 0x4bd6f0
cmp dword [esi*4 + 0x60473c], ebp
jne 0x4bd7d2
cmp byte [esp + 0x7c], 0
jne 0x4bd795
lea ecx, [esp + 0x18]
call fcn.00496ed0
push eax
push str.TAssetMap::AddAsset:_Failed_to_find_asset__s_with_any_standard_extension__jpg_jp2_png_anm_xml_ogg_mesh_
call fcn.004dfae0
add esp, 8
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 4
call fcn.00497320
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 3
call fcn.00497320
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 1
call fcn.00497320
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 0
call fcn.00497320
jmp 0x4bd5d6
push ebp
push 4
push 0x2e
lea ecx, [esp + 0x7c]
call fcn.00496ee0
push 0x5a8554
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00496da0
cmp esi, edi
mov byte [esp + 0x68], 0xa
je 0x4bd829
push edi
add esi, 1
push esi
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00497b10
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 0xb
call fcn.00497360
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 0xa
call fcn.00497320
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x74]
call fcn.00498060
call fcn.004988c0
mov ecx, eax
call fcn.00498c10
push 0x5c7be8
lea ecx, [esp + 0x40]
mov esi, eax
call fcn.00496da0
lea eax, [esp + 0x3c]
mov ebx, 1
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 0xc
mov dword [esp + 0x28], ebx
call fcn.004972e0
test al, al
mov edi, 0xd
jne 0x4bd8db
push 0x5c7be4
lea ecx, [esp + 0x3c]
call fcn.00496da0
lea ecx, [esp + 0x38]
push ecx
mov ebx, 3
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x28], ebx
call fcn.004972e0
test al, al
jne 0x4bd8db
push 0x5c7be0
lea ecx, [esp + 0x34]
call fcn.00496da0
lea edx, [esp + 0x30]
mov ebx, 7
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], 0xe
mov dword [esp + 0x28], ebx
call fcn.004972e0
test al, al
mov byte [esp + 0x17], 0
je 0x4bd8e0
mov byte [esp + 0x17], 1
test bl, 4
mov dword [esp + 0x68], edi
je 0x4bd8f9
and ebx, 0xfffffffb
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], ebx
call fcn.00497320
test bl, 2
mov dword [esp + 0x68], 0xc
je 0x4bd916
and ebx, 0xfffffffd
lea ecx, [esp + 0x38]
mov dword [esp + 0x24], ebx
call fcn.00497320
test bl, 1
mov edi, 0xa
mov dword [esp + 0x68], edi
je 0x4bd930
lea ecx, [esp + 0x3c]
and ebx, 0xfffffffe
call fcn.00497320
cmp byte [esp + 0x17], 0
je 0x4bdb2f
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
push ecx
mov dword [esp + 0x40], esp
mov edi, esp
push ebp
push ebp
push ebp
push ecx
mov eax, esp
mov dword [esp + 0x50], esp
lea ecx, [esp + 0x34]
push ecx
mov bl, 0xf
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x84], bl
call fcn.004974a0
push edi
call fcn.004d6b00
add esp, 0x14
lea edx, [esp + 0x44]
push edx
mov ecx, esi
call fcn.004f6e70
mov ecx, dword [esp + 0x40]
cmp ecx, ebp
mov byte [esp + 0x68], 0x10
je 0x4bd9bd
lea eax, [esp + 0x50]
push eax
call fcn.004bc770
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 0x11
call fcn.00414470
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 0x10
call fcn.00401370
mov edi, dword [esp + 0x30]
cmp edi, ebp
jne 0x4bda05
push ebp
push ecx
lea edx, [esp + 0x78]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.004971d0
lea eax, [esp + 0x58]
push eax
call fcn.004d87b0
add esp, 0xc
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 0x12
call fcn.00414470
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 0x10
call fcn.00401370
mov edi, dword [esp + 0x30]
cmp edi, ebp
je 0x4bdb0f
push ebp
push ebp
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x8c], esp
lea edx, [esp + 0x30]
push edx
push ecx
lea ecx, [esp + 0x30]
call fcn.004974a0
lea eax, [esp + 0x8c]
push eax
call fcn.004d6b00
mov ecx, dword [esp + 0x48]
add esp, 0xc
cmp ecx, ebp
mov eax, esp
mov dword [eax], edi
mov dword [esp + 0x44], esp
mov dword [eax + 4], ecx
je 0x4bda48
add dword [ecx + 4], 1
push ecx
lea edx, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x78], 0x14
call fcn.004971d0
mov ecx, esi
mov byte [esp + 0x74], 0x13
call fcn.004f6ef0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x34]
add ecx, 4
call fcn.004bd400
mov ecx, eax
call fcn.004bc3a0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x68], 0x10
call fcn.00497320
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], bl
call fcn.0047dc40
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 0xa
call fcn.00401370
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 7
call fcn.00497320
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 4
call fcn.00497320
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 3
call fcn.00497320
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 1
call fcn.00497320
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 0
call fcn.00497320
lea ecx, [esp + 0x74]
mov dword [esp + 0x68], 0xffffffff
call fcn.0047dc40
jmp 0x4be3eb
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], bl
call fcn.0047dc40
lea ecx, [esp + 0x30]
mov byte [esp + 0x68], 0xa
call fcn.00401370
jmp 0x4be35c
push 0x5c7bdc
lea ecx, [esp + 0x3c]
call fcn.00496da0
lea edx, [esp + 0x38]
or ebx, 8
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 0x15
mov dword [esp + 0x28], ebx
call fcn.004972e0
test al, al
jne 0x4bdb8f
push 0x5c7bd8
lea ecx, [esp + 0x40]
call fcn.00496da0
lea eax, [esp + 0x3c]
or ebx, 0x10
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], 0x16
mov dword [esp + 0x28], ebx
call fcn.004972e0
test al, al
mov byte [esp + 0x17], 0
je 0x4bdb94
mov byte [esp + 0x17], 1
test bl, 0x10
mov dword [esp + 0x68], 0x15
je 0x4bdbb1
and ebx, 0xffffffef
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], ebx
call fcn.00497320
test bl, 8
mov dword [esp + 0x68], edi
je 0x4bdbc6
lea ecx, [esp + 0x38]
and ebx, 0xfffffff7
call fcn.00497320
cmp byte [esp + 0x17], 0
je 0x4bde09
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
push ecx
mov dword [esp + 0x40], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x5a8554
mov byte [esp + 0x74], 0x17
call fcn.00496da0
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x5a8554
mov byte [esp + 0x78], 0x18
call fcn.00496da0
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
lea edx, [esp + 0x30]
push edx
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 0x19
call fcn.004974a0
push edi
mov byte [esp + 0x7c], 0x17
call fcn.004aece0
add esp, 0x10
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.004f6e70
mov ecx, dword [esp + 0x48]
cmp ecx, ebp
mov bl, 0x1a
mov byte [esp + 0x68], bl
je 0x4bdc7e
lea edx, [esp + 0x50]
push edx
call fcn.004bc820
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 0x1b
call fcn.00414420
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], bl
call fcn.004143a0
cmp dword [esp + 0x40], ebp
jne 0x4bdcf2
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x5a8554
call fcn.00496da0
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x5a8554
mov byte [esp + 0x74], 0x1c
call fcn.00496da0
push ecx
lea eax, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x78], 0x1d
call fcn.004971d0
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x78], bl
call fcn.004b1490
add esp, 0x10
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 0x1e
call fcn.00414420
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], bl
call fcn.004143a0
cmp dword [esp + 0x40], ebp
je 0x4bdde8
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x5a8554
call fcn.00496da0
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x5a8554
mov byte [esp + 0x74], 0x1f
call fcn.00496da0
push ecx
mov edx, esp
mov dword [esp + 0x30], esp
lea eax, [esp + 0x2c]
push eax
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x7c], 0x20
call fcn.004974a0
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x78], bl
call fcn.004aece0
add esp, 0x10
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x6c], 0x21
call fcn.004971d0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 0x23
call fcn.00497320
sub esp, 8
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.0047e170
push ecx
lea eax, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x78], 0x24
call fcn.004971d0
mov ecx, esi
mov byte [esp + 0x74], 0x23
call fcn.004f6ef0
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push edx
add ecx, 4
call fcn.004bd400
mov ecx, eax
call fcn.004bc3f0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x68], bl
call fcn.00497320
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 0x17
call fcn.0047dc40
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0xa
call fcn.004143a0
jmp 0x4bdab3
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 0x17
call fcn.0047dc40
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0xa
call fcn.004143a0
jmp 0x4be35c
push 0x5c7bd4
lea ecx, [esp + 0x3c]
call fcn.00496da0
lea eax, [esp + 0x38]
or ebx, 0x20
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 0x25
mov dword [esp + 0x28], ebx
call fcn.004972e0
test al, al
jne 0x4bde69
push 0x5c7bd0
lea ecx, [esp + 0x40]
call fcn.00496da0
lea ecx, [esp + 0x3c]
push ecx
or ebx, 0x40
lea ecx, [esp + 0x20]
mov dword [esp + 0x6c], 0x26
mov dword [esp + 0x28], ebx
call fcn.004972e0
test al, al
mov byte [esp + 0x17], 0
je 0x4bde6e
mov byte [esp + 0x17], 1
test bl, 0x40
mov dword [esp + 0x68], 0x25
je 0x4bde8b
and ebx, 0xffffffbf
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], ebx
call fcn.00497320
test bl, 0x20
mov dword [esp + 0x68], edi
je 0x4bde9d
lea ecx, [esp + 0x38]
call fcn.00497320
cmp byte [esp + 0x17], 0
je 0x4be060
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
push ecx
mov dword [esp + 0x40], esp
mov edi, esp
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x74], 0x27
call fcn.004971d0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0x78], 0x28
call fcn.004971d0
push edi
mov byte [esp + 0x78], 0x27
call fcn.004bbff0
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.004f6e70
mov ecx, dword [esp + 0x48]
cmp ecx, ebp
mov bl, 0x29
mov byte [esp + 0x68], bl
je 0x4bdf37
lea edx, [esp + 0x50]
push edx
call fcn.004bc8d0
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 0x2a
call fcn.004b7490
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], bl
call fcn.0046fc80
cmp dword [esp + 0x40], ebp
jne 0x4bdf84
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x78]
call fcn.00496ed0
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00496da0
lea eax, [esp + 0x5c]
push eax
call fcn.004c3aa0
add esp, 0x10
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 0x2b
call fcn.004b7490
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], bl
call fcn.0046fc80
cmp dword [esp + 0x40], ebp
je 0x4be03f
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.004971d0
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x74], 0x2c
call fcn.004971d0
lea ecx, [esp + 0x84]
push ecx
mov byte [esp + 0x74], bl
call fcn.004bbff0
add esp, 4
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.00491e30
push ecx
lea eax, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0x78], 0x2e
call fcn.004971d0
mov ecx, esi
mov byte [esp + 0x74], 0x2d
call fcn.004f6ef0
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push edx
add ecx, 4
call fcn.004bd400
mov ecx, eax
call fcn.004bc440
lea ecx, [esp + 0x7c]
mov byte [esp + 0x68], bl
call fcn.00497320
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 0x27
call fcn.0047dc40
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0xa
call fcn.0046fc80
jmp 0x4bdab3
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 0x27
call fcn.0047dc40
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0xa
call fcn.0046fc80
jmp 0x4be35c
push 0x5c7bcc
lea ecx, [esp + 0x40]
call fcn.00496da0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 0x2f
call fcn.004972e0
lea ecx, [esp + 0x3c]
mov bl, al
mov byte [esp + 0x68], 0xa
call fcn.00497320
test bl, bl
je 0x4be1ee
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x70], 0x30
call fcn.004971d0
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.004f6e70
mov ecx, dword [esp + 0x48]
cmp ecx, ebp
mov bl, 0x31
mov byte [esp + 0x68], bl
je 0x4be0fd
lea edx, [esp + 0x50]
push edx
call fcn.004a81c0
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 0x32
call fcn.004a7ce0
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], bl
call fcn.004a7cb0
cmp dword [esp + 0x40], ebp
jne 0x4be158
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x5a8554
call fcn.00496da0
push ecx
lea eax, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0x78], 0x33
call fcn.004971d0
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x78], bl
call fcn.004a82d0
add esp, 0x10
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 0x34
call fcn.004a7ce0
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], bl
call fcn.004a7cb0
cmp dword [esp + 0x40], ebp
je 0x4be1cd
sub esp, 8
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
call fcn.004a7d60
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0x78], 0x35
call fcn.004971d0
mov ecx, esi
mov byte [esp + 0x74], bl
call fcn.004f6ef0
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push edx
add ecx, 4
call fcn.004bd400
mov ecx, eax
call fcn.004bc490
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 0x30
call fcn.0047dc40
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0xa
call fcn.004a7cb0
jmp 0x4bdab3
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 0x30
call fcn.0047dc40
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0xa
call fcn.004a7cb0
jmp 0x4be35c
push str.mesh
lea ecx, [esp + 0x40]
call fcn.00496da0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 0x36
call fcn.004972e0
lea ecx, [esp + 0x3c]
mov bl, al
mov byte [esp + 0x68], 0xa
call fcn.00497320
test bl, bl
je 0x4be35c
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x70], 0x37
call fcn.004971d0
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.004f6e70
mov ecx, dword [esp + 0x50]
cmp ecx, ebp
mov bl, 0x38
mov byte [esp + 0x68], bl
je 0x4be28b
lea edx, [esp + 0x48]
push edx
call fcn.004bc980
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 0x39
call fcn.004bc260
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], bl
call fcn.004bc550
cmp dword [esp + 0x40], ebp
jne 0x4be2cb
push ecx
lea eax, [esp + 0x74]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.004971d0
lea ecx, [esp + 0x5c]
push ecx
call fcn.00502980
add esp, 8
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 0x3a
call fcn.004bc260
lea ecx, [esp + 0x58]
mov byte [esp + 0x68], bl
call fcn.004bc550
cmp dword [esp + 0x40], ebp
je 0x4be340
sub esp, 8
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
call fcn.004bc4e0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0x78], 0x3b
call fcn.004971d0
mov ecx, esi
mov byte [esp + 0x74], bl
call fcn.004f6ef0
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push edx
add ecx, 4
call fcn.004bd400
mov ecx, eax
call fcn.004bc500
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 0x37
call fcn.0047dc40
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0xa
call fcn.004bc550
jmp 0x4bdab3
lea ecx, [esp + 0x50]
mov byte [esp + 0x68], 0x37
call fcn.0047dc40
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 0xa
call fcn.004bc550
cmp byte [esp + 0x7c], 0
jne 0x4be37a
lea ecx, [esp + 0x70]
call fcn.00496ed0
push eax
push str.TAssetMap::AddAsset:_Error_loading__s
call fcn.004dfae0
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], 7
call fcn.00497320
lea ecx, [esp + 0x28]
mov byte [esp + 0x68], 4
call fcn.00497320
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 3
call fcn.00497320
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 1
call fcn.00497320
lea ecx, [esp + 0x70]
mov byte [esp + 0x68], 0
call fcn.00497320
mov esi, dword [esp + 0x78]
or edi, 0xffffffff
cmp esi, ebp
mov dword [esp + 0x68], edi
je 0x4be3eb
add dword [esi + 4], edi
jne 0x4be3eb
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
add dword [esi + 8], edi
jne 0x4be3eb
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x10