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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x1016ec65
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x18e4
call fcn.10158150
mov eax, dword [0x101b6f10]
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x2068]
push edi
mov ecx, esi
mov dword [esp + 0x18ec], eax
call fcn.100098d0
lea ecx, [ebx + 0x2078]
call fcn.100098d0
lea ecx, [ebx + 0x2094]
call fcn.10022a4c
lea ecx, [esp + 0x1030]
call fcn.100128e0
xor edi, edi
lea ecx, [esp + 0x630]
mov dword [esp + 0x18fc], edi
call fcn.101512c0
lea ecx, [esp + 0x13c8]
mov byte [esp + 0x18fc], 1
call fcn.10152860
lea ecx, [esp + 0x730]
mov byte [esp + 0x18fc], 2
call fcn.101512c0
lea ecx, [esp + 0xf30]
mov byte [esp + 0x18fc], 3
call fcn.101512c0
lea ecx, [esp + 0x430]
mov byte [esp + 0x18fc], 4
call fcn.101512c0
lea ecx, [esp + 0x12c8]
mov byte [esp + 0x18fc], 5
call fcn.101512c0
lea ecx, [esp + 0xb30]
mov byte [esp + 0x18fc], 6
call fcn.101512c0
push str.resourceobject_
lea ecx, [esp + 0x834]
mov byte [esp + 0x1900], 7
call fcn.101512e0
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x630]
push eax
push dword [ebp + 8]
mov byte [esp + 0x1904], 8
call fcn.10046c6d
push 0x10180e60
lea eax, [esp + 0xa34]
push eax
lea ecx, [ebx + 0x1d4c]
call fcn.10151530
lea ecx, [esp + 0x630]
push ecx
lea ecx, [esp + 0x534]
push ecx
mov ecx, eax
mov byte [esp + 0x1904], 9
call fcn.10151530
push eax
lea ecx, [esp + 0x634]
mov byte [esp + 0x1900], 0xa
call fcn.101511b0
lea ecx, [esp + 0x530]
mov byte [esp + 0x18fc], 9
call fcn.101512b0
mov byte [esp + 0x18fc], 8
lea ecx, [esp + 0xa30]
call fcn.101512b0
push edi
lea ecx, [esp + 0x634]
call fcn.10151690
push edi
lea ecx, [esp + 0x634]
call fcn.10151690
push edi
lea ecx, [esp + 0x634]
call fcn.10151690
push 0x10181ef8
lea ecx, [esp + 0x634]
call fcn.10151470
push 0x15
lea eax, [esp + 0x634]
push eax
lea ecx, [esp + 0x13d0]
call fcn.10152f50
cmp al, 1
jne 0x10029a9a
mov ecx, dword [ebx + 0x90]
lea eax, [ebx + 0x2078]
push eax
push esi
lea eax, [esp + 0x638]
push eax
call fcn.1003ffea
test eax, eax
je 0x100293f8
mov edi, 0x80004005
jmp 0x1002b486
lea ecx, [esp + 0x230]
call fcn.101512c0
lea ecx, [esp + 0x17e8]
mov byte [esp + 0x18fc], 0xb
call fcn.101512c0
lea ecx, [esp + 0x530]
mov byte [esp + 0x18fc], 0xc
call fcn.101512c0
lea ecx, [esp + 0xa30]
mov byte [esp + 0x18fc], 0xd
call fcn.101512c0
lea ecx, [esp + 0xd30]
mov byte [esp + 0x18fc], 0xe
call fcn.101512c0
lea ecx, [esp + 0x15e8]
mov byte [esp + 0x18fc], 0xf
call fcn.101512c0
lea ecx, [esp + 0x16e8]
mov byte [esp + 0x18fc], 0x10
call fcn.101512c0
push str.resourceobjectNPCNPCTex.hpk
lea ecx, [esp + 0x534]
mov byte [esp + 0x1900], 0x11
call fcn.101511b0
mov ecx, dword [ebx + 0x1d28]
push edi
lea eax, [esp + 0x534]
push eax
call fcn.10157540
push str.resourceobjectNPCNPCTex2.hpk
lea ecx, [esp + 0xa34]
call fcn.101511b0
mov ecx, dword [ebx + 0x1d28]
push edi
lea eax, [esp + 0xa34]
push eax
call fcn.10157540
push str.resourceobjectMonsterMonsterTex.hpk
lea ecx, [esp + 0xd34]
call fcn.101511b0
mov ecx, dword [ebx + 0x1d28]
push edi
lea eax, [esp + 0xd34]
push eax
call fcn.10157540
push str.resourceobjectMonsterMonsterTex2.hpk
lea ecx, [esp + 0x15ec]
call fcn.101511b0
mov ecx, dword [ebx + 0x1d28]
push edi
lea eax, [esp + 0x15ec]
push eax
call fcn.10157540
lea ecx, [esp + 0x930]
call fcn.101512c0
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x930]
push eax
push dword [ebp + 8]
mov byte [esp + 0x1904], 0x12
call fcn.10046db2
lea eax, [esp + 0x930]
push eax
mov esi, str.resource_sound_
lea eax, [esp + 0x334]
push esi
push eax
call fcn.101516c0
add esp, 0xc
mov byte [esp + 0x18fc], 0x13
push eax
lea ecx, [esp + 0x934]
call fcn.101511b0
lea ecx, [esp + 0x330]
mov byte [esp + 0x18fc], 0x12
call fcn.101512b0
mov ecx, dword [ebx + 0x1d28]
push edi
lea eax, [esp + 0x934]
push eax
call fcn.10157540
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x930]
push eax
push dword [ebp + 8]
call fcn.10046dcb
lea eax, [esp + 0x930]
push eax
lea eax, [esp + 0x334]
push esi
push eax
call fcn.101516c0
add esp, 0xc
push eax
lea ecx, [esp + 0x934]
mov byte [esp + 0x1900], 0x14
call fcn.101511b0
lea ecx, [esp + 0x330]
mov byte [esp + 0x18fc], 0x12
call fcn.101512b0
mov ecx, dword [ebx + 0x1d28]
push edi
lea eax, [esp + 0x934]
push eax
call fcn.10157540
mov esi, dword [ebp + 8]
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x730]
push eax
push esi
call fcn.10046cd1
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x430]
push eax
push esi
call fcn.10046cea
lea eax, [esp + 0x730]
push eax
lea eax, [esp + 0x334]
push eax
lea ecx, [esp + 0x838]
call fcn.10151530
push eax
lea ecx, [esp + 0x734]
mov byte [esp + 0x1900], 0x15
call fcn.101511b0
lea ecx, [esp + 0x330]
mov byte [esp + 0x18fc], 0x12
call fcn.101512b0
lea eax, [esp + 0x430]
push eax
lea eax, [esp + 0x334]
push eax
lea ecx, [esp + 0x838]
call fcn.10151530
push eax
lea ecx, [esp + 0x434]
mov byte [esp + 0x1900], 0x16
call fcn.101511b0
lea ecx, [esp + 0x330]
mov byte [esp + 0x18fc], 0x12
call fcn.101512b0
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x12c8]
push eax
push esi
call fcn.10046e2f
lea eax, [esp + 0xb30]
push eax
push esi
mov ecx, dword [ebx + 0x30]
call fcn.10046e48
lea eax, [esp + 0x12c8]
push eax
lea eax, [esp + 0x334]
push eax
lea ecx, [esp + 0x838]
call fcn.10151530
push eax
lea ecx, [esp + 0x12cc]
mov byte [esp + 0x1900], 0x17
call fcn.101511b0
lea ecx, [esp + 0x330]
mov byte [esp + 0x18fc], 0x12
call fcn.101512b0
lea eax, [esp + 0xb30]
push eax
lea eax, [esp + 0x334]
push eax
lea ecx, [esp + 0x838]
call fcn.10151530
push eax
lea ecx, [esp + 0xb34]
mov byte [esp + 0x1900], 0x18
call fcn.101511b0
lea ecx, [esp + 0x330]
mov byte [esp + 0x18fc], 0x12
call fcn.101512b0
mov ecx, dword [ebx + 0x1d28]
push edi
lea eax, [esp + 0x734]
push eax
call fcn.10157540
mov ecx, dword [ebx + 0x1d28]
push edi
lea eax, [esp + 0x12cc]
push eax
call fcn.10157540
lea ecx, [esp + 0xe30]
call fcn.101512c0
mov ecx, dword [ebx + 0x1d28]
push edi
lea eax, [esp + 0x434]
push eax
mov byte [esp + 0x1904], 0x19
call fcn.10157540
lea eax, [esp + 0x430]
push eax
lea ecx, [esp + 0x334]
call fcn.101512e0
mov ecx, dword [ebx + 0x1d28]
lea eax, [esp + 0x330]
push eax
mov byte [esp + 0x1900], 0x1a
call fcn.10155eb0
mov esi, eax
cmp esi, edi
mov dword [esp + 0x14], edi
jle 0x10029899
mov ecx, dword [ebx + 0x1d28]
lea eax, [esp + 0xe30]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x338]
push eax
call fcn.10155f40
test eax, eax
jne 0x1002988b
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
push 1
lea edx, [esp + 0xe34]
push edx
call dword [eax + 0x104]
test eax, eax
je 0x1002988b
lea ecx, [esp + 0xc30]
call fcn.101512c0
lea ecx, [esp + 0xe30]
mov byte [esp + 0x18fc], 0x1b
call fcn.101510f0
push eax
lea eax, [esp + 0xc34]
push str.Cannot_Load_Map_Obj_Texture_:__s
push eax
call fcn.10151120
add esp, 0xc
push edi
push str.MAP_OBJ_Texture_Load_Error_
lea ecx, [esp + 0xc38]
call fcn.101510f0
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0xc30]
mov byte [esp + 0x18fc], 0x1a
call fcn.101512b0
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x100297eb
mov ecx, dword [ebx + 0x1d28]
lea eax, [esp + 0x430]
push eax
call fcn.10157290
lea ecx, [esp + 0x330]
mov byte [esp + 0x18fc], 0x19
call fcn.101512b0
mov ecx, dword [ebx + 0x1d28]
push edi
lea eax, [esp + 0xb34]
push eax
call fcn.10157540
lea eax, [esp + 0xb30]
push eax
lea ecx, [esp + 0xc34]
call fcn.101512e0
mov ecx, dword [ebx + 0x1d28]
lea eax, [esp + 0xc30]
push eax
mov byte [esp + 0x1900], 0x1c
call fcn.10155eb0
xor esi, esi
cmp eax, edi
mov dword [esp + 0x28], eax
jle 0x100299b9
mov ecx, dword [ebx + 0x1d28]
lea eax, [esp + 0xe30]
push eax
push esi
lea eax, [esp + 0xc38]
push eax
call fcn.10155f40
test eax, eax
jne 0x100299ae
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
push 1
lea edx, [esp + 0xe34]
push edx
call dword [eax + 0x104]
test eax, eax
je 0x100299ae
lea ecx, [esp + 0x330]
call fcn.101512c0
lea ecx, [esp + 0xe30]
mov byte [esp + 0x18fc], 0x1d
call fcn.101510f0
push eax
lea eax, [esp + 0x334]
push str.Cannot_Load_POP_Obj_Texture_:__s
push eax
call fcn.10151120
add esp, 0xc
push edi
push str.MAP_OBJ_Texture_Load_Error_
lea ecx, [esp + 0x338]
call fcn.101510f0
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x330]
mov byte [esp + 0x18fc], 0x1c
call fcn.101512b0
inc esi
cmp esi, dword [esp + 0x28]
jl 0x10029911
mov ecx, dword [ebx + 0x1d28]
lea eax, [esp + 0xb30]
push eax
call fcn.10157290
lea ecx, [esp + 0xc30]
mov byte [esp + 0x18fc], 0x19
call fcn.101512b0
lea ecx, [esp + 0xe30]
mov byte [ebx + 0x2088], 1
mov byte [ebx + 0x94], 1
mov byte [esp + 0x18fc], 0x12
call fcn.101512b0
lea ecx, [esp + 0x930]
mov byte [esp + 0x18fc], 0x11
call fcn.101512b0
lea ecx, [esp + 0x16e8]
mov byte [esp + 0x18fc], 0x10
call fcn.101512b0
lea ecx, [esp + 0x15e8]
mov byte [esp + 0x18fc], 0xf
call fcn.101512b0
lea ecx, [esp + 0xd30]
mov byte [esp + 0x18fc], 0xe
call fcn.101512b0
lea ecx, [esp + 0xa30]
mov byte [esp + 0x18fc], 0xd
call fcn.101512b0
lea ecx, [esp + 0x530]
mov byte [esp + 0x18fc], 0xc
call fcn.101512b0
lea ecx, [esp + 0x17e8]
mov byte [esp + 0x18fc], 0xb
call fcn.101512b0
lea ecx, [esp + 0x230]
jmp 0x1002b479
push edi
lea ecx, [esp + 0x634]
call fcn.10151690
push edi
lea ecx, [esp + 0x634]
call fcn.10151690
push edi
lea ecx, [esp + 0x634]
call fcn.10151690
push 0x10181e90
lea ecx, [esp + 0x634]
call fcn.10151470
push 0xb
lea eax, [esp + 0x634]
push eax
lea ecx, [esp + 0x13d0]
call fcn.10152f50
test al, al
je 0x100293ee
lea ecx, [esp + 0x130]
call fcn.101512c0
push 0xa
mov esi, 0x100
push esi
lea ecx, [esp + 0x138]
mov byte [esp + 0x1904], 0x1e
call fcn.101510f0
push eax
lea ecx, [esp + 0x13d4]
call fcn.101529e0
push str._VERSION_1001_
lea ecx, [esp + 0x134]
mov dword [esp + 0x18], edi
call fcn.10151200
test al, al
je 0x10029b48
mov dword [esp + 0x14], 0x3e9
jmp 0x10029b65
push str._VERSION_1002_
lea ecx, [esp + 0x134]
call fcn.10151200
test al, al
je 0x10029b81
mov dword [esp + 0x14], 0x3ea
push 0xa
push esi
lea ecx, [esp + 0x138]
call fcn.101510f0
push eax
lea ecx, [esp + 0x13d4]
call fcn.101529e0
lea ecx, [esp + 0x130]
call fcn.101510f0
push eax
call fcn.1015a2d8
pop ecx
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x730]
push eax
push dword [ebp + 8]
call fcn.10046cd1
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x430]
push eax
push dword [ebp + 8]
call fcn.10046cea
lea eax, [esp + 0x730]
push eax
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x838]
call fcn.10151530
push eax
lea ecx, [esp + 0x734]
mov byte [esp + 0x1900], 0x1f
call fcn.101511b0
lea ecx, [esp + 0x230]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
lea eax, [esp + 0x430]
push eax
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x838]
call fcn.10151530
push eax
lea ecx, [esp + 0x434]
mov byte [esp + 0x1900], 0x20
call fcn.101511b0
lea ecx, [esp + 0x230]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x12c8]
push eax
push dword [ebp + 8]
call fcn.10046e2f
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0xb30]
push eax
push dword [ebp + 8]
call fcn.10046e48
lea eax, [esp + 0x12c8]
push eax
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x838]
call fcn.10151530
push eax
lea ecx, [esp + 0x12cc]
mov byte [esp + 0x1900], 0x21
call fcn.101511b0
lea ecx, [esp + 0x230]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
lea eax, [esp + 0xb30]
push eax
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x838]
call fcn.10151530
push eax
lea ecx, [esp + 0xb34]
mov byte [esp + 0x1900], 0x22
call fcn.101511b0
mov byte [esp + 0x18fc], 0x1e
lea ecx, [esp + 0x230]
call fcn.101512b0
cmp dword [esp + 0x28], edi
jbe 0x1002a2db
mov ecx, dword [ebx + 0x1d28]
xor esi, esi
inc esi
push esi
lea eax, [esp + 0x734]
push eax
call fcn.10157540
mov ecx, dword [ebx + 0x1d28]
push esi
lea eax, [esp + 0x434]
push eax
call fcn.10157540
mov ecx, dword [ebx + 0x1d28]
push esi
lea eax, [esp + 0x12cc]
push eax
call fcn.10157540
mov ecx, dword [ebx + 0x1d28]
push esi
lea eax, [esp + 0xb34]
push eax
call fcn.10157540
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [ebx + 0xc96]
push edx
lea edx, [ebx + 0xb96]
push edx
call dword [eax + 0x220]
cmp dword [esp + 0x28], edi
jbe 0x1002a288
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
push 0xa
push 0x100
lea ecx, [esp + 0x138]
mov dword [esp + 0x1038], 0x15
mov byte [esp + 0x103c], 1
call fcn.101510f0
push eax
lea ecx, [esp + 0x13d4]
call fcn.101529e0
lea ecx, [esp + 0x130]
call fcn.101510f0
push eax
call fcn.1015a2d8
pop ecx
push 0xa
mov edi, 0x100
lea ecx, [esp + 0x134]
push edi
mov dword [esp + 0x24], eax
call fcn.101510f0
lea ecx, [esp + 0x13d0]
push eax
call fcn.101529e0
cmp dword [esp + 0x14], 0x3e9
lea ecx, [esp + 0x130]
jl 0x10029fec
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x9c]
push eax
mov esi, str._f__f__f__f
push esi
call fcn.101510f0
push eax
call fcn.101586c5
add esp, 0x18
push 0xa
push edi
lea ecx, [esp + 0x138]
call fcn.101510f0
push eax
lea ecx, [esp + 0x13d4]
call fcn.101529e0
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0xac]
push eax
push esi
lea ecx, [esp + 0x144]
call fcn.101510f0
push eax
call fcn.101586c5
add esp, 0x18
push 0xa
push edi
lea ecx, [esp + 0x138]
call fcn.101510f0
push eax
lea ecx, [esp + 0x13d4]
call fcn.101529e0
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0xbc]
push eax
push esi
lea ecx, [esp + 0x144]
call fcn.101510f0
push eax
call fcn.101586c5
add esp, 0x18
push 0xa
push edi
lea ecx, [esp + 0x138]
call fcn.101510f0
push eax
lea ecx, [esp + 0x13d4]
call fcn.101529e0
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0xcc]
push eax
push esi
lea ecx, [esp + 0x144]
call fcn.101510f0
push eax
call fcn.101586c5
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xdc]
add esp, 0x18
mov dword [esp + 0x78], eax
cmp dword [esp + 0x14], 0x3ea
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x7c], eax
lea esi, [esp + 0x74]
lea edi, [esp + 0x113c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x10
pop ecx
lea esi, [esp + 0x90]
lea edi, [esp + 0x1160]
rep movsd dword es:[edi], dword [esi]
jl 0x1002a106
push 0xa
push 0x100
lea ecx, [esp + 0x138]
call fcn.101510f0
push eax
lea ecx, [esp + 0x13d4]
call fcn.101529e0
lea eax, [esp + 0x12b8]
push eax
lea eax, [esp + 0x12b8]
push eax
lea eax, [esp + 0x12b8]
push eax
lea eax, [esp + 0x12b8]
push eax
lea eax, [esp + 0x12b8]
push eax
lea eax, [esp + 0x12b8]
push eax
push str._d__d__d__d__d__d
lea ecx, [esp + 0x14c]
call fcn.101510f0
push eax
call fcn.101586c5
add esp, 0x20
jmp 0x1002a106
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x64]
push eax
mov esi, str._f__f__f
push esi
call fcn.101510f0
push eax
call fcn.101586c5
add esp, 0x14
push 0xa
push edi
lea ecx, [esp + 0x138]
call fcn.101510f0
push eax
lea ecx, [esp + 0x13d4]
call fcn.101529e0
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x38]
push eax
push esi
lea ecx, [esp + 0x140]
call fcn.101510f0
push eax
call fcn.101586c5
add esp, 0x14
push 0xa
push edi
lea ecx, [esp + 0x138]
call fcn.101510f0
push eax
lea ecx, [esp + 0x13d4]
call fcn.101529e0
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x70]
push eax
push esi
lea ecx, [esp + 0x140]
call fcn.101510f0
push eax
call fcn.101586c5
fld dword [esp + 0x4c]
add esp, 8
fstp dword [esp + 8]
lea eax, [esp + 0x8c]
fld dword [esp + 0x3c]
fstp dword [esp + 4]
fld dword [esp + 0x40]
fstp dword [esp]
push eax
call fcn.1001272f
add esp, 0x10
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x84]
push eax
xor eax, eax
push eax
lea ecx, [esp + 0x74]
push ecx
push eax
push eax
lea eax, [esp + 0x1178]
push eax
call sub.d3dx9_28.dll_D3DXMatrixTransformation
lea esi, [esp + 0x5c]
lea edi, [esp + 0x113c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x30]
lea edi, [esp + 0x1148]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x68]
lea edi, [esp + 0x1154]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x3c]
lea eax, [esp + 0x1035]
push eax
push dword [esp + 0x20]
call fcn.10043b86
test al, al
je 0x1002a27e
lea esi, [ebx + 0x18b4]
fld1
lea edi, [esp + 0x11a8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x18c4]
lea edi, [esp + 0x11b8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x18d4]
lea edi, [esp + 0x11d8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x1c]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x20]
lea esi, [ebx + 0x18e4]
lea edi, [esp + 0x11c8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x1204]
lea esi, [esp + 0x1035]
push esi
push eax
mov dword [esp + 0x1140], eax
mov edx, dword [ecx]
push 7
call dword [edx + 0x10]
test eax, eax
jne 0x1002a27e
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [ebx + 0x2094]
mov byte [esp + 0x2c], 1
call fcn.10024683
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [esp + 0x1030]
push edx
lea edx, [esp + 0x30]
push edx
call dword [eax + 0x44]
test eax, eax
jne 0x1002a27e
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [esp + 0xf0]
push edx
lea edx, [esp + 0xdc]
push edx
push dword [esp + 0x34]
call dword [eax + 0x1f0]
cmp dword [esp + 0x12b4], 2
mov ecx, dword [ebx + 0x90]
lea eax, [esp + 0x12a4]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0xf8]
jne 0x1002a22a
push eax
lea eax, [esp + 0xe4]
push eax
push dword [esp + 0x3c]
call fcn.1003f143
jmp 0x1002a25e
cmp dword [esp + 0x12bc], 1
jne 0x1002a248
push eax
lea eax, [esp + 0xe4]
push eax
push dword [esp + 0x3c]
call fcn.1003e84c
jmp 0x1002a25e
push 0
push 3
push eax
lea eax, [esp + 0xec]
push eax
push dword [esp + 0x44]
call fcn.1003e565
lea ecx, [esp + 0x230]
call fcn.101512c0
lea ecx, [esp + 0x230]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
dec dword [esp + 0x18]
jne 0x10029d80
mov ecx, dword [ebx + 0x1d28]
lea eax, [esp + 0x12c8]
push eax
call fcn.10157290
mov ecx, dword [ebx + 0x1d28]
lea eax, [esp + 0xb30]
push eax
call fcn.10157290
mov ecx, dword [ebx + 0x1d28]
lea eax, [esp + 0x730]
push eax
call fcn.10157290
mov ecx, dword [ebx + 0x1d28]
lea eax, [esp + 0x430]
push eax
call fcn.10157290
mov esi, 0x100
xor edi, edi
push 0xa
push esi
lea ecx, [esp + 0x138]
call fcn.101510f0
push eax
lea ecx, [esp + 0x13d4]
call fcn.101529e0
lea ecx, [esp + 0x130]
call fcn.101510f0
push eax
call fcn.1015a2d8
pop ecx
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x730]
push eax
push dword [ebp + 8]
call fcn.10046d4e
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0xf30]
push eax
push dword [ebp + 8]
call fcn.10046d67
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x430]
push eax
push dword [ebp + 8]
call fcn.10046d80
lea eax, [esp + 0x730]
push eax
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x838]
call fcn.10151530
push eax
lea ecx, [esp + 0x734]
mov byte [esp + 0x1900], 0x24
call fcn.101511b0
lea ecx, [esp + 0x230]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
lea eax, [esp + 0xf30]
push eax
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x838]
call fcn.10151530
push eax
lea ecx, [esp + 0xf34]
mov byte [esp + 0x1900], 0x25
call fcn.101511b0
lea ecx, [esp + 0x230]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
lea eax, [esp + 0x430]
push eax
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x838]
call fcn.10151530
push eax
lea ecx, [esp + 0x434]
mov byte [esp + 0x1900], 0x26
call fcn.101511b0
lea ecx, [esp + 0x230]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
cmp dword [esp + 0x14], edi
jbe 0x1002a91b
mov ecx, dword [ebx + 0x1d28]
push 1
lea eax, [esp + 0x734]
push eax
call fcn.10157540
mov ecx, dword [ebx + 0x1d28]
push 1
lea eax, [esp + 0x434]
push eax
call fcn.10157540
mov eax, dword [esp + 0x14]
shl eax, 2
push eax
call fcn.10157c43
cmp dword [esp + 0x18], edi
pop ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
jbe 0x1002a5c4
push 0xa
push esi
lea ecx, [esp + 0x138]
call fcn.101510f0
push eax
lea ecx, [esp + 0x13d4]
call fcn.101529e0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea eax, [eax + ecx*4]
lea ecx, [esp + 0x130]
mov dword [esp + 0x18], eax
call fcn.101510f0
push eax
call fcn.1015a2d8
pop ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
lea eax, [ebx + 0x696]
push eax
lea eax, [ebx + 0x596]
push eax
call dword [edx + 0x220]
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
call fcn.10046eb5
test al, al
je 0x1002a5b2
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x130]
push eax
push dword [esp + 0x14]
call fcn.10046bfa
test al, al
je 0x1002a5b2
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [esp + 0x130]
push edx
push dword [esp + 0x14]
push 8
call dword [eax + 0x10]
test eax, eax
je 0x1002a580
lea ecx, [esp + 0x530]
call fcn.101512c0
lea ecx, [esp + 0x130]
mov byte [esp + 0x18fc], 0x27
call fcn.101510f0
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x538]
push str.Cannot_load_file_ID__d__name__s__
push eax
call fcn.10151120
add esp, 0x10
push edi
push str.HT_hrLoadResource_Error_
lea ecx, [esp + 0x538]
call fcn.101510f0
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x530]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0x2068]
call fcn.10028b51
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [ebx + 0x2094]
mov byte [esp + 0x50], 1
call fcn.10024683
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x14]
jb 0x1002a46a
mov ecx, dword [ebx + 0x1d28]
lea eax, [esp + 0x430]
push eax
call fcn.10157290
mov ecx, dword [ebx + 0x1d28]
lea eax, [esp + 0x730]
push eax
call fcn.10157290
mov ecx, dword [ebx + 0x1d28]
push 1
lea eax, [esp + 0xf34]
push eax
call fcn.10157540
cmp dword [esp + 0x14], edi
mov dword [esp + 0x20], edi
jbe 0x1002a8fe
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
lea eax, [ebx + 0x796]
push eax
push eax
call dword [edx + 0x220]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea eax, [eax + ecx*4]
lea ecx, [esp + 0x10]
push ecx
push dword [eax]
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x20], eax
call fcn.10047279
test al, al
je 0x1002a716
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x130]
push eax
push dword [esp + 0x14]
call fcn.10046bfa
test al, al
je 0x1002a716
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [esp + 0x130]
push edx
push dword [esp + 0x14]
push 0xb
call dword [eax + 0x10]
test eax, eax
je 0x1002a6e4
lea ecx, [esp + 0x530]
call fcn.101512c0
lea ecx, [esp + 0x130]
mov byte [esp + 0x18fc], 0x28
call fcn.101510f0
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x538]
push str.Cannot_load_file_ID__d__name__s__
push eax
call fcn.10151120
add esp, 0x10
push edi
push str.HT_hrLoadResource_Error_
lea ecx, [esp + 0x538]
call fcn.101510f0
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x530]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0x2078]
call fcn.10028b51
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [ebx + 0x2094]
mov byte [esp + 0x50], 1
call fcn.10024683
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
call fcn.10047295
test al, al
je 0x1002a801
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x130]
push eax
push dword [esp + 0x14]
call fcn.10046bfa
test al, al
je 0x1002a801
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [esp + 0x130]
push edx
push dword [esp + 0x14]
push 0xb
call dword [eax + 0x10]
test eax, eax
je 0x1002a7cf
lea ecx, [esp + 0xa30]
call fcn.101512c0
lea ecx, [esp + 0x130]
mov byte [esp + 0x18fc], 0x29
call fcn.101510f0
push eax
push dword [esp + 0x14]
lea eax, [esp + 0xa38]
push str.Cannot_load_file_ID__d__name__s__
push eax
call fcn.10151120
add esp, 0x10
push edi
push str.HT_hrLoadResource_Error_
lea ecx, [esp + 0xa38]
call fcn.101510f0
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0xa30]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0x2078]
call fcn.10028b51
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [ebx + 0x2094]
mov byte [esp + 0x60], 1
call fcn.10024683
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
call fcn.100472e9
test al, al
je 0x1002a8ec
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x130]
push eax
push dword [esp + 0x14]
call fcn.10046bfa
test al, al
je 0x1002a8ec
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [esp + 0x130]
push edx
push dword [esp + 0x14]
push 0xb
call dword [eax + 0x10]
test eax, eax
je 0x1002a8ba
lea ecx, [esp + 0xd30]
call fcn.101512c0
lea ecx, [esp + 0x130]
mov byte [esp + 0x18fc], 0x2a
call fcn.101510f0
push eax
push dword [esp + 0x14]
lea eax, [esp + 0xd38]
push str.Cannot_load_file_ID__d__name__s__
push eax
call fcn.10151120
add esp, 0x10
push edi
push str.HT_hrLoadResource_Error_
lea ecx, [esp + 0xd38]
call fcn.101510f0
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0xd30]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0x2078]
call fcn.10028b51
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [ebx + 0x2094]
mov byte [esp + 0x48], 1
call fcn.10024683
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x14]
jb 0x1002a60d
push dword [esp + 0x1c]
call fcn.10159b51
pop ecx
mov ecx, dword [ebx + 0x1d28]
lea eax, [esp + 0xf30]
push eax
call fcn.10157290
push 0xa
push esi
lea ecx, [esp + 0x138]
call fcn.101510f0
push eax
lea ecx, [esp + 0x13d4]
call fcn.101529e0
lea ecx, [esp + 0x130]
call fcn.101510f0
push eax
call fcn.1015a2d8
pop ecx
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x730]
push eax
push dword [ebp + 8]
call fcn.10046d03
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0xf30]
push eax
push dword [ebp + 8]
call fcn.10046d1c
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x430]
push eax
push dword [ebp + 8]
call fcn.10046d35
lea eax, [esp + 0x730]
push eax
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x838]
call fcn.10151530
push eax
lea ecx, [esp + 0x734]
mov byte [esp + 0x1900], 0x2b
call fcn.101511b0
lea ecx, [esp + 0x230]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
lea eax, [esp + 0xf30]
push eax
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x838]
call fcn.10151530
push eax
lea ecx, [esp + 0xf34]
mov byte [esp + 0x1900], 0x2c
call fcn.101511b0
lea ecx, [esp + 0x230]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
lea eax, [esp + 0x430]
push eax
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x838]
call fcn.10151530
push eax
lea ecx, [esp + 0x434]
mov byte [esp + 0x1900], 0x2d
call fcn.101511b0
lea ecx, [esp + 0x230]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
cmp dword [esp + 0x14], edi
jbe 0x1002b3e4
mov eax, dword [esp + 0x14]
shl eax, 2
push eax
call fcn.10157c43
pop ecx
mov ecx, dword [ebx + 0x1d28]
mov dword [esp + 0x1c], eax
push 1
lea eax, [esp + 0x734]
push eax
call fcn.10157540
mov ecx, dword [ebx + 0x1d28]
push 1
lea eax, [esp + 0x434]
push eax
call fcn.10157540
cmp dword [esp + 0x14], edi
mov dword [esp + 0x20], edi
jbe 0x1002ac04
push 0xa
push esi
lea ecx, [esp + 0x138]
call fcn.101510f0
push eax
lea ecx, [esp + 0x13d4]
call fcn.101529e0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea eax, [eax + ecx*4]
lea ecx, [esp + 0x130]
mov dword [esp + 0x18], eax
call fcn.101510f0
push eax
call fcn.1015a2d8
pop ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
lea eax, [ebx + 0x996]
push eax
lea eax, [ebx + 0x896]
push eax
call dword [edx + 0x220]
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
call fcn.10046eb5
test al, al
je 0x1002abf2
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x130]
push eax
push dword [esp + 0x14]
call fcn.10046bfa
test al, al
je 0x1002abf2
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [esp + 0x130]
push edx
push dword [esp + 0x14]
push 8
call dword [eax + 0x10]
test eax, eax
je 0x1002abc0
lea ecx, [esp + 0x530]
call fcn.101512c0
lea ecx, [esp + 0x130]
mov byte [esp + 0x18fc], 0x2e
call fcn.101510f0
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x538]
push str.Cannot_load_file_ID__d__name__s__
push eax
call fcn.10151120
add esp, 0x10
push edi
push str.HT_hrLoadResource_Error_
lea ecx, [esp + 0x538]
call fcn.101510f0
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x530]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0x2068]
call fcn.10028b51
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [ebx + 0x2094]
mov byte [esp + 0x48], 1
call fcn.10024683
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x14]
jb 0x1002aaaa
mov ecx, dword [ebx + 0x1d28]
lea eax, [esp + 0x730]
push eax
call fcn.10157290
mov ecx, dword [ebx + 0x1d28]
lea eax, [esp + 0x430]
push eax
call fcn.10157290
mov ecx, dword [ebx + 0x1d28]
push 1
lea eax, [esp + 0xf34]
push eax
call fcn.10157540
cmp dword [esp + 0x14], edi
mov dword [esp + 0x20], edi
jbe 0x1002b3c7
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebx + 0x20]
mov edx, dword [ecx]
lea eax, [ebx + 0xa96]
push eax
push eax
call dword [edx + 0x220]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea eax, [eax + ecx*4]
lea ecx, [esp + 0x10]
push ecx
push dword [eax]
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x20], eax
call fcn.10047279
test al, al
je 0x1002ad58
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x130]
push eax
push dword [esp + 0x14]
call fcn.10046bfa
test al, al
je 0x1002ad58
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [esp + 0x130]
push edx
push dword [esp + 0x14]
push 0xb
call dword [eax + 0x10]
test eax, eax
je 0x1002ad26
lea ecx, [esp + 0x530]
call fcn.101512c0
lea ecx, [esp + 0x130]
mov byte [esp + 0x18fc], 0x2f
call fcn.101510f0
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x538]
push str.Cannot_load_file_ID__d__name__s__
push eax
call fcn.10151120
add esp, 0x10
push edi
push str.HT_hrLoadResource_Error_
lea ecx, [esp + 0x538]
call fcn.101510f0
push eax
push edi
call esi
lea ecx, [esp + 0x530]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0x2078]
call fcn.10028b51
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [ebx + 0x2094]
mov byte [esp + 0x48], 1
call fcn.10024683
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
call fcn.100472e9
test al, al
je 0x1002ae3f
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x130]
push eax
push dword [esp + 0x14]
call fcn.10046bfa
test al, al
je 0x1002ae3f
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [esp + 0x130]
push edx
push dword [esp + 0x14]
push 0xb
call dword [eax + 0x10]
test eax, eax
je 0x1002ae0d
lea ecx, [esp + 0xa30]
call fcn.101512c0
lea ecx, [esp + 0x130]
mov byte [esp + 0x18fc], 0x30
call fcn.101510f0
push eax
push dword [esp + 0x14]
lea eax, [esp + 0xa38]
push str.Cannot_load_file_ID__d__name__s__
push eax
call fcn.10151120
add esp, 0x10
push edi
push str.HT_hrLoadResource_Error_
lea ecx, [esp + 0xa38]
call fcn.101510f0
push eax
push edi
call esi
lea ecx, [esp + 0xa30]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0x2078]
call fcn.10028b51
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [ebx + 0x2094]
mov byte [esp + 0x60], 1
call fcn.10024683
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
call fcn.100472b1
test al, al
je 0x1002af26
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x130]
push eax
push dword [esp + 0x14]
call fcn.10046bfa
test al, al
je 0x1002af26
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [esp + 0x130]
push edx
push dword [esp + 0x14]
push 0xb
call dword [eax + 0x10]
test eax, eax
je 0x1002aef4
lea ecx, [esp + 0xd30]
call fcn.101512c0
lea ecx, [esp + 0x130]
mov byte [esp + 0x18fc], 0x31
call fcn.101510f0
push eax
push dword [esp + 0x14]
lea eax, [esp + 0xd38]
push str.Cannot_load_file_ID__d__name__s__
push eax
call fcn.10151120
add esp, 0x10
push edi
push str.HT_hrLoadResource_Error_
lea ecx, [esp + 0xd38]
call fcn.101510f0
push eax
push edi
call esi
lea ecx, [esp + 0xd30]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0x2078]
call fcn.10028b51
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [ebx + 0x2094]
mov byte [esp + 0x50], 1
call fcn.10024683
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
call fcn.100472cd
test al, al
je 0x1002b016
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x130]
push eax
push dword [esp + 0x14]
call fcn.10046bfa
test al, al
je 0x1002b016
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [esp + 0x130]
push edx
push dword [esp + 0x14]
push 0xb
call dword [eax + 0x10]
test eax, eax
je 0x1002afdb
lea ecx, [esp + 0x15e8]
call fcn.101512c0
lea ecx, [esp + 0x130]
mov byte [esp + 0x18fc], 0x32
call fcn.101510f0
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x15f0]
push str.Cannot_load_file_ID__d__name__s__
push eax
call fcn.10151120
add esp, 0x10
push edi
push str.HT_hrLoadResource_Error_
lea ecx, [esp + 0x15f0]
call fcn.101510f0
push eax
push edi
call esi
lea ecx, [esp + 0x15e8]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0x2078]
call fcn.10028b51
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [ebx + 0x2094]
mov byte [esp + 0x8c], 1
call fcn.10024683
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
call fcn.1004733d
test al, al
je 0x1002b100
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x130]
push eax
push dword [esp + 0x14]
call fcn.10046bfa
test al, al
je 0x1002b100
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [esp + 0x130]
push edx
push dword [esp + 0x14]
push 0xb
call dword [eax + 0x10]
test eax, eax
je 0x1002b0cb
lea ecx, [esp + 0x330]
call fcn.101512c0
lea ecx, [esp + 0x130]
mov byte [esp + 0x18fc], 0x33
call fcn.101510f0
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x338]
push str.Cannot_load_file_ID__d__name__s__
push eax
call fcn.10151120
add esp, 0x10
push edi
push str.HT_hrLoadResource_Error_
lea ecx, [esp + 0x338]
call fcn.101510f0
push eax
push edi
call esi
lea ecx, [esp + 0x330]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0x2078]
call fcn.10028b51
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [ebx + 0x2094]
mov byte [esp + 0x80], 1
call fcn.10024683
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
call fcn.10047359
test al, al
je 0x1002b1e7
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x130]
push eax
push dword [esp + 0x14]
call fcn.10046bfa
test al, al
je 0x1002b1e7
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [esp + 0x130]
push edx
push dword [esp + 0x14]
push 0xb
call dword [eax + 0x10]
test eax, eax
je 0x1002b1b5
lea ecx, [esp + 0xc30]
call fcn.101512c0
lea ecx, [esp + 0x130]
mov byte [esp + 0x18fc], 0x34
call fcn.101510f0
push eax
push dword [esp + 0x14]
lea eax, [esp + 0xc38]
push str.Cannot_load_file_ID__d__name__s__
push eax
call fcn.10151120
add esp, 0x10
push edi
push str.HT_hrLoadResource_Error_
lea ecx, [esp + 0xc38]
call fcn.101510f0
push eax
push edi
call esi
lea ecx, [esp + 0xc30]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0x2078]
call fcn.10028b51
mov eax, dword [esp + 0x10]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [ebx + 0x2094]
mov byte [esp + 0x74], 1
call fcn.10024683
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
call fcn.10047375
test al, al
je 0x1002b2ce
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x130]
push eax
push dword [esp + 0x14]
call fcn.10046bfa
test al, al
je 0x1002b2ce
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [esp + 0x130]
push edx
push dword [esp + 0x14]
push 0xb
call dword [eax + 0x10]
test eax, eax
je 0x1002b29c
lea ecx, [esp + 0xe30]
call fcn.101512c0
lea ecx, [esp + 0x130]
mov byte [esp + 0x18fc], 0x35
call fcn.101510f0
push eax
push dword [esp + 0x14]
lea eax, [esp + 0xe38]
push str.Cannot_load_file_ID__d__name__s__
push eax
call fcn.10151120
add esp, 0x10
push edi
push str.HT_hrLoadResource_Error_
lea ecx, [esp + 0xe38]
call fcn.101510f0
push eax
push edi
call esi
lea ecx, [esp + 0xe30]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0x2078]
call fcn.10028b51
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [ebx + 0x2094]
mov byte [esp + 0x68], 1
call fcn.10024683
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
call fcn.10047391
test al, al
je 0x1002b3b5
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x130]
push eax
push dword [esp + 0x14]
call fcn.10046bfa
test al, al
je 0x1002b3b5
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx]
lea edx, [esp + 0x130]
push edx
push dword [esp + 0x14]
push 0xb
call dword [eax + 0x10]
test eax, eax
je 0x1002b383
lea ecx, [esp + 0x930]
call fcn.101512c0
lea ecx, [esp + 0x130]
mov byte [esp + 0x18fc], 0x36
call fcn.101510f0
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x938]
push str.Cannot_load_file_ID__d__name__s__
push eax
call fcn.10151120
add esp, 0x10
push edi
push str.HT_hrLoadResource_Error_
lea ecx, [esp + 0x938]
call fcn.101510f0
push eax
push edi
call esi
lea ecx, [esp + 0x930]
mov byte [esp + 0x18fc], 0x1e
call fcn.101512b0
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 0x2078]
call fcn.10028b51
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [ebx + 0x2094]
mov byte [esp + 0x58], 1
call fcn.10024683
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x14]
jb 0x1002ac53
push dword [esp + 0x1c]
call fcn.10159b51
pop ecx
mov ecx, dword [ebx + 0x1d28]
lea eax, [esp + 0xf30]
push eax
call fcn.10157290
lea ecx, [esp + 0x13c8]
call fcn.101528a0
mov eax, dword [esp + 0x28]
push eax
lea ecx, [ebx + 0x44]
mov dword [ebx + 0x7c], eax
call fcn.10024553
push dword [ebx + 0x7c]
lea ecx, [ebx + 0x54]
call fcn.10024553
push edi
lea ecx, [esp + 0x634]
call fcn.10151690
push edi
lea ecx, [esp + 0x634]
call fcn.10151690
push edi
lea ecx, [esp + 0x634]
call fcn.10151690
push 0x10181ef8
lea ecx, [esp + 0x634]
call fcn.10151470
mov ecx, dword [ebx + 0x90]
lea eax, [ebx + 0x2078]
push eax
lea eax, [ebx + 0x2068]
push eax
lea eax, [esp + 0x638]
push eax
call fcn.1003fadc
mov byte [ebx + 0x2088], 0
mov byte [ebx + 0x94], 1
lea ecx, [esp + 0x130]
mov byte [esp + 0x18fc], 8
call fcn.101512b0
lea ecx, [esp + 0x830]
mov byte [esp + 0x18fc], 7
call fcn.101512b0
lea ecx, [esp + 0xb30]
mov byte [esp + 0x18fc], 6
call fcn.101512b0
lea ecx, [esp + 0x12c8]
mov byte [esp + 0x18fc], 5
call fcn.101512b0
lea ecx, [esp + 0x430]
mov byte [esp + 0x18fc], 4
call fcn.101512b0
lea ecx, [esp + 0xf30]
mov byte [esp + 0x18fc], 3
call fcn.101512b0
lea ecx, [esp + 0x730]
mov byte [esp + 0x18fc], 2
call fcn.101512b0
lea ecx, [esp + 0x13c8]
mov byte [esp + 0x18fc], 1
call fcn.10152d30
lea ecx, [esp + 0x630]
mov byte [esp + 0x18fc], 0
call fcn.101512b0
or dword [esp + 0x18fc], 0xffffffff
lea ecx, [esp + 0x1035]
call fcn.101512b0
mov ecx, dword [esp + 0x18f4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x18ec]
mov eax, edi
call fcn.101581be
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4