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

Disassembly:
sub esp, 0xa4
mov eax, dword [0x511038]
xor eax, dword [esp + 0xa4]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0xff4]
xor ebx, ebx
cmp eax, ebx
push edi
jne 0x437db7
mov eax, dword [esi]
mov ecx, dword [eax + 0xcc]
cmp ecx, dword [0x513ac4]
jne 0x437db7
mov edx, dword [eax + 0x48]
mov edi, dword [edx + 8]
cmp edi, ebx
je 0x437db7
mov ebp, 0x19
lea ebx, [ebx]
cmp dword [edi + 8], 1
jne 0x437db1
cmp dword [edi + 0xc], ebp
jne 0x437db1
mov eax, dword [esi]
mov edx, dword [eax + 0x674]
xor ecx, ecx
cmp edx, ebx
sete cl
mov dword [eax + 0x674], ecx
mov eax, dword [esi]
cmp dword [eax + 0x674], ebx
mov ecx, 0xffffd8f0
jne 0x437da5
mov ecx, dword [eax + 0x308]
push ecx
mov ecx, dword [eax + 0xfc]
call fcn.004539c0
mov edi, dword [edi]
cmp edi, ebx
jne 0x437d70
mov edx, dword [esi]
cmp dword [edx + 0x674], ebx
jne 0x439668
mov ecx, dword [esi + 0x25c]
cmp dword [ecx + 0xac], 0xc0400000
jne 0x437ead
cmp dword [ecx + 0x144], ebx
jne 0x437ead
push 1
call fcn.00419a60
mov eax, dword [esi + 0x25c]
mov dword [eax + 0x11c], ebx
mov ecx, dword [esi + 0x25c]
mov dword [ecx + 0x120], ebx
mov edx, dword [esi + 0x25c]
mov dword [edx + 0xe8], ebx
mov eax, dword [esi + 0x25c]
mov dword [eax + 0xd0], ebx
mov ecx, dword [esi + 0x25c]
mov dword [ecx + 0xec], ebx
mov edx, dword [esi + 0x25c]
push ebx
mov dword [edx + 0xd4], ebx
mov ecx, dword [esi + 0x25c]
push ebx
call fcn.00418aa0
mov ecx, eax
call fcn.00418aa0
lea ecx, [eax + 0xd0]
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov dword [ecx], edx
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
mov dword [ecx + 4], edx
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x18]
mov dword [ecx + 8], edx
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
add eax, 0xe8
mov dword [eax], ecx
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x25c]
cmp dword [ecx + 0x108], ebx
je 0x437edc
fld dword [ecx + 0xac]
fcomp dword [ecx + 0xc4]
fnstsw ax
test ah, 0x44
jp 0x437edc
cmp dword [ecx + 0x144], ebx
je 0x437edc
push ebx
call fcn.00419a60
cmp dword [esi + 0x10a0], ebx
jne 0x438318
mov ecx, dword [esi + 0x25c]
push ebx
call fcn.00418aa0
mov edi, eax
push ebx
mov ecx, edi
call fcn.00418ce0
mov ebp, eax
mov eax, dword [esi + 0x25c]
cmp dword [eax + 0x108], ebx
je 0x438085
cmp dword [eax + 0x94], 0xc0400000
jne 0x438085
mov eax, dword [esi]
cmp dword [eax + 0x30c], ebx
je 0x438085
cmp dword [esi + 0x10bc], ebx
je 0x438085
mov ecx, dword [eax + 0x6c]
mov eax, dword [esi + 0x10b4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
test eax, eax
jne 0x438032
mov eax, dword [edi + 0x10]
cmp eax, ebx
jne 0x43800a
mov ecx, esi
call fcn.00426e10
test eax, eax
jne 0x437f8c
mov eax, dword [esi + 0x25c]
mov ecx, dword [eax + 0xc4]
mov dword [eax + 0xac], ecx
mov edx, dword [esi + 0x25c]
mov dword [edx + 0x108], ebx
jmp 0x438085
mov eax, 1
mov dword [edi + 0x10], eax
mov dword [ebp + 0x154], ebx
mov dword [ebp + 0x158], eax
call fcn.004c81aa
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov eax, dword [esi + 0x25c]
fmul dword [0x4dbb54]
fsub dword [0x4dba70]
fstp dword [eax + 0x11c]
call fcn.004c81aa
mov ecx, dword [esi + 0x25c]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul dword [0x4dbb54]
fsub dword [0x4dba90]
fsub dword [0x4dbb50]
fstp dword [ecx + 0x120]
mov dword [edi + 0xe8], ebx
mov dword [edi + 0xd0], ebx
mov dword [edi + 0xec], ebx
mov dword [edi + 0xd4], ebx
jmp 0x438085
cmp eax, 1
jne 0x438085
mov eax, dword [esi + 0x25c]
mov edx, dword [eax + 0xc4]
mov dword [eax + 0xac], edx
mov dword [edi + 0x10], ebx
mov eax, dword [esi + 0x25c]
mov dword [eax + 0x108], ebx
jmp 0x438085
fld qword [esp + 0xb8]
fmul qword [0x4dbb48]
fadd dword [ebp + 0x150]
fcom dword [0x4db294]
fnstsw ax
test ah, 1
jne 0x43807f
mov ecx, dword [ebp + 0x158]
fstp st(0)
mov dword [esp + 0x1c], 0
mov dword [ebp + 0x154], ecx
call fcn.004c81aa
fld dword [esp + 0x1c]
cdq
mov ecx, 0xa
idiv ecx
mov dword [ebp + 0x158], edx
fstp dword [ebp + 0x150]
mov eax, dword [esi + 0x25c]
cmp dword [eax + 0x144], ebx
je 0x4382ea
fld dword [eax + 0x11c]
push 0
fsub dword [edi + 0xd0]
fsub dword [edi + 0xe8]
fmul dword [0x4db6e4]
fmul qword [esp + 0xbc]
fadd dword [edi + 0xe8]
fstp dword [edi + 0xe8]
mov edx, dword [esi + 0x25c]
fld dword [edx + 0x120]
fsub dword [edi + 0xd4]
fsub dword [edi + 0xec]
fmul dword [0x4db2b4]
fmul qword [esp + 0xbc]
fadd dword [edi + 0xec]
fstp dword [edi + 0xec]
mov eax, dword [esi]
fld qword [eax + 0x280]
fmul qword [0x4dba28]
fsin
fmul dword [0x4dbae4]
fsub dword [0x4dbb40]
fstp dword [edi + 0x98]
mov ecx, dword [esi]
fld qword [ecx + 0x280]
mov ecx, edi
fmul qword [0x4dba68]
fsin
fmul dword [0x4db5f0]
fstp dword [edi + 0x94]
mov edx, dword [esi]
fld qword [edx + 0x280]
fmul qword [0x4dbb38]
fsin
fmul dword [0x4db5f0]
fstp dword [edi + 0x9c]
call fcn.00418aa0
mov ebx, eax
push 0
mov ecx, ebx
call fcn.00418ce0
push 1
mov ecx, ebx
mov dword [esp + 0x20], eax
call fcn.00418ce0
push 0
mov ecx, ebp
mov dword [esp + 0x24], eax
call fcn.00401000
fld dword [eax + 0x24]
fsub dword [ebp + 0xb0]
add eax, 0x24
push 1
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
fld dword [eax + 4]
fsub dword [ebp + 0xb4]
fstp dword [esp + 0x18]
fld dword [eax + 8]
mov eax, dword [esp + 0x20]
fsub dword [ebp + 0xb8]
mov edx, dword [esp + 0x18]
add eax, 0xbc
mov dword [eax], ecx
fstp dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, ebp
call fcn.00401000
fld dword [eax + 0x24]
fsub dword [ebp + 0xb0]
add eax, 0x24
mov edx, dword [esp + 0x20]
fstp dword [esp + 0x10]
fld dword [eax + 4]
add edx, 0xbc
fsub dword [ebp + 0xb4]
fstp dword [esp + 0x14]
fld dword [eax + 8]
mov eax, dword [esp + 0x10]
fsub dword [ebp + 0xb8]
mov ecx, dword [esp + 0x14]
mov dword [edx], eax
mov dword [edx + 4], ecx
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [edx + 8], eax
mov ecx, dword [esi]
fld qword [ecx + 0x280]
fsub qword [edi + 0x138]
fcomp qword [0x4dbb30]
fnstsw ax
test ah, 0x41
jne 0x438292
call fcn.004c81aa
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [0x4dbb2c]
fsub dword [0x4dba90]
fsub dword [0x4dba90]
fstp dword [ebx + 0x120]
call fcn.004c81aa
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [0x4dbb28]
fsub dword [0x4dba70]
fsub dword [0x4dba70]
fstp dword [ebx + 0x11c]
mov edx, dword [esi]
mov eax, dword [edx + 0x280]
mov dword [edi + 0x138], eax
mov ecx, dword [edx + 0x284]
mov dword [edi + 0x13c], ecx
fld dword [ebx + 0x11c]
fsub dword [ebx + 0xd0]
fsub dword [ebx + 0xe8]
fmul dword [0x4db438]
fmul qword [esp + 0xb8]
fadd dword [ebx + 0xe8]
fstp dword [ebx + 0xe8]
fld dword [ebx + 0x120]
fsub dword [ebx + 0xd4]
fsub dword [ebx + 0xec]
fmul dword [0x4db438]
fmul qword [esp + 0xb8]
fadd dword [ebx + 0xec]
fstp dword [ebx + 0xec]
xor ebx, ebx
mov edx, dword [esi]
cmp dword [edx + 0x30c], ebx
jne 0x438380
mov eax, dword [esi + 0x25c]
mov ecx, dword [eax + 0xc4]
mov dword [eax + 0xac], ecx
mov edx, dword [esi + 0x25c]
mov dword [edx + 0x108], ebx
jmp 0x438380
mov eax, dword [esi]
fld qword [eax + 0x280]
fsub qword [esi + 0x1098]
fcomp qword [0x4dbb20]
fnstsw ax
test ah, 0x41
jne 0x438380
call fcn.004c81aa
cdq
mov ecx, 0xa
idiv ecx
cmp edx, 5
jg 0x43835d
push edx
push str.data_sounds_menu
mov ecx, esi
call fcn.004269a0
test eax, eax
je 0x43835d
mov ecx, esi
call fcn.00426e10
mov edi, dword [esi]
call fcn.004c81aa
cdq
mov ecx, 3
idiv ecx
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fsubr qword [edi + 0x280]
fstp qword [esi + 0x1098]
mov ecx, esi
call fcn.00425c40
cmp dword [esi + 0x10a0], ebx
jne 0x4384d9
mov ecx, esi
call fcn.0042ad30
mov ecx, esi
call fcn.0042adb0
mov ecx, dword [esi + 0x238]
push 0x507ae8
call fcn.00419530
mov edi, dword [eax + 0x1c]
cmp edi, ebx
je 0x4383c7
mov edx, dword [esi + 0x238]
mov eax, dword [edx + 0x144]
mov dword [edi + 8], eax
mov ecx, dword [esi + 0x218]
cmp dword [ecx + 0x108], ebx
mov ebp, 0xbe99999a
je 0x4383ed
cmp dword [ecx + 0x98], ebp
jne 0x4383ed
cmp dword [ecx + 0x144], ebx
je 0x4383fc
push ebx
jmp 0x4383f7
cmp dword [ecx + 0x144], ebx
jne 0x4383fc
push 1
call fcn.00419a60
cmp dword [esi + 0xff8], ebx
jne 0x43847f
mov ecx, dword [esi + 0x16c]
cmp dword [ecx + 0x28], ebx
jne 0x43847f
mov ecx, dword [esi + 0x210]
fld dword [ecx + 0xd0]
fcomp dword [0x4dbb18]
fnstsw ax
test ah, 0x41
jp 0x438440
mov dword [ecx + 0xd0], 0xbfc8f5c3
mov edx, dword [esi + 0x210]
mov dword [edx + 0xe8], ebx
jmp 0x43844a
mov dword [ecx + 0xe8], 0xc0a00000
mov eax, dword [esi + 0x218]
mov dword [eax + 0xb0], ebx
mov eax, dword [esi + 0x1fc]
mov ecx, dword [eax + 0xc8]
mov dword [eax + 0xb0], ecx
mov ecx, dword [esi + 0x1fc]
cmp dword [ecx + 0x144], ebx
jne 0x4384d9
push 1
call fcn.00419a60
jmp 0x4384d9
mov ecx, dword [esi + 0x210]
fld dword [ecx + 0xd0]
fcomp dword [0x4fd1ec]
fnstsw ax
test ah, 1
jne 0x4384b3
cmp edi, ebx
mov dword [ecx + 0xd0], ebx
je 0x4384a5
mov dword [edi + 8], ebx
mov edx, dword [esi + 0x210]
mov dword [edx + 0xe8], ebx
jmp 0x4384bd
mov dword [ecx + 0xe8], 0x40a00000
mov eax, dword [esi + 0x218]
mov dword [eax + 0xb0], ebp
mov ecx, dword [esi + 0x1fc]
mov dword [ecx + 0xb0], 0xc0000000
mov edx, dword [esi + 0x16c]
cmp dword [edx + 0x28], ebx
jne 0x438608
cmp dword [esi + 0xffc], ebx
je 0x4385ad
cmp dword [esi + 0xff8], ebx
je 0x43861b
cmp dword [esi + 0x10a0], ebx
jne 0x4385ad
mov edi, dword [esi]
fld qword [edi + 0x280]
fsub qword [esi + 0x1088]
fcomp qword [0x4dbb10]
fnstsw ax
test ah, 0x41
jne 0x4385ad
fild dword [edi + 0x324]
fcom dword [0x4dbb0c]
fnstsw ax
test ah, 5
jp 0x438591
fld dword [0x4dbb08]
fsub st(1)
fmul qword [edi + 0x280]
fmul qword [0x4db9e8]
call fcn.004c7c20
fstp st(0)
test al, 1
jne 0x438593
fld qword [edi + 0x280]
fmul qword [0x4db9e8]
call fcn.004c7c20
xor edx, edx
mov ecx, 0xa
div ecx
mov ecx, esi
push edx
push str.data_sounds_idle
call fcn.004269a0
test eax, eax
je 0x438593
mov ecx, esi
call fcn.00426dc0
jmp 0x438593
fstp st(0)
mov edx, dword [esi]
mov eax, dword [edx + 0x280]
mov dword [esi + 0x1088], eax
mov ecx, dword [edx + 0x284]
mov dword [esi + 0x108c], ecx
cmp dword [esi + 0xff8], ebx
je 0x43861b
mov ecx, dword [esi + 0x214]
fld dword [ecx + 0xd4]
fcomp dword [0x4dbb18]
fnstsw ax
test ah, 0x41
jp 0x4385fe
mov dword [ecx + 0xd4], 0xbfc8f5c3
mov edx, dword [esi + 0x214]
mov dword [edx + 0xec], ebx
mov eax, dword [esi + 0x16c]
mov ecx, dword [eax + 0x20]
cmp dword [ecx + 0x144], ebx
jne 0x438608
push 1
call fcn.00419a60
jmp 0x438608
mov dword [ecx + 0xec], 0xc0800000
cmp dword [esi + 0xff8], ebx
je 0x43861b
mov ecx, dword [esi + 0x16c]
cmp dword [ecx + 0x28], ebx
je 0x438677
mov ecx, dword [esi + 0x214]
fld dword [ecx + 0xd4]
fcomp dword [0x4fd1ec]
fnstsw ax
test ah, 1
jne 0x43866d
mov dword [ecx + 0xd4], ebx
mov edx, dword [esi + 0x214]
mov dword [edx + 0xec], ebx
cmp dword [esi + 0xff8], ebx
jne 0x438677
mov eax, dword [esi + 0x16c]
cmp dword [eax + 0x28], ebx
jne 0x438677
mov ecx, dword [esi + 0x10f4]
cmp dword [ecx + 0x14], ebx
jne 0x438677
push 1
call fcn.004130d0
jmp 0x438677
mov dword [ecx + 0xec], 0x40800000
mov eax, dword [esi]
mov ecx, dword [eax + 0xcc]
cmp ecx, dword [0x513ac4]
jne 0x4386f7
cmp dword [esi + 0xffc], ebx
jne 0x4386f7
cmp dword [esi + 0x10a0], ebx
je 0x4386f7
mov ecx, dword [esi + 0x28c]
mov edi, 0x26
cmp ecx, edi
je 0x4386f7
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx]
push edi
call dword [edx + 0x14]
test eax, eax
je 0x4386f7
mov eax, dword [esi]
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx]
push 0x24
call dword [edx + 0x14]
test eax, eax
je 0x4386f7
mov eax, dword [esi]
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx]
push 0x1e
call dword [edx + 0x14]
test eax, eax
je 0x4386f7
mov ecx, dword [esi + 0x290]
push 1
call fcn.00449330
mov ecx, dword [esi + 0x2a4]
push ebx
push str.Cheat:_All_experiments_set_to_already_passed.
call fcn.004112d0
mov dword [esi + 0x28c], edi
mov eax, dword [esi]
mov ecx, dword [0x513ac4]
cmp dword [eax + 0xcc], ecx
jne 0x438bec
mov ecx, dword [esi + 0x28c]
mov edi, 0x2f
cmp ecx, edi
je 0x438744
mov eax, dword [eax + 0x48]
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx + 0x14]
test eax, eax
je 0x438744
mov eax, dword [esi]
mov edx, dword [eax + 0x2fc]
xor ecx, ecx
test edx, edx
sete cl
mov dword [eax + 0x2fc], ecx
mov dword [esi + 0x28c], edi
mov eax, dword [esi + 0x10a0]
test eax, eax
jne 0x438bec
mov eax, dword [esi + 0x28c]
mov edi, 0x2d
cmp eax, edi
je 0x438789
mov edx, dword [esi]
mov ecx, dword [edx + 0x48]
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
test eax, eax
je 0x438789
mov eax, dword [esi + 0x1084]
xor ecx, ecx
test eax, eax
sete cl
mov dword [esi + 0x28c], edi
mov dword [esi + 0x1084], ecx
mov edx, dword [esi]
mov ecx, dword [edx + 0x48]
mov eax, dword [ecx]
mov edi, 1
push edi
call dword [eax + 0x14]
test eax, eax
je 0x4387a5
push edi
mov ecx, esi
call fcn.00430b90
mov eax, dword [esi + 0x28c]
mov ebx, 0x1f
cmp eax, ebx
je 0x4387c3
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x48]
mov edx, dword [ecx]
push ebx
call dword [edx + 0x14]
test eax, eax
jne 0x4387d1
mov eax, dword [esi + 0x119c]
test eax, eax
je 0x4388c0
mov eax, dword [esi + 0x119c]
test eax, eax
jne 0x438859
push 0
mov ecx, esi
call fcn.00437c30
mov ecx, dword [esi]
mov eax, dword [esi + 0xc8]
mov dword [esi + 0x11ac], edi
mov edx, dword [ecx + 0x288]
mov ecx, dword [edx + 8]
push eax
call fcn.0041a070
mov eax, dword [esi + 0xc8]
mov ecx, dword [eax + 4]
cmp dword [ecx + 8], edi
jne 0x438850
mov eax, dword [esi + 0x2e4]
test eax, eax
je 0x438850
mov eax, dword [esi + 0xff8]
test eax, eax
je 0x43883f
mov eax, dword [esi + 0x1010]
test eax, eax
je 0x43883f
mov edx, dword [esi + 0x230]
mov ecx, dword [esi + 0x16c]
push edx
call fcn.0043f690
mov ecx, esi
call fcn.0042b080
mov dword [esi + 0x1108], 0
mov ecx, esi
call fcn.0042b1b0
jmp 0x4388ba
mov eax, dword [esi]
fld qword [eax + 0x280]
fsub qword [esi + 0x1090]
fcomp qword [0x4dbb00]
fnstsw ax
test ah, 0x41
jne 0x4388ba
mov ecx, esi
call fcn.0042b1b0
mov ecx, dword [esi]
mov edx, dword [ecx + 0x280]
mov dword [esi + 0x1090], edx
mov eax, dword [ecx + 0x284]
mov ecx, dword [esi + 0x11a0]
inc ecx
mov dword [esi + 0x1094], eax
mov eax, ecx
cmp eax, 0xa
mov dword [esi + 0x11a0], ecx
jne 0x4388ba
mov ecx, esi
mov dword [esi + 0x11a0], 0
call fcn.0042df40
mov dword [esi + 0x28c], ebx
mov eax, dword [esi + 0xffc]
test eax, eax
jne 0x4388f5
mov eax, dword [esi + 0x28c]
mov edi, 0x14
cmp eax, edi
je 0x4388f5
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x48]
mov edx, dword [ecx]
push edi
call dword [edx + 0x14]
test eax, eax
je 0x4388f5
mov ecx, esi
call fcn.0042b4e0
mov dword [esi + 0x28c], edi
mov eax, dword [esi + 0xff8]
test eax, eax
jne 0x438a61
mov eax, dword [esi + 0x16c]
mov ecx, dword [eax + 0x28]
test ecx, ecx
jne 0x438a61
mov eax, dword [esi + 0xffc]
test eax, eax
jne 0x43894d
mov eax, dword [esi + 0x28c]
mov edi, 0x30
cmp eax, edi
je 0x43894d
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x48]
mov edx, dword [ecx]
push edi
call dword [edx + 0x14]
test eax, eax
je 0x43894d
mov ecx, dword [esi + 0x16c]
call fcn.0043a810
mov dword [esi + 0x28c], edi
mov eax, dword [esi + 0x28c]
mov edi, 0x16
cmp eax, edi
je 0x438989
mov eax, dword [esi]
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx]
push edi
call dword [edx + 0x14]
test eax, eax
je 0x438989
mov eax, dword [esi + 0x16c]
mov ecx, dword [eax + 0x28]
test ecx, ecx
jne 0x438983
push 0
push 4
mov ecx, esi
call fcn.004305d0
mov dword [esi + 0x28c], edi
mov eax, dword [esi + 0x28c]
mov edi, 0x22
cmp eax, edi
je 0x4389c5
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x48]
mov edx, dword [ecx]
push edi
call dword [edx + 0x14]
test eax, eax
je 0x4389c5
mov eax, dword [esi + 0x16c]
mov ecx, dword [eax + 0x28]
test ecx, ecx
jne 0x4389bf
push 0
push 5
mov ecx, esi
call fcn.004305d0
mov dword [esi + 0x28c], edi
mov eax, dword [esi + 0x28c]
mov ebx, 0x18
cmp eax, ebx
je 0x438a2b
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x48]
mov edx, dword [ecx]
push ebx
call dword [edx + 0x14]
test eax, eax
je 0x438a2b
mov eax, dword [esi + 0xc8]
mov ecx, dword [eax + 4]
mov ebp, dword [ecx]
test ebp, ebp
je 0x438a25
mov edi, dword [ebp + 8]
push 6
mov ecx, edi
call fcn.00417e80
test eax, eax
jne 0x438a1e
mov eax, dword [edi + 0x18c]
test eax, eax
jne 0x438a1e
mov eax, dword [esi + 0xff8]
test eax, eax
jne 0x438a1e
push edi
mov ecx, esi
call fcn.0042f620
mov ebp, dword [ebp]
test ebp, ebp
jne 0x4389f2
mov dword [esi + 0x28c], ebx
mov edi, 2
cmp dword [esi + 0x28c], edi
je 0x438a58
mov edx, dword [esi]
mov ecx, dword [edx + 0x48]
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
test eax, eax
je 0x438a58
lea ecx, [edi - 2]
push ecx
mov ecx, esi
call fcn.0042c5f0
mov dword [esi + 0x28c], edi
inc edi
lea edx, [edi - 2]
cmp edx, 0xc
jl 0x438a30
mov eax, dword [esi + 0x16c]
mov ecx, dword [eax + 0x28]
test ecx, ecx
jne 0x438bec
mov eax, dword [esi + 0x28c]
mov edi, 0xc8
cmp eax, edi
je 0x438aa1
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x48]
mov edx, dword [ecx]
push edi
call dword [edx + 0x14]
test eax, eax
je 0x438aa1
push 1
push 2
mov ecx, esi
call fcn.004305d0
mov dword [esi + 0x28c], edi
mov eax, dword [esi + 0x28c]
mov edi, 0xd0
cmp eax, edi
je 0x438ad0
mov eax, dword [esi]
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx]
push edi
call dword [edx + 0x14]
test eax, eax
je 0x438ad0
push 1
push 2
mov ecx, esi
call fcn.004305d0
mov dword [esi + 0x28c], edi
mov eax, dword [esi + 0x28c]
mov edi, 0xcd
cmp eax, edi
je 0x438aff
mov eax, dword [esi]
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx]
push edi
call dword [edx + 0x14]
test eax, eax
je 0x438aff
push 0
push 1
mov ecx, esi
call fcn.004305d0
mov dword [esi + 0x28c], edi
mov eax, dword [esi + 0x28c]
mov edi, 0xcb
cmp eax, edi
je 0x438b2e
mov eax, dword [esi]
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx]
push edi
call dword [edx + 0x14]
test eax, eax
je 0x438b2e
push 1
push 1
mov ecx, esi
call fcn.004305d0
mov dword [esi + 0x28c], edi
mov eax, dword [esi]
mov ecx, dword [eax + 0x48]
mov edi, dword [ecx + 8]
test edi, edi
je 0x438bec
mov edi, edi
cmp dword [edi + 8], 8
jne 0x438be2
mov ecx, dword [edi + 0xc]
mov eax, 0x88888889
imul ecx
mov eax, edx
add eax, ecx
sar eax, 6
mov edx, eax
shr edx, 0x1f
add eax, edx
cdq
xor eax, edx
sub eax, edx
xor ebp, ebp
test eax, eax
jle 0x438be2
lea ecx, [ecx]
mov eax, dword [esi + 0xac]
fld dword [eax + 0x88]
fcomp dword [0x4db9b8]
fnstsw ax
test ah, 0x41
jne 0x438baf
test ecx, ecx
jge 0x438b9d
mov ecx, dword [esi + 0x244]
push ecx
mov ecx, esi
call fcn.004298c0
jmp 0x438bc0
jle 0x438bc0
mov edx, dword [esi + 0x240]
push edx
mov ecx, esi
call fcn.004298c0
jmp 0x438bc0
xor eax, eax
test ecx, ecx
setg al
mov ecx, esi
push eax
push 1
call fcn.004305d0
mov ecx, dword [edi + 0xc]
mov eax, 0x88888889
imul ecx
mov eax, edx
add eax, ecx
sar eax, 6
mov edx, eax
shr edx, 0x1f
add eax, edx
cdq
xor eax, edx
inc ebp
sub eax, edx
cmp ebp, eax
jl 0x438b70
mov edi, dword [edi]
test edi, edi
jne 0x438b40
mov eax, dword [esi]
mov ecx, dword [eax + 0x288]
mov edx, dword [ecx + 8]
mov ecx, dword [edx + 0xc]
lea edi, [esi + 0x98]
push edi
lea ebp, [esi + 0x8c]
push ebp
call fcn.00403330
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 0x26c], eax
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xd0], ebx
je 0x438c4a
mov eax, dword [eax + 0x11c]
cmp eax, ebx
mov dword [esi + 0xd0], eax
je 0x438c4a
push 1
mov ecx, eax
call fcn.00417e80
mov dword [esi + 0xcc], eax
mov ecx, dword [esi + 0x16c]
cmp dword [ecx + 0x28], ebx
jne 0x438c62
push edi
push ebp
call fcn.0043db70
mov dword [esi + 0xdc], eax
mov eax, dword [esi + 0xd0]
cmp eax, ebx
je 0x438c77
mov eax, dword [eax + 0x7c]
cmp eax, dword [esi + 0x21c]
je 0x438ceb
cmp dword [esi + 0xcc], ebx
jne 0x438ca4
mov ecx, dword [esi + 0xac]
mov edx, dword [esi + 0xc8]
add ecx, 0x88
push ecx
mov ecx, dword [esi + 0x16c]
push edx
call fcn.0043dca0
mov dword [esi + 0xcc], eax
mov eax, dword [esi + 0xac]
mov ecx, dword [esi + 0x16c]
add eax, 0x88
push eax
call fcn.0043ddf0
mov dword [esi + 0x1104], eax
cmp dword [esi + 0xcc], ebx
jne 0x438ceb
mov edx, dword [esi + 0xac]
mov ecx, dword [esi + 0x16c]
mov eax, dword [ecx + 0x1c]
add edx, 0x88
push edx
push eax
call fcn.0043dca0
mov dword [esi + 0xcc], eax
mov eax, dword [esi + 0xd0]
xor edi, edi
cmp eax, ebx
je 0x438d11
add eax, 0x24
push str.mo_button_context_
push eax
call fcn.004c81d0
add esp, 8
test eax, eax
je 0x438d11
mov edi, 1
mov edx, dword [esi + 0xd4]
cmp edx, ebx
jne 0x438d27
cmp dword [esi + 0x1108], ebx
je 0x438db3
mov eax, dword [esi + 0xac]
mov ecx, dword [esi + 0x21c]
fld dword [eax + 0x88]
fsub dword [ecx + 0x88]
add eax, 0x88
fld dword [eax + 4]
fsub dword [ecx + 0x8c]
fld dword [eax + 8]
fsub dword [ecx + 0x90]
fld st(2)
fmulp st(3)
fld st(0)
fmul st(1)
faddp st(3)
fld st(1)
fmul st(2)
faddp st(3)
fxch st(2)
fsqrt
fstp st(2)
fstp st(0)
fld dword [ecx + 0xf4]
fadd dword [0x4db290]
fcompp
fnstsw ax
test ah, 5
jp 0x438db3
cmp dword [esi + 0xcc], edx
jne 0x438d99
mov edx, dword [esi + 0x1104]
cmp edx, dword [esi + 0x1108]
je 0x438db3
cmp dword [ecx + 0x144], ebx
je 0x438da7
push ebx
call fcn.00419a60
mov dword [esi + 0xd4], ebx
mov dword [esi + 0x1108], ebx
cmp dword [esi + 0x10a0], ebx
jne 0x438f0a
mov eax, dword [esi]
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx]
push ebx
call dword [edx + 0x1c]
test eax, eax
je 0x438dd6
cmp edi, ebx
je 0x438f0a
cmp dword [esi + 0x2e4], ebx
jne 0x438f0a
mov edi, dword [esi]
mov eax, dword [edi + 0xcc]
cmp eax, dword [0x513ac4]
jne 0x438f0a
mov eax, dword [esi + 0x22c]
cmp eax, dword [esi + 0x1fc]
je 0x438f0a
mov ecx, dword [esi + 0x16c]
cmp eax, dword [ecx + 0x20]
je 0x438f0a
cmp dword [esi + 0x1038], ebx
jne 0x438f0a
mov edx, dword [esi + 0x21c]
cmp dword [edx + 0x144], ebx
jne 0x438f1e
mov edx, dword [esi + 0xcc]
cmp edx, ebx
jne 0x438e4b
cmp dword [esi + 0x1104], ebx
je 0x438f1e
fld qword [edi + 0x280]
fsub qword [esi + 0xb8]
fcomp qword [0x4dbaf8]
fnstsw ax
test ah, 0x41
jne 0x438f1e
mov eax, dword [esi + 0xac]
add eax, 0x88
mov edi, dword [eax]
mov dword [esp + 0x24], edi
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x1104]
cmp eax, ebx
mov dword [esp + 0x28], edi
je 0x438eb5
mov dword [esi + 0xd4], ebx
mov dword [esi + 0x1108], eax
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x4c], ebx
jne 0x438ead
mov edx, dword [eax + 8]
cmp dword [edx + 0x4c], ebx
je 0x438eee
mov dword [esi + 0x1108], ebx
jmp 0x438f1e
mov dword [esi + 0xd4], edx
push ebx
add edx, 0x24
push edx
call fcn.0043db10
mov ecx, dword [esi + 0x1fc]
mov dword [esi + 0x1190], eax
mov eax, dword [esi + 0xd4]
push ebx
add eax, 0x24
push eax
call fcn.00418b30
cmp eax, ebx
je 0x438eee
mov ecx, dword [eax + 0x78]
mov dword [esi + 0x1194], ecx
mov edx, dword [esi + 0x1108]
mov eax, dword [esi + 0xd4]
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.0042b780
jmp 0x438f1e
mov ecx, dword [esi + 0x21c]
cmp dword [ecx + 0x144], ebx
je 0x438f1e
push ebx
call fcn.00419a60
cmp dword [esi + 0xff8], ebx
je 0x438f53
mov eax, dword [esi + 0xd4]
cmp eax, ebx
je 0x438f3e
cmp dword [eax + 0x194], ebx
jne 0x438f3e
mov dword [esi + 0xd4], ebx
mov eax, dword [esi + 0x1108]
cmp eax, ebx
je 0x438f53
cmp dword [eax + 0x38], ebx
jne 0x438f53
mov dword [esi + 0x1108], ebx
mov edx, dword [esi]
mov eax, dword [0x513ac4]
cmp dword [edx + 0xcc], eax
jne 0x438f69
mov ecx, esi
call fcn.00436c40
mov eax, dword [esi]
mov ecx, dword [eax + 0x290]
cmp ecx, dword [esi + 0xb0]
jne 0x438f87
mov edx, dword [eax + 0x294]
cmp edx, dword [esi + 0xb4]
je 0x438f9f
mov ecx, dword [eax + 0x280]
mov dword [esi + 0xb8], ecx
mov edx, dword [eax + 0x284]
mov dword [esi + 0xbc], edx
mov ecx, dword [eax + 0x290]
mov dword [esi + 0xb0], ecx
mov edx, dword [eax + 0x294]
mov eax, dword [esi + 0xcc]
cmp eax, ebx
mov dword [esi + 0xb4], edx
mov byte [esp + 0x30], 0
jne 0x438fe3
mov ecx, dword [esi + 0xd0]
cmp ecx, ebx
je 0x438ffa
add ecx, 0x24
lea edx, [esp + 0x30]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x438fd7
jmp 0x438ffa
add eax, 0x24
lea edx, [esp + 0x30]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x438ff0
xor ebp, ebp
xor edi, edi
mov edi, edi
mov eax, dword [esi]
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx]
push edi
call dword [edx + 0x1c]
test eax, eax
je 0x439014
mov ebp, 1
inc edi
cmp edi, 3
jl 0x439000
mov eax, dword [esi + 0x1104]
cmp eax, ebx
je 0x4390bf
cmp dword [esi + 0x2e4], ebx
jne 0x4390bf
mov ecx, dword [eax + 0x34]
cmp byte [ecx + 0x10], 0xfe
jne 0x43905b
mov edx, dword [str.fixed_cable]
mov ecx, dword [0x507b4c]
mov dword [esp + 0x30], edx
mov edx, dword [0x507b50]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 0x34]
cmp byte [ecx + 0x10], 0xff
jne 0x43908e
mov edx, dword [str.fixed_belt]
mov ecx, dword [0x507b58]
mov dword [esp + 0x30], edx
mov dx, word [0x507b5c]
mov dword [esp + 0x34], ecx
mov cl, byte [0x507b5e]
mov word [esp + 0x38], dx
mov byte [esp + 0x3a], cl
mov edx, dword [eax + 0x34]
cmp byte [edx + 0x10], 0xfd
jne 0x4390bf
mov eax, dword [str.fixed_rope]
mov ecx, dword [0x507b64]
mov dx, word [0x507b68]
mov dword [esp + 0x30], eax
mov al, byte [0x507b6a]
mov dword [esp + 0x34], ecx
mov word [esp + 0x38], dx
mov byte [esp + 0x3a], al
mov eax, dword [esi]
cmp dword [eax + 0x32c], ebx
je 0x4390ed
mov ecx, dword [esi + 0xac]
add eax, 0x280
push eax
push ebp
add ecx, 0x88
push ecx
mov ecx, dword [esi + 0x1f0]
lea edx, [esp + 0x3c]
push edx
call fcn.00448020
mov eax, dword [esi + 0x16c]
cmp dword [eax + 0x28], ebx
jne 0x439507
mov ecx, dword [esi + 0xc8]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 8]
mov ebp, 1
cmp ecx, ebp
jne 0x439123
mov ecx, dword [esi + 0x22c]
cmp ecx, dword [eax + 0x1c]
je 0x439123
mov ecx, esi
call fcn.0042aa50
mov edx, dword [esi + 0xc8]
mov eax, dword [edx + 4]
cmp dword [eax + 8], ebp
jb 0x439138
mov ecx, esi
call fcn.00429cf0
mov ecx, dword [esi]
mov edx, dword [ecx + 0xcc]
mov eax, dword [0x513ac4]
xor ebx, ebx
cmp edx, eax
jne 0x4392be
cmp dword [esi + 0xff8], ebx
jne 0x43920d
mov eax, dword [esi + 0xc8]
mov ecx, dword [eax + 4]
cmp dword [ecx + 8], ebx
jne 0x43920d
mov edx, dword [esi + 0xac]
fld dword [edx + 0x88]
fcomp dword [0x4db9b8]
fnstsw ax
test ah, 0x41
jne 0x43920d
mov eax, dword [esi + 0xcc]
mov ecx, dword [esi + 0x16c]
mov ecx, dword [ecx + 0x20]
push eax
call fcn.00418b00
test eax, eax
je 0x43920d
mov eax, dword [esi + 0x28c]
mov edi, 0xd3
cmp eax, edi
je 0x43920d
mov edx, dword [esi]
mov ecx, dword [edx + 0x48]
mov eax, dword [ecx]
push edi
call dword [eax + 0x14]
test eax, eax
je 0x43920d
mov eax, dword [esi + 0xcc]
mov ecx, dword [eax + 0x78]
cmp ecx, ebp
jne 0x439203
mov ecx, dword [esi + 0x16c]
mov dword [esi + 0xd8], ebx
mov edx, dword [ecx + 0x20]
push eax
push edx
call fcn.0043c190
mov eax, dword [esi + 0x16c]
mov dword [esi + 0x280], ebx
mov dword [eax + 0x100], ebp
mov ecx, dword [esi + 0x16c]
call fcn.0043e030
jmp 0x439207
dec ecx
mov dword [eax + 0x78], ecx
mov dword [esi + 0x28c], edi
xor edi, edi
lea ebp, [esi + 0xe0]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x48]
mov edx, dword [ecx]
push edi
call dword [edx + 0x1c]
test eax, eax
je 0x43927b
mov eax, dword [esi]
mov ecx, dword [eax + 0x280]
mov dword [esi + 0x1088], ecx
mov edx, dword [eax + 0x284]
mov dword [esi + 0x108c], edx
cmp dword [ebp], ebx
jne 0x43926c
mov eax, dword [eax + 0x48]
mov edx, dword [eax]
lea ecx, [edi + 1]
and ecx, 0x80000001
jns 0x439258
dec ecx
or ecx, 0xfffffffe
inc ecx
push ecx
mov ecx, eax
call dword [edx + 0x1c]
test eax, eax
jne 0x439274
push edi
mov ecx, esi
call fcn.00430b90
jmp 0x439274
push edi
mov ecx, esi
call fcn.00431ce0
mov dword [ebp], 1
inc edi
add ebp, 4
cmp edi, 2
jl 0x439215
mov edx, dword [esi]
mov ecx, dword [edx + 0x48]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x1c]
test eax, eax
jne 0x4392b9
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x48]
mov edx, dword [ecx]
push 1
call dword [edx + 0x1c]
test eax, eax
jne 0x4392b9
cmp dword [esi + 0x11ac], ebx
jne 0x4392b3
push ebx
mov ecx, esi
call fcn.00437c30
mov dword [esi + 0x11ac], ebx
mov ebp, 1
mov eax, dword [esi]
mov ecx, dword [0x513ac4]
cmp dword [eax + 0xcc], ecx
jne 0x4392ea
cmp dword [esi + 0xe8], ebx
jne 0x4392ea
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx]
push 2
call dword [edx + 0x1c]
test eax, eax
je 0x4392ea
mov dword [esi + 0xe8], ebp
cmp dword [esi + 0x2e4], ebx
je 0x439507
mov ecx, dword [esi + 0xc8]
push 0
call fcn.00418aa0
mov ebx, eax
mov eax, dword [esi + 0x2e4]
mov ecx, dword [eax + 4]
add ecx, 0x24
mov edx, dword [ecx]
add eax, 0xc
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0xac]
mov eax, dword [esi + 0x2e4]
add edx, 0x88
mov ecx, dword [edx]
add eax, 0x18
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
mov eax, dword [esi + 0x2e4]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x4394b4
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x44]
cmp byte [ecx + 0x10], 0xfe
jne 0x439428
mov ecx, dword [esi + 0xc8]
push 0
call fcn.00418aa0
mov edx, dword [esi + 0x2e4]
mov dword [esi + 0x228], eax
mov ebp, dword [edx + 0x2c]
push str.Wire
mov ecx, eax
call fcn.00419530
mov ecx, dword [esi + 0x228]
push 0
mov edi, eax
call fcn.00418ce0
mov ecx, eax
call fcn.00401880
mov ecx, dword [esi + 0x228]
push 0
call fcn.00418ce0
mov ecx, eax
call fcn.00401770
mov eax, dword [esi + 0x2e4]
mov eax, dword [eax + 4]
fld dword [eax + 0x2c]
mov ecx, dword [eax + 0x24]
fsub dword [0x4db390]
fld dword [eax + 0x28]
mov eax, dword [esi + 0x10dc]
test eax, eax
fstp dword [esp + 0x28]
mov dword [esp + 0x24], ecx
fstp dword [esp + 0x2c]
mov edx, dword [edi + 0x24]
fld dword [edi + 0x2c]
mov ecx, ebp
fld dword [edi + 0x28]
mov dword [esp + 0x10], edx
fstp dword [esp + 0x14]
fstp dword [esp + 0x18]
jne 0x439412
lea eax, [esp + 0x24]
push eax
call fcn.00406c10
lea ecx, [esp + 0x10]
push ecx
jmp 0x439421
lea edx, [esp + 0x10]
push edx
call fcn.00406c10
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
call fcn.00406d10
mov eax, dword [esi + 0x2e4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x44]
cmp byte [edx + 0x10], 0xfd
jne 0x439507
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
add ecx, 8
push eax
call fcn.00424cb0
mov eax, dword [esi + 0x2e4]
mov ebp, dword [eax]
mov edi, dword [eax + 4]
add ebp, 8
push 1
mov ecx, ebp
add edi, 0x24
call fcn.00407020
mov edx, dword [ebp + 0xc]
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*4]
mov ecx, dword [edi]
mov dword [eax], ecx
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x2e4]
mov edi, dword [edx]
add edi, 8
push 1
mov ecx, edi
call fcn.00407020
mov ecx, dword [edi + 0xc]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*4]
add ebx, 0x88
mov eax, dword [ebx]
mov dword [edx], eax
mov ecx, dword [ebx + 4]
mov dword [edx + 4], ecx
mov eax, dword [ebx + 8]
mov dword [edx + 8], eax
jmp 0x439507
fld dword [ebx + 0x88]
push 0x14
fsub dword [0x4db290]
lea edx, [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [ebx + 0x8c]
fsub dword [0x4db9c4]
fstp dword [esp + 0x2c]
fld dword [ebx + 0x90]
fsub dword [0x4db720]
fstp dword [esp + 0x30]
mov ecx, dword [eax + 0x28]
push ecx
mov ecx, dword [eax + 0x24]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 0xa
push ecx
add edx, 0x24
push edx
push eax
call fcn.00424610
add esp, 0x1c
mov ecx, dword [esi + 0x16c]
mov edx, dword [ecx + 0x28]
mov ecx, dword [esi + 0x2a8]
push edx
call fcn.004249e0
mov ecx, dword [esi + 0x2a4]
xor ebx, ebx
cmp ecx, ebx
je 0x43952d
call fcn.004113d0
xor edi, edi
lea ebp, [esi + 0xe0]
cmp dword [ebp], ebx
je 0x43954c
mov eax, dword [esi]
mov ecx, dword [eax + 0x48]
mov edx, dword [ecx]
push edi
call dword [edx + 0x1c]
test eax, eax
jne 0x43954c
mov dword [ebp], ebx
inc edi
add ebp, 4
cmp edi, 3
jl 0x439535
cmp dword [esi + 0x10a0], ebx
jne 0x4395d2
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
push eax
push ecx
mov ecx, dword [esi + 0x16c]
call fcn.0043f050
mov eax, dword [esi + 0xc8]
cmp eax, ebx
je 0x43958a
push eax
mov ecx, esi
call fcn.0042bac0
mov edx, dword [esi + 0x16c]
mov eax, dword [edx + 0x20]
push eax
mov ecx, esi
call fcn.0042bac0
mov ecx, dword [esi + 0x1fc]
mov edx, dword [ecx + 4]
mov edi, dword [edx]
cmp edi, ebx
je 0x4395c1
lea ebx, [ebx]
mov eax, dword [edi + 8]
push eax
mov ecx, esi
call fcn.0042bac0
mov edi, dword [edi]
cmp edi, ebx
jne 0x4395b0
mov ecx, dword [esi + 0x16c]
mov edx, dword [ecx + 0x1c]
push edx
mov ecx, esi
call fcn.0042bac0
mov ecx, dword [esi + 0x23c]
push ebx
call fcn.00418aa0
mov ecx, eax
fld dword [ecx + 0xec]
fcomp dword [0x4fd1ec]
fnstsw ax
test ah, 0x44
jnp 0x439649
fld dword [ecx + 0xec]
fmul qword [esp + 0xb8]
fadd dword [ecx + 0xd4]
fcom dword [0x4fd1ec]
fnstsw ax
test ah, 0x41
jne 0x43962c
fcomp dword [0x4dba78]
fnstsw ax
test ah, 0x41
jne 0x439649
mov dword [ecx + 0xd4], 0x3f490fdb
jmp 0x439643
fcomp dword [0x4dba7c]
fnstsw ax
test ah, 5
jp 0x439649
mov dword [ecx + 0xd4], 0xbf490fdb
mov dword [ecx + 0xec], ebx
mov eax, dword [esi + 0x28c]
cmp eax, ebx
je 0x439668
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x48]
mov edx, dword [ecx]
push eax
call dword [edx + 0x14]
test eax, eax
jne 0x439668
mov dword [esi + 0x28c], ebx
mov ecx, dword [esp + 0xb0]
xor ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
call fcn.004c72c5
add esp, 0xa4
ret 8