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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
mov eax, dword [0x50cc40]
xor eax, dword [ebp + 4]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x150], eax
mov eax, dword [esi + 0x168]
mov ecx, dword [eax + 0x28]
test ecx, ecx
push edi
jne 0x431a57
mov ecx, esi
call fcn.0042bcb0
mov eax, dword [esi + 0x2e0]
test eax, eax
jne 0x431a4d
mov eax, dword [esi + 0xd4]
test eax, eax
je 0x431a57
mov ecx, dword [esi + 0x1008]
cmp ecx, dword [esi + 0x1004]
je 0x431a57
mov edx, dword [esi + 0x168]
mov ecx, dword [eax + 0x7c]
cmp ecx, dword [edx + 0x1c]
je 0x431a3c
cmp ecx, dword [esi + 0xc8]
jne 0x431a57
mov ecx, dword [esi + 0x100c]
push ecx
push eax
mov ecx, esi
call fcn.0042bc30
jmp 0x431a57
mov dword [esi + 0xd4], 0
mov eax, dword [esi]
mov edx, dword [eax + 0x274]
mov ecx, dword [eax + 0x270]
push edx
mov edx, dword [eax + 0x70]
push ecx
mov ecx, dword [esi + 0x1020]
push edx
call fcn.004243c0
mov ecx, dword [esi + 0x1f4]
push 0
push str.mo_number_small
call fcn.00417ee0
mov ebx, eax
push 0
mov ecx, ebx
call fcn.00418090
push 1
mov ecx, ebx
mov edi, eax
call fcn.00418090
mov ebx, eax
mov eax, 1
mov dword [edi + 0x118], eax
mov dword [ebx + 0x118], eax
mov eax, dword [esi + 0x168]
mov ecx, dword [eax + 0x20]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], eax
je 0x431cc7
mov ecx, dword [eax + 8]
fild dword [esp + 0x24]
lea eax, [ecx + 0x88]
mov edx, dword [eax]
fmul dword [0x4d7370]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x168]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x20]
fsubr dword [eax + 0x8c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], 0x3f000000
fstp dword [esp + 0x18]
fld dword [ecx + 0x8c]
fcomp dword [0x4d76dc]
fnstsw ax
test ah, 1
jne 0x431c9c
fld dword [ecx + 0x8c]
fcomp dword [0x4d72a4]
fnstsw ax
test ah, 0x41
jp 0x431c9c
mov edx, dword [esi + 0x214]
fld dword [edx + 0xd4]
fcomp dword [0x4f911c]
fnstsw ax
test ah, 0x44
jnp 0x431c9c
mov eax, dword [ecx + 0x144]
test eax, eax
jne 0x431b79
push 1
call fcn.00418e00
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x78]
mov dword [esp + 0xc], 1
cdq
fild dword [esp + 0xc]
mov ecx, 0xa
idiv ecx
fmul dword [0x4d7a78]
fadd dword [0x4d7a74]
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
lea eax, [edi + 0xb0]
mov edx, eax
mov eax, dword [esp + 0x14]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 8], ecx
lea edx, [ebx + 0xb0]
mov dword [edx], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
fld dword [edi + 0xb4]
fsub dword [0x4d7a70]
mov ecx, edi
fstp dword [edi + 0xb4]
fld dword [ebx + 0xb4]
fsub dword [0x4d7a70]
fstp dword [ebx + 0xb4]
call fcn.00401880
mov ecx, ebx
call fcn.00401880
fild dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov dword [edi + 0x158], eax
mov dword [edi + 0x154], eax
fstp dword [edi + 0x150]
add eax, 9
xor edx, edx
mov ecx, 0xa
div ecx
test edx, edx
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
mov dword [ebx + 0x158], edx
mov dword [ebx + 0x154], edx
jge 0x431c4c
fadd dword [0x4d725c]
fstp dword [ebx + 0x150]
mov edx, dword [esi]
mov eax, dword [edx + 0x284]
mov ecx, dword [edx + 0x280]
push eax
push ecx
push 0
mov ecx, edi
call fcn.004022b0
mov edx, dword [esi]
mov eax, dword [edx + 0x284]
mov ecx, dword [edx + 0x280]
push eax
push ecx
push 0
mov ecx, ebx
call fcn.004022b0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
dec ecx
cmp ecx, 0xffffffff
mov dword [esp + 0xc], ecx
jg 0x431b84
jmp 0x431cb1
mov eax, dword [ecx + 0x144]
test eax, eax
je 0x431cb1
mov ecx, dword [esp + 0xc]
push 0
call fcn.00418e00
inc dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x431ad3
xor eax, eax
mov dword [edi + 0x118], eax
mov dword [ebx + 0x118], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x70]
mov ecx, dword [eax + 0x2d8]
mov edi, dword [eax]
call fcn.0044ae70
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x70]
push eax
push 2
call dword [edi + 0x24]
mov eax, dword [esi + 0x1078]
test eax, eax
je 0x431d38
mov ecx, dword [esi + 0x2a0]
test ecx, ecx
je 0x431d38
mov eax, dword [esi]
add eax, 0x90
mov edx, dword [eax]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x3c], edx
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x34]
push edx
push 0x10
push 0x10
push 0
mov dword [esp + 0x50], eax
call fcn.00410d10
mov eax, dword [esi]
mov ecx, dword [eax + 0x288]
mov eax, dword [eax + 0x70]
mov edi, dword [ecx + 0x14]
mov edx, dword [eax]
push 0
push 3
mov ecx, eax
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 1
push 0xd
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 1
push 6
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 1
push 7
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 0
push 0x28
call dword [edx + 0x68]
mov eax, dword [edi + 4]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], 0
je 0x431e42
mov edx, eax
mov ebx, dword [edx + 8]
mov al, byte [ebx + 0xc]
test al, al
jne 0x431e34
mov ecx, dword [ebx + 8]
cmp dword [esp + 0xc], ecx
je 0x431ddb
call fcn.00447b10
mov ecx, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ecx]
push eax
push 0
call dword [edx + 0x60]
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], ecx
mov ebx, dword [ebx + 4]
fld dword [ebx + 4]
fcomp dword [0x4d7960]
fnstsw ax
test ah, 0x41
jnp 0x431e0e
fld dword [ebx + 8]
fcomp dword [0x4d7a6c]
fnstsw ax
test ah, 1
jne 0x431e34
fld dword [ebx + 8]
fcomp dword [0x4d72a4]
fnstsw ax
test ah, 0x41
jp 0x431e34
test ebx, ebx
je 0x431e34
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov ecx, dword [eax + 0x2d4]
push ecx
push 0x3f800000
push 0x3f800000
push eax
mov ecx, ebx
call fcn.004619e0
mov edx, dword [esp + 0x2c]
mov edx, dword [edx]
test edx, edx
mov dword [esp + 0x2c], edx
jne 0x431da4
mov edx, dword [esi]
mov ecx, dword [edx + 0x70]
mov eax, dword [ecx]
push 0
push 0
call dword [eax + 0x60]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ecx]
push 1
push 0x28
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 0
push 0xd
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 1
push 0
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 1
push 3
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 3
push 3
push 0
call dword [edx + 0x6c]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 2
push 4
push 0
call dword [edx + 0x6c]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 0
push 5
push 0
call dword [edx + 0x6c]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 0
push 0
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 1
push 0xd
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 4
push 6
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 5
push 7
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 0
push 0x28
call dword [edx + 0x68]
mov eax, dword [edi + 4]
mov edi, dword [eax]
test edi, edi
mov dword [esp + 0xc], 0
je 0x431f7d
nop
mov ebx, dword [edi + 8]
cmp byte [ebx + 0xc], 1
jne 0x431f77
mov ecx, dword [ebx + 8]
cmp dword [esp + 0xc], ecx
je 0x431f3e
call fcn.00447b10
mov ecx, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ecx]
push eax
push 0
call dword [edx + 0x60]
mov ecx, dword [ebx + 8]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x431f53
mov edx, dword [esi]
mov eax, dword [edx + 0x70]
mov edx, dword [eax + 0x2d4]
push edx
jmp 0x431f67
mov ebx, dword [ebx]
test ebx, ebx
je 0x431f77
mov eax, dword [esi]
mov eax, dword [eax + 0x70]
mov ecx, dword [eax + 0x2d4]
push ecx
mov ecx, ebx
push 0x3f800000
push 0x3f800000
push eax
call fcn.004619e0
mov edi, dword [edi]
test edi, edi
jne 0x431f10
mov edx, dword [esi]
mov ecx, dword [edx + 0x70]
mov eax, dword [ecx]
push 0
push 0xd
call dword [eax + 0x68]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ecx]
push 1
push 0
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 1
push 0x28
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 1
push 3
push 0
call dword [edx + 0x6c]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 0
push 0
call dword [edx + 0x68]
mov eax, dword [esi + 0xff8]
test eax, eax
jne 0x43206c
mov eax, dword [esi + 0xc8]
mov ecx, dword [eax + 4]
mov edi, dword [ecx]
test edi, edi
je 0x432004
mov eax, dword [esi + 0x1038]
test eax, eax
je 0x431ffe
mov edx, dword [esi + 0xac]
mov eax, dword [edi + 8]
push edx
push eax
mov ecx, esi
call fcn.0042bfe0
mov edi, dword [edi]
test edi, edi
jne 0x431fe2
mov ecx, dword [esi + 0x168]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 4]
mov edi, dword [eax]
test edi, edi
je 0x43203c
jmp 0x432020
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x180]
test ecx, ecx
je 0x432036
push ecx
push eax
mov ecx, esi
call fcn.0042bfe0
mov edi, dword [edi]
test edi, edi
jne 0x432020
mov ecx, dword [esi + 0xc8]
mov edx, dword [ecx + 4]
mov edi, dword [edx]
test edi, edi
je 0x43206c
jmp 0x432050
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x180]
test ecx, ecx
je 0x432066
push ecx
push eax
mov ecx, esi
call fcn.0042bfe0
mov edi, dword [edi]
test edi, edi
jne 0x432050
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 1
push 0
call dword [edx + 0x68]
mov eax, dword [esi + 0x168]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x4321a6
mov eax, dword [esp + 0x2c]
mov edi, dword [eax + 8]
cmp dword [edi + 8], 0x2a
jne 0x432194
push 0
push 0xfe
mov ecx, edi
call fcn.00419230
mov ecx, dword [eax + 0x40]
mov dword [esp + 0xc], ecx
fld dword [esp + 0xc]
fcomp dword [0x4d7288]
fnstsw ax
test ah, 0x41
jne 0x432194
fld dword [esp + 0xc]
fcomp dword [0x4d741c]
fnstsw ax
test ah, 0x41
jne 0x4320e8
mov dword [esp + 0xc], 0x41200000
mov edx, dword [esi + 0x1054]
mov eax, dword [esi]
fld qword [eax + 0x270]
push edx
fld qword [0x4d7388]
add edi, 0x88
push edi
call fcn.004c43fa
fld dword [esp + 0x14]
fmul dword [0x4d7380]
push ecx
mov ecx, esi
fmulp st(1)
fstp dword [esp]
call fcn.0042cb70
mov ecx, dword [esi + 0x106c]
mov edi, dword [ecx]
test edi, edi
je 0x432194
lea esp, [esp]
mov edx, dword [esi]
mov ecx, dword [esi + 0x106c]
add edx, 0x270
push edx
lea ebx, [edi + 8]
push ebx
call fcn.004490c0
mov eax, dword [esi]
mov ecx, dword [eax + 0x298]
add ecx, 4
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x18], edx
mov ecx, dword [ecx + 8]
push 0xffffffffffffffff
push 0x3dcccccd
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 0x70]
mov ecx, dword [esi + 0x1054]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.00463690
mov ecx, dword [esi + 0x106c]
push ebx
call fcn.004495c0
mov edi, dword [edi]
test edi, edi
jne 0x432130
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x432094
mov eax, dword [esi + 0xff0]
test eax, eax
je 0x4322e5
mov edx, dword [esi + 0x168]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + 4]
mov ebx, dword [ecx]
test ebx, ebx
je 0x4322e5
lea ebx, [ebx]
mov edi, dword [ebx + 8]
lea edx, [edi + 0x24]
push 0x503ac4
push edx
call fcn.004c4d20
add esp, 8
test eax, eax
je 0x432200
push 0
push 3
mov ecx, edi
call fcn.00419230
mov ecx, dword [esi]
mov edx, dword [ecx + 0x70]
mov ecx, dword [eax + 0x20]
jmp 0x4322d5
mov eax, dword [edi + 8]
cmp eax, 0x3a
je 0x43229f
cmp eax, 0x3b
je 0x43229f
cmp eax, 0x3d
je 0x43229f
cmp eax, 0x4a
jne 0x432231
push 0x503ad0
mov ecx, edi
call fcn.004188d0
jmp 0x432291
cmp eax, 0x49
jne 0x432264
push str.Light
mov ecx, edi
call fcn.004188d0
mov edi, eax
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x432256
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
push edx
call fcn.00407600
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x4322db
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
jmp 0x4322d5
cmp eax, 7
jne 0x4322db
push 0
push 0xb
mov ecx, edi
call fcn.00419230
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x432286
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
push edx
call fcn.00407600
push 1
push 0xb
mov ecx, edi
call fcn.00419230
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4322db
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
jmp 0x4322d5
push 0
push 4
mov ecx, edi
call fcn.00419230
mov ecx, dword [esi]
mov edx, dword [ecx + 0x70]
mov eax, dword [eax + 0x20]
mov ecx, dword [eax]
push edx
call fcn.00407600
cmp dword [edi + 8], 0x3d
jne 0x4322db
push 1
push 4
mov ecx, edi
call fcn.00419230
mov ecx, dword [esi]
mov eax, dword [eax + 0x20]
mov edx, dword [ecx + 0x70]
mov ecx, dword [eax]
push edx
call fcn.00407600
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4321d0
mov eax, dword [esi + 0x1074]
test eax, eax
je 0x432300
mov ecx, dword [esi]
mov edx, dword [ecx + 0x70]
mov ecx, dword [esi + 0x103c]
push edx
call fcn.00420c40
mov eax, dword [esi]
mov ecx, dword [eax + 0x2a0]
call fcn.00447b10
mov ecx, dword [esi]
mov eax, dword [eax + 8]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ecx]
push eax
push 0
call dword [edx + 0x60]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ecx]
push 0
push 0x28
call dword [edx + 0x68]
mov eax, dword [esi + 0x10a0]
test eax, eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 1
push 0xd
je 0x432594
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 1
push 6
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 1
push 7
call dword [edx + 0x68]
mov eax, dword [esi]
add eax, 0x32c
push eax
lea ecx, [esp + 0x54]
push 0x503ae0
push ecx
call fcn.004c3d8c
lea eax, [esp + 0x5c]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x432384
mov edx, dword [esi]
sub eax, ecx
mov ecx, dword [edx + 0x29c]
push 0
push 0x3b83126f
mov edi, eax
call fcn.00447b30
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x70]
push eax
push edi
lea eax, [esp + 0x60]
push eax
call fcn.0044c3a0
fstp dword [esp + 0x24]
lea eax, [esp + 0x50]
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4323c0
mov edx, dword [esi]
sub eax, ecx
mov ecx, dword [edx + 0x2a0]
mov dword [esp + 0x20], eax
call fcn.00447b10
mov edi, eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x2a0]
call fcn.00447b10
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call dword [edx + 0x10]
fld dword [0x4d7a68]
fsub dword [esp + 0x24]
mov dword [esp + 0x18], 0x3f59999a
mov dword [esp + 0x1c], 0
push 0
fstp dword [esp + 0x18]
mov ecx, dword [edi + 8]
mov edi, dword [esi]
mov dword [esp + 0x14], eax
push 0x3b83126f
mov eax, edi
mov edx, dword [eax + 0x70]
mov eax, dword [ecx]
mov ebx, dword [edx]
push 0x3b83126f
push 0xffa0a0a0
call dword [eax + 0x14]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi]
push eax
push ecx
mov ecx, dword [edx + 0x29c]
call fcn.00447b30
mov edx, dword [edi + 0x298]
push eax
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x70]
push ecx
mov ecx, dword [edi + 0x70]
push edx
lea eax, [esp + 0x3c]
push eax
call dword [ebx + 0xb8]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ecx]
push 1
push 0xd
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 4
push 6
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 5
push 7
call dword [edx + 0x68]
push str.V1.13
lea eax, [esp + 0x54]
push 0x503aec
push eax
call fcn.004c3d8c
lea eax, [esp + 0x5c]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4324b0
sub eax, ecx
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x29c]
push 0
push 0x3b23d70a
mov edi, eax
call fcn.00447b30
push eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
push edi
lea edx, [esp + 0x60]
push edx
call fcn.0044c3a0
fstp dword [esp + 0x24]
lea eax, [esp + 0x50]
lea ecx, [eax + 1]
jmp 0x4324f0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4324f0
sub eax, ecx
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x2a0]
mov dword [esp + 0x20], eax
call fcn.00447b10
mov edx, dword [esi]
mov ecx, dword [edx + 0x2a0]
mov edi, eax
call fcn.00447b10
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
call dword [eax + 0x10]
fld dword [0x4d7a64]
fsub dword [esp + 0x24]
mov dword [esp + 0x18], 0x3fd9999a
mov dword [esp + 0x1c], 0
push 0
fstp dword [esp + 0x18]
mov ecx, dword [edi + 8]
mov edi, dword [esi]
push 0x3b23d70a
mov edx, edi
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x70]
mov edx, dword [ecx]
mov ebx, dword [eax]
push 0x3b23d70a
push 0xa0ffffff
call dword [edx + 0x14]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x29c]
push eax
mov eax, dword [esp + 0x24]
push eax
call fcn.00447b30
mov edx, dword [esp + 0x38]
mov ecx, dword [edi + 0x298]
push eax
push edx
lea eax, [esp + 0x70]
push eax
push ecx
lea edx, [esp + 0x3c]
push edx
jmp 0x432706
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 4
push 6
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 5
push 7
call dword [edx + 0x68]
mov ecx, dword [esi + 0x28c]
mov edx, dword [ecx + 8]
xor eax, eax
test edx, edx
je 0x4325c8
push edx
call fcn.00446250
mov ecx, dword [esi + 0x28c]
mov edx, dword [ecx + 8]
test edx, edx
je 0x4325fc
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 8]
push edx
inc eax
push eax
mov eax, dword [esi + 0x168]
add eax, 0x2c
push eax
lea ecx, [esp + 0x5c]
push str._s__d__d_
push ecx
call fcn.004c3d8c
add esp, 0x14
jmp 0x43261f
mov edx, dword [ecx + 4]
mov eax, dword [edx + 8]
mov ecx, dword [esi + 0x168]
push eax
add ecx, 0x2c
push ecx
lea edx, [esp + 0x58]
push str._s____d_
push edx
call fcn.004c3d8c
add esp, 0x10
lea eax, [esp + 0x50]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432626
sub eax, edx
mov edi, eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x29c]
push 0
push 0x3ba3d70a
call fcn.00447b30
mov edx, dword [esi]
push eax
push edi
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [edx + 0x70]
call fcn.0044c3a0
fstp dword [esp + 0x10]
lea eax, [esp + 0x50]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x432661
sub eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x2a0]
call fcn.00447b10
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x2a0]
mov edi, eax
call fcn.00447b10
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call dword [edx + 0x10]
fld dword [esp + 0x10]
fmul dword [0x4d7288]
mov dword [esp + 0x18], 0x40500000
mov dword [esp + 0x1c], 0x3c23d70a
push 0
fsubr dword [0x4d7a60]
mov dword [esp + 0x24], eax
push 0x3ba3d70a
push 0x3ba3d70a
fstp dword [esp + 0x20]
mov ecx, dword [edi + 8]
mov edi, dword [esi]
mov eax, edi
mov edx, dword [eax + 0x70]
mov eax, dword [ecx]
mov ebx, dword [edx]
push 0xa0ffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x30]
mov edx, dword [esi]
push eax
push ecx
mov ecx, dword [edx + 0x29c]
call fcn.00447b30
mov edx, dword [edi + 0x298]
push eax
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x70]
push ecx
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, dword [edi + 0x70]
call dword [ebx + 0xb8]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ecx]
push 0
push 0
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 1
push 0x28
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 0
push 0xd
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 0
push 0
call dword [edx + 0x60]
mov eax, dword [esi + 0x27c]
test eax, eax
je 0x432831
lea eax, [esi + 0x26c]
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edi, dword [edx + 8]
cmp eax, edi
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
jle 0x43277c
mov edx, edi
mov edi, eax
mov dword [esp + 0x34], edx
cmp ecx, ebx
jle 0x432788
mov eax, ebx
mov ebx, ecx
mov dword [esp + 0x38], eax
fild dword [esp + 0x34]
mov eax, dword [esi]
mov dword [esp + 0x1c], 0x3f000000
push 1
fstp dword [esp + 0x18]
fild dword [esp + 0x3c]
push 0xd
fstp dword [esp + 0x20]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 4
push 6
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 5
push 7
call dword [edx + 0x68]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 0
push 0
call dword [edx + 0x60]
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov eax, dword [esp + 0x38]
mov edx, dword [ecx]
push 0x3f800000
push 0x3f800000
push 0
sub ebx, eax
push 0
mov dword [esp + 0x20], ebx
fild dword [esp + 0x20]
mov ebx, dword [esp + 0x44]
push 0x80ff0000
sub esp, 8
sub edi, ebx
fstp dword [esp + 4]
mov dword [esp + 0x2c], edi
fild dword [esp + 0x2c]
lea eax, [esp + 0x30]
fstp dword [esp]
push eax
call dword [edx + 0xbc]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x70]
mov edx, dword [ecx]
push 0
push 0xd
call dword [edx + 0x68]
mov eax, dword [esi + 0x264]
mov dword [eax + 0x118], 1
mov eax, dword [esi + 0xff8]
xor ebx, ebx
cmp eax, ebx
jne 0x43297b
mov ecx, dword [esi + 0x168]
mov edx, dword [ecx + 0x1c]
push edx
mov ecx, esi
call fcn.0042c650
mov eax, dword [esi + 0xc8]
push eax
mov ecx, esi
call fcn.0042c650
mov ecx, dword [esi + 0xac]
add ecx, 0x88
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 4]
mov edx, dword [esi + 0x2a4]
mov dword [esp + 0x18], eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x1c], ecx
mov eax, dword [edx + 4]
mov edi, dword [eax]
cmp edi, ebx
je 0x43297b
mov eax, dword [edi + 8]
cmp dword [eax + 0x38], ebx
je 0x432971
mov ecx, dword [eax + 0x34]
cmp byte [ecx + 0x10], 0xfe
jne 0x4328cc
mov ecx, dword [eax + 0x2c]
push 0x3f000000
lea edx, [esp + 0x18]
push edx
call fcn.004064c0
jmp 0x432925
fld dword [eax + 0x18]
fsub dword [eax + 0xc]
fld dword [eax + 0x1c]
fsub dword [eax + 0x10]
fld dword [eax + 0x20]
fsub dword [eax + 0x14]
fstp dword [esp + 0x3c]
fxch st(1)
fmul dword [0x4d7288]
fstp dword [esp + 0x44]
fmul dword [0x4d7288]
fld dword [esp + 0x44]
fadd dword [eax + 0xc]
fstp dword [esp + 0x28]
fadd dword [eax + 0x10]
fstp dword [esp + 0x2c]
fld dword [eax + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
fstp dword [esp + 0x30]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov eax, dword [esi + 0x264]
mov ecx, dword [esp + 0x14]
add eax, 0xb0
mov dword [eax], ecx
mov edx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x264]
call fcn.00401880
mov edx, dword [esi]
mov eax, dword [edx + 0x284]
mov ecx, dword [edx + 0x280]
mov edx, dword [esi + 0x1060]
push eax
push ecx
mov ecx, dword [esi + 0x264]
push edx
call fcn.00402100
mov edi, dword [edi]
cmp edi, ebx
jne 0x4328a3
mov edx, dword [esi + 0xcc]
cmp edx, ebx
je 0x432bfe
cmp dword [esi + 0x10a0], ebx
jne 0x432bfe
mov eax, dword [esi + 0x168]
cmp dword [eax + 0x28], ebx
jne 0x432bfe
cmp dword [eax + 0xec], ebx
jne 0x432bfe
mov ecx, dword [edx + 0x7c]
cmp ecx, dword [eax + 0x1c]
je 0x4329c4
cmp ecx, dword [esi + 0xc8]
jne 0x432bfe
add edx, 0x24
push str.tmo_zone
push edx
call fcn.00403640
add esp, 8
test eax, eax
je 0x432ae5
mov eax, dword [esi + 0xac]
add eax, 0x88
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
mov ecx, dword [esi + 0xcc]
push ecx
mov ecx, esi
call fcn.00425530
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x432bfe
fild dword [esp + 0x10]
mov edx, dword [esi + 0x264]
dec eax
and eax, 0x80000001
fmul dword [0x4d7a14]
fstp dword [edx + 0xd0]
jns 0x432a3a
dec eax
or eax, 0xfffffffe
inc eax
jne 0x432a54
mov eax, dword [esi + 0x264]
fld dword [eax + 0xd0]
fadd dword [0x4d7978]
fstp dword [eax + 0xd0]
mov eax, dword [esi + 0xac]
mov ecx, dword [esi + 0x264]
add eax, 0x88
mov edx, dword [eax]
add ecx, 0xb0
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [esi + 0x264]
call fcn.00401880
mov edi, dword [esi]
fld qword [edi + 0x280]
fmul qword [0x4d79d8]
fld qword [0x4d7a58]
call fcn.004c43fa
fcomp qword [0x4d7388]
mov ecx, dword [edi + 0x284]
mov edx, dword [edi + 0x280]
push ecx
mov ecx, dword [esi + 0x264]
fnstsw ax
push edx
test ah, 0x41
jp 0x432ac8
mov eax, dword [esi + 0x1064]
jmp 0x432ace
mov eax, dword [esi + 0x1068]
push eax
call fcn.00402100
mov ecx, dword [esi + 0x264]
mov dword [ecx + 0xd0], ebx
jmp 0x432bfe
mov edx, dword [esi + 0xcc]
add edx, 0x24
push str.tmo_wall
push edx
call fcn.00403640
add esp, 8
test eax, eax
je 0x432bfe
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x18c], ebx
jne 0x432bfe
mov ecx, dword [esi + 0xac]
add ecx, 0x88
mov edi, dword [ecx]
sub esp, 0xc
mov edx, esp
mov dword [edx], edi
mov edi, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], edi
mov dword [edx + 8], ecx
mov edx, dword [esi + 0xd0]
push edx
push eax
mov ecx, esi
call fcn.00428e10
test eax, eax
je 0x432bfe
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0x10], ebx
je 0x432b71
mov eax, dword [esi + 0x264]
fld dword [eax + 0xd0]
fadd dword [0x4d7978]
fstp dword [eax + 0xd0]
mov ecx, dword [esi + 0xac]
mov edx, dword [esi + 0x264]
add ecx, 0x88
mov eax, dword [ecx]
add edx, 0xb0
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov ecx, dword [esi + 0x264]
call fcn.00401880
mov edi, dword [esi]
fld qword [edi + 0x280]
fmul qword [0x4d79d8]
fld qword [0x4d7a58]
call fcn.004c43fa
fcomp qword [0x4d7388]
mov edx, dword [edi + 0x284]
push edx
fnstsw ax
test ah, 0x41
mov eax, dword [edi + 0x280]
push eax
jp 0x432be0
mov ecx, dword [esi + 0x1064]
jmp 0x432be6
mov ecx, dword [esi + 0x1068]
push ecx
mov ecx, dword [esi + 0x264]
call fcn.00402100
mov edx, dword [esi + 0x264]
mov dword [edx + 0xd0], ebx
mov eax, dword [esi]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx]
push 1
push ebx
call dword [edx + 0x68]
mov eax, dword [esi + 0x25c]
cmp dword [eax + 0x144], ebx
je 0x432c27
lea ecx, [esi + 0x110c]
push ecx
mov ecx, esi
call fcn.004257f0
mov ecx, dword [esp + 0x154]
xor ecx, dword [ebp + 4]
call fcn.004c3e15
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret