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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6672c7
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x6d35d0]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x6d35d0]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 0x13958]
mov dword [esp + 0x4c], eax
fild dword [esp + 0x4c]
mov edx, dword [ecx + 0x1395c]
mov dword [esp + 0x50], edx
fdiv qword [0x6a1590]
mov eax, dword [ecx + 0xdf480]
xor edx, edx
mov dword [esp + 0x14], ebx
fstp dword [esp + 0x18]
cmp eax, edx
je 0x4369fc
mov eax, dword [eax + 0xc]
jmp 0x4369fe
xor eax, eax
mov esi, dword [eax + 0x2c0]
mov eax, dword [eax + 0x2c4]
mov dword [esp + 0x48], eax
mov eax, 0xf
mov dword [esp + 0x44], esi
mov dword [ebx + 0x2c54], ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], edx
mov byte [esp + 0xa0], dl
mov dword [esp + 0xd0], eax
mov dword [esp + 0xcc], edx
mov byte [esp + 0xbc], dl
push 0x10
push str.obj_b000_001.bmp
lea ecx, [esp + 0xa4]
mov dword [esp + 0x108], edx
call fcn.00404c00
push 0x10
push str.obj_b000_002.bmp
lea ecx, [esp + 0xc0]
call fcn.00404c00
fldz
fst dword [esp + 0x3c]
lea edi, [ebx + 0x2c50]
mov ecx, dword [esp + 0x3c]
fst dword [esp + 0x40]
mov edx, dword [esp + 0x40]
fstp dword [esp + 0x3c]
fld dword [0x6a2468]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xd8], ecx
fstp dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
lea esi, [esp + 0x9c]
mov dword [esp + 0xd4], 0x12c
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], ecx
mov byte [esp + 0xe8], 1
call fcn.00446730
mov esi, edi
call fcn.00446790
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x1c]
lea ecx, [eax + 0x1c]
mov eax, dword [edx + 0x38]
call eax
test al, al
mov eax, dword [ebx + 8]
setne cl
mov byte [ebx + 0x2aa6], cl
mov edx, dword [eax + 0x1c]
lea ecx, [eax + 0x1c]
mov eax, dword [edx + 0x5c]
push 0x1f4
call eax
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0xded20]
mov eax, dword [eax + 0xec]
push 0x1f4
mov edi, eax
call fcn.004aafc6
mov eax, dword [ebx + 8]
cmp dword [eax + 0xded24], 0
je 0x436b4f
mov eax, dword [eax + 0xded24]
mov eax, dword [eax + 0xec]
push 0x1f4
mov edi, eax
call fcn.004aafc6
cmp byte [0xf6273c], 0
je 0x436b64
push 0x350
call fcn.0062d956
jmp 0x436b8a
cmp dword [0xf62698], 0
jne 0x436b80
mov byte [0xf6273c], 1
call fcn.0046ef62
mov byte [0xf6273c], 0
push 0x350
call fcn.0046eda1
mov dword [esp + 0x40], eax
add esp, 4
mov byte [esp + 0x100], 1
test eax, eax
je 0x436ba8
mov edi, dword [ebx + 8]
push eax
call fcn.00445390
jmp 0x436baa
xor eax, eax
mov byte [esp + 0x100], 0
mov edx, dword [ebx + 0x14]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 8]
lea ecx, [ebx + 0x14]
mov dword [ebx + 0x1c], eax
mov eax, dword [edx]
call eax
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x20], eax
lea edi, [ebx + 0x1218]
mov ebx, 4
call fcn.0041c2c0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 0x74]
call eax
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 8]
mov byte [edi + 0x2aa7], 0
mov byte [edi + 0x2aa8], 1
mov byte [edi + 0x29f0], 0
mov edx, dword [ecx + 0x214d0]
sub edx, dword [ecx + 0x214cc]
mov eax, 0x3e0f83e1
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
push 0x10
add eax, edx
mov dword [edi + 0x1ba0], ecx
mov dword [edi + 0x29bc], ecx
xor ebx, ebx
mov esi, 0xf
push str.obje000_000.bmp
lea ecx, [esp + 0x24]
mov dword [edi + 0x2918], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00404c00
push ebx
push 1
mov byte [esp + 0x108], 2
mov edx, dword [edi + 0x155c]
mov edx, dword [edx + 0x140]
lea ecx, [edi + 0x155c]
push 0x15
lea eax, [esp + 0x28]
push eax
call edx
mov byte [esp + 0x100], bl
cmp dword [esp + 0x34], 0x10
jb 0x436c93
mov eax, dword [esp + 0x20]
push eax
call fcn.0046efcb
add esp, 4
push 0x10
push str.obji000_000.bmp
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], 0
call fcn.00404c00
push ebx
push 1
mov byte [esp + 0x108], 3
mov edx, dword [edi + 0x15f0]
mov edx, dword [edx + 0x140]
lea ecx, [edi + 0x15f0]
push 0x15
lea eax, [esp + 0x28]
push eax
call edx
mov byte [esp + 0x100], 0
cmp dword [esp + 0x34], 0x10
jb 0x436cf2
mov eax, dword [esp + 0x20]
push eax
call fcn.0046efcb
add esp, 4
push 0x10
push str.obje000_001.bmp
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], 0
call fcn.00404c00
push ebx
push 1
mov byte [esp + 0x108], 4
mov edx, dword [edi + 0x1684]
mov edx, dword [edx + 0x140]
lea esi, [edi + 0x1684]
push 0x15
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call edx
mov byte [esp + 0x100], 0
cmp dword [esp + 0x34], 0x10
jb 0x436d53
mov eax, dword [esp + 0x20]
push eax
call fcn.0046efcb
add esp, 4
mov ecx, 1
mov eax, 6
mov dword [edi + 0x171c], esi
mov dword [edi + 0x1720], eax
mov dword [edi + 0x1724], ecx
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x20e8]
lea esi, [ecx + 0xe]
cmp eax, ecx
jne 0x436dde
push 0x10
push str.objm000_000.bmp
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], 0
call fcn.00404c00
push ebx
push 1
mov byte [esp + 0x108], 5
mov edx, dword [edi + 0x1728]
mov edx, dword [edx + 0x140]
lea ecx, [edi + 0x1728]
push 0x15
lea eax, [esp + 0x28]
push eax
call edx
mov byte [esp + 0x100], 0
cmp dword [esp + 0x34], 0x10
jb 0x436dde
mov eax, dword [esp + 0x20]
push eax
call fcn.0046efcb
add esp, 4
push 0x10
push str.obji001_000.bmp
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], 0
call fcn.00404c00
push ebx
push 1
mov byte [esp + 0x108], 6
mov edx, dword [edi + 0x17bc]
mov edx, dword [edx + 0x140]
lea ecx, [edi + 0x17bc]
push 0x15
lea eax, [esp + 0x28]
push eax
call edx
mov byte [esp + 0x100], 0
cmp dword [esp + 0x34], 0x10
jb 0x436e3d
mov eax, dword [esp + 0x20]
push eax
call fcn.0046efcb
add esp, 4
push 0x10
push str.obji004_000.bmp
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], 0
call fcn.00404c00
push ebx
push 1
mov byte [esp + 0x108], 7
mov edx, dword [edi + 0x1d14]
mov edx, dword [edx + 0x140]
lea esi, [edi + 0x1d14]
push 0x15
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call edx
mov byte [esp + 0x100], 0
cmp dword [esp + 0x34], 0x10
jb 0x436e9e
mov eax, dword [esp + 0x20]
push eax
call fcn.0046efcb
add esp, 4
mov edx, dword [esi]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call edx
fld dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
fld qword [0x6a2490]
cdq
fmul st(1)
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], ebx
call fcn.00631650
fmul qword [0x6a2488]
mov dword [esp + 0x88], eax
call fcn.00631650
mov dword [esp + 0x58], eax
lea esi, [edi + 0x1850]
lea ebx, [edi + 0x1da8]
mov edx, dword [esi]
mov eax, 4
push eax
mov eax, dword [esp + 0x40]
push eax
mov ecx, 3
push ecx
push eax
mov ecx, 2
push ecx
push eax
mov ecx, 1
push ecx
push eax
xor ecx, ecx
push ecx
push eax
mov eax, 5
push eax
mov eax, 7
push eax
lea eax, [edi + 0x17bc]
push eax
mov eax, dword [edx + 0x84]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push 0
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 1
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push 0
mov ecx, esi
call eax
fild dword [esp + 0x3c]
fmul qword [0x6a2480]
fst qword [esp + 0x5c]
fadd qword [0x6a2058]
fmul dword [esp + 0x18]
call fcn.00631650
mov ecx, dword [esp + 0x88]
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
push ecx
push eax
mov ecx, esi
call edx
mov edx, dword [ebx]
lea eax, [edi + 0x1d14]
push eax
mov eax, dword [edx + 0x28]
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x4c]
lea eax, [ecx + 1]
imul ecx, edx
mov dword [esp + 0x3c], eax
imul eax, edx
mov edx, dword [ebx]
mov edx, dword [edx + 0x4c]
mov dword [esp + 0x14], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x48]
push 0xff
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x50]
push 0xf
mov ecx, ebx
call edx
fld qword [esp + 0x5c]
fadd qword [0x6a2478]
fmul dword [esp + 0x18]
call fcn.00631650
mov ecx, dword [esp + 0x58]
mov edx, dword [ebx]
mov edx, dword [edx + 0x44]
push ecx
push eax
mov ecx, ebx
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax]
add eax, dword [esp + 0x44]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x48]
lea ecx, [esp + 0x94]
mov dword [esp + 0x20], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ecx
mov ecx, esi
call edx
fild dword [eax]
fmul dword [esp + 0x18]
call fcn.00631650
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
add ecx, edx
add ecx, dword [eax]
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
call edx
fild dword [eax + 4]
fmul dword [esp + 0x18]
call fcn.00631650
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x48]
mov edx, dword [esi]
add eax, dword [esp + 0x14]
sub esp, 0x10
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [edx + 0x38]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x3c]
add ebx, 0x154
add esi, 0x78
mov dword [esp + 0x3c], eax
cmp eax, 7
jb 0x436ef4
lea eax, [edi + 0x1da8]
push eax
lea eax, [edi + 0x1850]
push eax
lea esi, [edi + 0x1b98]
push esi
call fcn.00442680
lea eax, [edi + 0x1efc]
push eax
lea ebx, [edi + 0x18c8]
push ebx
push esi
call fcn.00442680
lea ecx, [edi + 0x2050]
push ecx
lea edx, [edi + 0x1940]
push edx
push esi
call fcn.00442680
lea eax, [edi + 0x21a4]
push eax
lea ecx, [edi + 0x19b8]
push ecx
push esi
call fcn.00442680
lea edx, [edi + 0x22f8]
push edx
lea eax, [edi + 0x1a30]
push eax
push esi
call fcn.00442680
lea ecx, [edi + 0x244c]
push ecx
lea eax, [edi + 0x1aa8]
push eax
push esi
call fcn.00442680
lea edx, [edi + 0x25a0]
push edx
lea eax, [edi + 0x1b20]
push eax
push esi
call fcn.00442680
mov eax, dword [edi + 0x1850]
mov edx, dword [eax + 0x18]
lea ecx, [edi + 0x1850]
push 1
call edx
mov eax, dword [edi + 0x1a30]
mov edx, dword [eax + 0x18]
lea ecx, [edi + 0x1a30]
push 1
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 1
mov ecx, ebx
call edx
mov eax, dword [edi + 0x1aa8]
mov edx, dword [eax + 0xc]
lea ecx, [edi + 0x1aa8]
push 1
call edx
mov eax, dword [edi + 0x1b20]
mov edx, dword [eax + 0xc]
lea ecx, [edi + 0x1b20]
push 1
call edx
push 0x10
push str.obji003_000.bmp
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.00404c00
lea ebx, [edi + 0x1bd0]
push 0
mov byte [esp + 0x104], 8
mov eax, dword [ebx]
push 1
mov edx, dword [eax + 0x140]
push 0x15
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call edx
mov byte [esp + 0x100], 0
cmp dword [esp + 0x34], 0x10
jb 0x43729b
cmp byte [0xf6273d], 0
je 0x437258
mov eax, dword [esp + 0x20]
push eax
call fcn.0062da20
add esp, 4
jmp 0x43729b
mov ecx, dword [esp + 0x20]
mov esi, dword [0xf62698]
push ecx
call fcn.0046ee0e
cmp dword [0xf62670], 0
jne 0x43729b
mov ecx, dword [0xf62698]
mov byte [0xf6273d], 1
test ecx, ecx
je 0x43728a
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [0xf62698], 0
mov byte [0xf6273d], 0
mov eax, dword [edi + 0x2918]
mov dword [edi + 0x1c6c], eax
mov ecx, 1
mov dword [edi + 0x1c70], ecx
mov dword [edi + 0x1c68], ebx
mov esi, dword [edi + 0x2918]
xor ecx, ecx
mov eax, esi
mov edx, 0x78
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.005ede2b
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x100], 9
test eax, eax
je 0x437311
push fcn.0046dde3
push fcn.0046dd8b
push esi
lea ebx, [eax + 4]
push 0x78
push ebx
mov dword [eax], esi
call fcn.0062c942
mov eax, ebx
jmp 0x437313
xor eax, eax
mov byte [esp + 0x100], 0
push 0x10
push str.obji002_000.bmp
lea ecx, [esp + 0x24]
mov dword [edi + 0x29b0], eax
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.00404c00
push 0
push 1
mov byte [esp + 0x108], 0xa
mov edx, dword [edi + 0x291c]
mov edx, dword [edx + 0x140]
lea ecx, [edi + 0x291c]
push 0x15
lea eax, [esp + 0x28]
push eax
call edx
mov byte [esp + 0x100], 0
cmp dword [esp + 0x34], 0x10
jb 0x4373d7
cmp byte [0xf6273d], 0
je 0x437394
mov eax, dword [esp + 0x20]
push eax
call fcn.0062da20
add esp, 4
jmp 0x4373d7
mov ecx, dword [esp + 0x20]
mov esi, dword [0xf62698]
push ecx
call fcn.0046ee0e
cmp dword [0xf62670], 0
jne 0x4373d7
mov ecx, dword [0xf62698]
mov byte [0xf6273d], 1
test ecx, ecx
je 0x4373c6
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [0xf62698], 0
mov byte [0xf6273d], 0
xor ebx, ebx
cmp dword [edi + 0x2918], ebx
jle 0x43761f
mov dword [esp + 0x58], 4
xor esi, esi
push dword [esp + 0x58]
mov ecx, dword [edi + 0x29b0]
push ebx
mov edx, dword [ecx + esi]
mov eax, 3
push eax
push ebx
mov eax, 2
push eax
push ebx
mov eax, 1
push eax
push ebx
xor eax, eax
push eax
push ebx
mov eax, 5
push eax
mov eax, dword [edi + 0x2918]
push eax
add ecx, esi
lea eax, [edi + 0x291c]
push eax
mov eax, dword [edx + 0x84]
call eax
mov ecx, dword [edi + 0x29b0]
mov edx, dword [ecx + esi]
mov eax, dword [edx + 0x18]
add ecx, esi
push 0
call eax
mov ecx, dword [edi + 0x29b0]
mov edx, dword [ecx + esi]
mov eax, dword [edx + 8]
add ecx, esi
push 1
call eax
mov ecx, dword [edi + 0x29b0]
mov edx, dword [ecx + esi]
mov eax, dword [edx + 0xc]
add ecx, esi
push 0
call eax
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
fmul qword [0x6a1f08]
fadd qword [0x6a1aa0]
fld dword [esp + 0x18]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.00631650
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
lea ecx, [eax*8]
sub ecx, eax
mov edx, ebx
sub edx, ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul qword [0x6a17f0]
fadd qword [0x6a1b88]
fmulp st(1)
call fcn.00631650
mov ecx, dword [edi + 0x29b0]
mov edx, dword [ecx + esi]
mov edx, dword [edx + 0x2c]
add ecx, esi
push eax
mov eax, dword [esp + 0x60]
push eax
call edx
mov eax, dword [edi + 0x29b0]
lea ecx, [esi + eax]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
lea eax, [esp + 0x64]
push eax
call edx
mov eax, dword [eax]
add eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x29b0]
mov edx, dword [esi + eax]
mov edx, dword [edx + 0x30]
lea ecx, [esi + eax]
lea eax, [esp + 0x74]
push eax
call edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x29b0]
mov edx, dword [esi + eax]
mov edx, dword [edx + 0x34]
lea ecx, [esi + eax]
lea eax, [esp + 0x6c]
push eax
call edx
fild dword [eax]
fmul dword [esp + 0x18]
call fcn.00631650
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x29b0]
mov edx, dword [esi + eax]
mov edx, dword [edx + 0x30]
lea ecx, [esi + eax]
lea eax, [esp + 0x94]
push eax
call edx
mov eax, dword [eax]
add eax, dword [esp + 0x14]
add eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x29b0]
mov edx, dword [esi + eax]
mov edx, dword [edx + 0x34]
lea ecx, [esi + eax]
lea eax, [esp + 0x8c]
push eax
call edx
fild dword [eax + 4]
fmul dword [esp + 0x18]
call fcn.00631650
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x29b0]
mov edx, dword [esi + eax]
mov edx, dword [edx + 0x30]
lea ecx, [esi + eax]
lea eax, [esp + 0x7c]
push eax
call edx
mov eax, dword [eax + 4]
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add eax, dword [esp + 0x48]
sub esp, 0x10
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x29b0]
mov edx, dword [eax + esi]
mov edx, dword [edx + 0x38]
add eax, esi
mov dword [esp + 0x24], eax
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x24]
call edx
mov eax, dword [edi + 0x29b0]
push 0
add eax, esi
push eax
lea eax, [edi + 0x29b4]
push eax
call fcn.00442680
inc ebx
add esi, 0x78
cmp ebx, dword [edi + 0x2918]
jl 0x4373ef
mov eax, dword [edi + 8]
push 0x10
push str.obji001_001.bmp
lea ecx, [esp + 0x24]
mov dword [edi + 0x2914], eax
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
call fcn.00404c00
push 0
push 1
mov byte [esp + 0x108], 0xb
mov edx, dword [edi + 0x1c80]
mov edx, dword [edx + 0x140]
lea ebx, [edi + 0x1c80]
push 0x15
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call edx
mov byte [esp + 0x100], 0
cmp dword [esp + 0x34], 0x10
jb 0x4376e0
cmp byte [0xf6273d], 0
je 0x43769d
mov eax, dword [esp + 0x20]
push eax
call fcn.0062da20
add esp, 4
jmp 0x4376e0
mov ecx, dword [esp + 0x20]
mov esi, dword [0xf62698]
push ecx
call fcn.0046ee0e
cmp dword [0xf62670], 0
jne 0x4376e0
mov ecx, dword [0xf62698]
mov byte [0xf6273d], 1
test ecx, ecx
je 0x4376cf
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [0xf62698], 0
mov byte [0xf6273d], 0
mov edx, dword [edi + 0x26f4]
lea esi, [edi + 0x26f4]
lea eax, [edi + 0x1d14]
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov eax, dword [esp + 0x4c]
mov edx, dword [esi]
mov edx, dword [edx + 0x4c]
lea ecx, [eax*8]
mov dword [esp + 0x14], ecx
lea ecx, [eax*8]
sub ecx, eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
fld dword [esp + 0x18]
fld qword [0x6a1970]
fmul st(1)
call fcn.00631650
fmul qword [0x6a2470]
mov dword [esp + 0x54], eax
call fcn.00631650
mov edx, dword [esi]
mov edx, dword [edx + 0x44]
push eax
mov eax, dword [esp + 0x58]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x48]
push 0xff
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
push 0xf
mov ecx, esi
call edx
fld dword [esp + 0x18]
fld qword [0x6a21b0]
fmul st(1)
call fcn.00631650
fmul qword [0x6a1fe8]
mov dword [esp + 0x1c], eax
call fcn.00631650
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebx
call edx
fild dword [eax]
fadd qword [0x6a21a8]
fmul dword [esp + 0x18]
call fcn.00631650
mov dword [esp + 0x24], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebx
call edx
fild dword [eax + 4]
fadd qword [0x6a1fe8]
fmul dword [esp + 0x18]
call fcn.00631650
sub esp, 0x10
mov ecx, esp
mov edx, dword [esp + 0x2c]
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 8], edx
push esi
lea ebx, [edi + 0x2848]
mov dword [ecx + 0xc], eax
call fcn.00450790
mov eax, 2
mov dword [edi + 0x1bc4], eax
mov dword [edi + 0x29e0], eax
mov eax, dword [edi + 0x2918]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005ede2b
add esp, 4
mov esi, edi
mov dword [edi + 0x2aa0], eax
call fcn.00438fb0
xor eax, eax
cmp dword [edi + 0x2918], eax
jle 0x437877
mov edx, dword [edi + 8]
mov ecx, 0x20484
cmp dword [ecx + edx], 0
jne 0x437893
inc eax
add ecx, 4
cmp eax, dword [edi + 0x2918]
jl 0x437865
lea esi, [edi + 0x1850]
mov ebx, 7
mov eax, dword [esi]
mov edx, dword [eax + 0x7c]
mov ecx, esi
call edx
add esi, 0x78
sub ebx, 1
jne 0x437882
mov esi, edi
call fcn.00438bb0
lea esi, [edi + 0x2ab0]
mov byte [edi + 0x2aa9], 1
call fcn.00450160
fldz
mov ebx, 1
mov dword [edi + 0x2ab8], ebx
mov dword [edi + 0x2ac0], ebx
fst dword [edi + 0x2c10]
fst dword [edi + 0x2c14]
push 5
fst dword [edi + 0x2c18]
lea ecx, [esi + 0x108]
fld dword [0x6a1a28]
push 0x64
fstp dword [edi + 0x2c1c]
push 0
fst dword [edi + 0x2c20]
fst dword [edi + 0x2c24]
fld dword [0x6a1cc0]
fstp dword [edi + 0x2c28]
fst dword [edi + 0x2c2c]
fstp dword [edi + 0x2c30]
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
push 0x1e
lea ecx, [esi + 0x2c]
mov dword [esi + 0x24], 5
mov eax, dword [ecx]
mov edx, dword [eax]
push 0xff
push 0
call edx
lea edx, [edi + 0x1684]
mov dword [esi + 0xc], 0
mov dword [esi + 0x28], 0x1e
mov eax, 6
mov ecx, ebx
mov dword [edi + 0x2c44], edx
mov dword [edi + 0x2c48], eax
mov dword [edi + 0x2c4c], ecx
test edx, edx
jne 0x437963
xor ecx, ecx
xor ebx, ebx
jmp 0x43798b
mov ecx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x44]
push edx
call eax
mov eax, dword [esp + 0x44]
cdq
idiv dword [edi + 0x2c48]
mov ecx, eax
mov eax, dword [esp + 0x48]
cdq
idiv dword [edi + 0x2c4c]
mov ebx, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov eax, ebx
cdq
sub eax, edx
fstp dword [esp + 0x3c]
sar eax, 1
mov dword [esp + 0x14], eax
mov ebx, 0x10
fild dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x3c]
fstp dword [esi + 0x18]
fld dword [esp + 0x14]
mov dword [esp + 0x100], 0xffffffff
fstp dword [esi + 0x1c]
fld dword [esp + 0x18]
fstp dword [edi + 0x2c38]
xor edi, edi
mov byte [esi + 0x184], 1
mov byte [esi + 0x185], 0
mov dword [esi + 0x20], edi
mov dword [esi + 0x14], edi
cmp dword [esp + 0xd0], ebx
jb 0x437a54
cmp byte [0xf6273d], 0
je 0x437a13
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.0062da20
add esp, 4
jmp 0x437a54
mov edx, dword [esp + 0xbc]
mov esi, dword [0xf62698]
push edx
call fcn.0046ee0e
cmp dword [0xf62670], edi
jne 0x437a54
mov ecx, dword [0xf62698]
mov byte [0xf6273d], 1
cmp ecx, edi
je 0x437a47
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [0xf62698], edi
mov byte [0xf6273d], 0
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], edi
mov byte [esp + 0xbc], 0
cmp dword [esp + 0xb4], ebx
jb 0x437ad3
cmp byte [0xf6273d], 0
je 0x437a92
mov eax, dword [esp + 0xa0]
push eax
call fcn.0062da20
add esp, 4
jmp 0x437ad3
mov ecx, dword [esp + 0xa0]
mov esi, dword [0xf62698]
push ecx
call fcn.0046ee0e
cmp dword [0xf62670], edi
jne 0x437ad3
mov ecx, dword [0xf62698]
mov byte [0xf6273d], 1
cmp ecx, edi
je 0x437ac6
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [0xf62698], edi
mov byte [0xf6273d], 0
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.0062c8b8
mov esp, ebp
pop ebp
ret