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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c7136
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe0
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x38], esi
xor ebx, ebx
mov dword [esp + 0xf4], ebx
mov dword [esi + 4], ebx
mov dword [esi], 0x4f73fc
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea edi, [esi + 0x134]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x150], ebx
mov dword [esi + 0x158], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x160], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x170], ebx
mov dword [esi + 0x178], ebx
mov dword [esi + 0x17c], ebx
mov dword [esi + 0x180], ebx
mov dword [esi + 0x198], 0xbf800000
mov dword [esi + 0x19c], 0x41200000
mov dword [esi + 0x1c0], ebx
mov dword [esi + 0x1c4], ebx
mov dword [esi + 0x1c8], ebx
mov dword [esi + 0x204], ebx
mov dword [esi + 0x208], ebx
mov dword [esi + 0x20c], ebx
mov dword [esi + 0x234], ebx
mov dword [esi + 0x238], ebx
mov dword [esi + 0x23c], ebx
lea eax, [esi + 0x240]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [esi + 0x2bc], ebx
mov dword [esi + 0x2ec], ebx
mov dword [esi + 0x2f0], ebx
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2fc], ebx
mov dword [esi + 0x300], ebx
mov dword [esi + 0x304], ebx
mov dword [esi + 0x314], ebx
mov dword [esi + 0x328], ebx
mov dword [esi + 0x32c], ebx
mov dword [esi + 0x330], ebx
mov dword [esi + 0x378], ebx
mov dword [esi + 0x37c], ebx
mov dword [esi + 0x380], ebx
mov dl, byte [ebp + 0xc0]
mov eax, str.bonus
mov byte [esp + 0xf4], 0x16
mov byte [esi + 0x370], dl
mov byte [esi + 8], bl
mov byte [esi + 9], bl
mov byte [esi + 0x384], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x49ccd8
sub eax, ecx
push eax
push ebx
push str.bonus
lea ecx, [ebp + 8]
call fcn.00401760
test eax, eax
jle 0x49ccfb
mov byte [esi + 0x384], 1
cmp byte [ebp + 0xc4], bl
mov byte [esi + 0x2d4], bl
je 0x49cd10
mov byte [esi + 0x2d4], 1
mov al, byte [ebp + 0xc8]
push 0xa
lea ecx, [esi + 0x1bc]
mov byte [esi + 0x344], al
call fcn.0047bd90
mov eax, dword [esi + 0x1c0]
cmp eax, ebx
je 0x49cd3c
push eax
call fcn.004ade5d
add esp, 4
push 0x2710
lea ecx, [esi + 0x1c]
mov dword [esi + 0x1c0], ebx
mov dword [esi + 0x1c4], ebx
mov dword [esi + 0x1c8], ebx
call fcn.004933f0
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x49cd6b
push eax
call fcn.004ade5d
add esp, 4
push 0x7d0
lea ecx, [esi + 0xc]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
call fcn.004931d0
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x49cda1
mov edx, dword [esi + 0x14]
lea ecx, [esi + 0xc]
push edx
push eax
call fcn.00426230
mov eax, dword [esi + 0x10]
push eax
call fcn.004ade5d
add esp, 4
push 0x190
mov ecx, edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
call fcn.00452520
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x49cdd5
mov ecx, dword [edi + 8]
push ecx
push eax
mov ecx, edi
call fcn.00426230
mov eax, dword [edi + 4]
push eax
call fcn.004ade5d
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dl, byte [esi + 0x2d4]
neg dl
push 0xa
lea ecx, [esi + 0x144]
mov dword [esi + 0x320], 0x3f800000
mov dword [esi + 0x1dc], 0x7d0
sbb edx, edx
and edx, 0xf0
add edx, 0x6d7
mov dword [esi + 0x1e0], edx
call fcn.0047bf70
mov eax, dword [esi + 0x148]
cmp eax, ebx
je 0x49ce2e
push eax
call fcn.004ade5d
add esp, 4
lea edi, [esi + 0x154]
push 0xa
mov ecx, edi
mov dword [esi + 0x148], ebx
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x150], ebx
call fcn.0047c060
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x49ce5f
push eax
call fcn.004ade5d
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
lea edi, [esi + 0x164]
push 0xa
mov ecx, edi
call fcn.0047c060
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x49ce87
push eax
call fcn.004ade5d
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
lea edi, [esi + 0x174]
push 0xa
mov ecx, edi
call fcn.0047c060
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x49ceaf
push eax
call fcn.004ade5d
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esi + 0x190], ebx
mov dword [esi + 0x194], ebx
mov dword [esi + 0x188], ebx
call fcn.0043f0a0
mov ecx, eax
call fcn.00481ff0
fld dword [ebp + 0xa4]
fmul dword [eax]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
fstp dword [esi + 0x1a0]
mov ecx, dword [eax]
mov dword [esi + 0x1a4], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x1a8], edx
mov dword [esi + 0x1ac], 0x42300000
mov ecx, dword [eax + 8]
mov dword [esi + 0x1b0], ecx
fild dword [eax + 0xc]
fstp dword [esi + 0x1b4]
mov edx, dword [eax + 0x10]
mov dword [esi + 0x1b8], edx
mov edx, dword [ebp + 0x48]
mov dword [esp + 0x10], edx
lea esp, [esp]
cmp edx, ebx
je 0x49cfd7
mov ecx, dword [ebp + 0x4c]
sub ecx, edx
mov edx, dword [esp + 0x18]
sar ecx, 2
cmp edx, ecx
jae 0x49cfd7
mov edx, dword [esi + 0x1c0]
cmp edx, ebx
lea edi, [esi + 0x1bc]
jne 0x49cf60
xor ecx, ecx
jmp 0x49cf68
mov ecx, dword [edi + 8]
sub ecx, edx
sar ecx, 2
cmp edx, ebx
je 0x49cfa1
mov eax, dword [edi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x49cfa1
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 8]
push ecx
push edi
push edx
push 1
push eax
mov dword [esp + 0x28], eax
call fcn.0047b030
mov eax, dword [esp + 0x28]
add esp, 0x14
add eax, 4
mov dword [edi + 8], eax
jmp 0x49cfb7
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 8]
push ecx
push 1
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, edi
call fcn.0043c790
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov edx, dword [ebp + 0x48]
inc ecx
add eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], ecx
jmp 0x49cf30
mov edx, dword [eax + 0x14]
mov dword [esi + 0x1cc], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x1d0], ecx
mov edx, dword [eax + 0x20]
mov dword [esi + 0x1d4], edx
mov eax, dword [eax + 0x24]
mov dword [esi + 0x1d8], eax
mov dword [esp + 0x10], ebx
mov eax, dword [ebp + 0x90]
mov ecx, dword [eax + 4]
cmp ecx, ebx
je 0x49d0cc
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x10]
sub eax, ecx
sar eax, 3
cmp edx, eax
jae 0x49d0cc
fild dword [esi + 0x1dc]
lea eax, [ecx + edx*8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x158]
cmp eax, ebx
mov dword [esp + 0x1c], ecx
fld dword [esp + 0x1c]
fadd st(1)
mov dword [esp + 0x20], edx
lea edi, [esi + 0x154]
fstp dword [esp + 0x1c]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
jne 0x49d060
xor edx, edx
jmp 0x49d068
mov edx, dword [edi + 8]
sub edx, eax
sar edx, 3
cmp eax, ebx
je 0x49d0ad
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 3
cmp edx, ecx
jae 0x49d0ad
mov ecx, dword [esp + 0x38]
mov eax, dword [edi + 8]
push ecx
push edi
lea edx, [esp + 0x24]
push edx
push 1
push eax
mov dword [esp + 0x28], eax
call fcn.0041c040
mov eax, dword [esp + 0x28]
add eax, 8
mov dword [edi + 8], eax
mov eax, dword [esp + 0x24]
add esp, 0x14
inc eax
mov dword [esp + 0x10], eax
jmp 0x49cfff
mov eax, dword [edi + 8]
lea ecx, [esp + 0x1c]
push ecx
push 1
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, edi
call fcn.0041ce10
inc dword [esp + 0x10]
jmp 0x49cfff
mov dword [esp + 0x10], ebx
mov eax, dword [ebp + 0x94]
mov ecx, dword [eax + 4]
cmp ecx, ebx
je 0x49d19d
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x10]
sub eax, ecx
sar eax, 3
cmp edx, eax
jae 0x49d19d
fild dword [esi + 0x1dc]
lea eax, [ecx + edx*8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x168]
cmp eax, ebx
mov dword [esp + 0x1c], ecx
fld dword [esp + 0x1c]
fadd st(1)
mov dword [esp + 0x20], edx
lea edi, [esi + 0x164]
fstp dword [esp + 0x1c]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
jne 0x49d131
xor edx, edx
jmp 0x49d139
mov edx, dword [edi + 8]
sub edx, eax
sar edx, 3
cmp eax, ebx
je 0x49d17e
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 3
cmp edx, ecx
jae 0x49d17e
mov ecx, dword [esp + 0x38]
mov eax, dword [edi + 8]
push ecx
push edi
lea edx, [esp + 0x24]
push edx
push 1
push eax
mov dword [esp + 0x28], eax
call fcn.0041c040
mov eax, dword [esp + 0x28]
add eax, 8
mov dword [edi + 8], eax
mov eax, dword [esp + 0x24]
add esp, 0x14
inc eax
mov dword [esp + 0x10], eax
jmp 0x49d0d0
mov eax, dword [edi + 8]
lea ecx, [esp + 0x1c]
push ecx
push 1
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, edi
call fcn.0041ce10
inc dword [esp + 0x10]
jmp 0x49d0d0
mov dword [esp + 0x10], ebx
mov eax, dword [ebp + 0x98]
mov ecx, dword [eax + 4]
cmp ecx, ebx
je 0x49d26e
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x10]
sub eax, ecx
sar eax, 3
cmp edx, eax
jae 0x49d26e
fild dword [esi + 0x1dc]
lea eax, [ecx + edx*8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x178]
cmp eax, ebx
mov dword [esp + 0x1c], ecx
fld dword [esp + 0x1c]
fadd st(1)
mov dword [esp + 0x20], edx
lea edi, [esi + 0x174]
fstp dword [esp + 0x1c]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
jne 0x49d202
xor edx, edx
jmp 0x49d20a
mov edx, dword [edi + 8]
sub edx, eax
sar edx, 3
cmp eax, ebx
je 0x49d24f
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 3
cmp edx, ecx
jae 0x49d24f
mov ecx, dword [esp + 0x38]
mov eax, dword [edi + 8]
push ecx
push edi
lea edx, [esp + 0x24]
push edx
push 1
push eax
mov dword [esp + 0x28], eax
call fcn.0041c040
mov eax, dword [esp + 0x28]
add eax, 8
mov dword [edi + 8], eax
mov eax, dword [esp + 0x24]
add esp, 0x14
inc eax
mov dword [esp + 0x10], eax
jmp 0x49d1a1
mov eax, dword [edi + 8]
lea ecx, [esp + 0x1c]
push ecx
push 1
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, edi
call fcn.0041ce10
inc dword [esp + 0x10]
jmp 0x49d1a1
mov ecx, dword [ebp + 0x58]
mov edx, dword [ebp + 0x8c]
mov eax, dword [ebp + 0x40]
mov edi, dword [ebp + 0x54]
mov dword [esi + 0x184], edx
mov dword [esi + 0x1e4], eax
mov dword [esi + 0x1e8], ebx
mov dword [esi + 0x1ec], edi
mov dword [esi + 0x1f0], ecx
mov ecx, dword [esi + 0x1c0]
cmp ecx, ebx
jne 0x49d2a9
xor eax, eax
jmp 0x49d2b4
mov eax, dword [esi + 0x1c4]
sub eax, ecx
sar eax, 2
test eax, eax
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
jge 0x49d2c6
fadd dword [0x4f15e0]
fstp dword [esp + 0x28]
fld dword [0x4fc4b8]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 1
jne 0x49d2e3
fld dword [0x4fc4b8]
jmp 0x49d302
call fcn.004af0f4
cdq
mov ecx, 0x2710
idiv ecx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul dword [0x4f3088]
fmul dword [esp + 0x28]
call fcn.004adeb4
mov ecx, dword [esi + 0x1c0]
mov dword [esi + 0x1f4], eax
mov edx, dword [ecx + eax*4]
mov dword [esi + 0x1f8], edi
lea edi, [esi + 0x200]
push 0xa
mov ecx, edi
mov dword [esi + 0x1f4], edx
mov dword [esi + 0x1fc], ebx
call fcn.0047bf70
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x49d347
push eax
call fcn.004ade5d
add esp, 4
mov ecx, dword [ebp + 0x70]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ecx
jmp 0x49d360
cmp ecx, ebx
je 0x49d3f6
mov eax, dword [ebp + 0x74]
sub eax, ecx
mov ecx, dword [esp + 0x18]
sar eax, 4
cmp ecx, eax
jae 0x49d3f6
mov edx, dword [edi + 4]
cmp edx, ebx
jne 0x49d383
xor ecx, ecx
jmp 0x49d38b
mov ecx, dword [edi + 8]
sub ecx, edx
sar ecx, 4
cmp edx, ebx
je 0x49d3c4
mov eax, dword [edi + 0xc]
sub eax, edx
sar eax, 4
cmp ecx, eax
jae 0x49d3c4
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 8]
push ecx
push edi
push edx
push 1
push eax
mov dword [esp + 0x28], eax
call fcn.0047b740
mov eax, dword [esp + 0x28]
add esp, 0x14
add eax, 0x10
mov dword [edi + 8], eax
jmp 0x49d3da
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 8]
push ecx
push 1
push ecx
mov ecx, esp
mov dword [ecx], eax
mov ecx, edi
call fcn.0047bae0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x10
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0x70]
mov dword [esp + 0x10], eax
jmp 0x49d360
mov edx, dword [esi + 0x1a0]
mov edi, dword [esp + 0x24]
mov dword [esi + 0x210], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x214], eax
mov byte [esi + 0x218], bl
mov byte [esi + 0x219], bl
mov byte [esi + 0x21a], bl
mov dword [esi + 0x21c], 0x42480000
mov dword [esi + 0x220], 0xffffd8f0
mov dword [esi + 0x224], 0xffffffff
fld dword [edi + 0x18]
fmul dword [0x4f3084]
call fcn.004adeb4
push 0xa
lea ecx, [esi + 0x230]
mov dword [esi + 0x228], eax
mov dword [esi + 0x22c], edx
call fcn.004932e0
mov eax, dword [esi + 0x234]
cmp eax, ebx
je 0x49d4ad
mov ecx, dword [esi + 0x238]
cmp eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
je 0x49d49e
mov ecx, dword [esp + 0x18]
call fcn.0048d6d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add eax, 8
cmp eax, ecx
mov dword [esp + 0x18], eax
jne 0x49d482
mov eax, dword [esi + 0x234]
push eax
call fcn.004ade5d
add esp, 4
mov ecx, dword [ebp + 0x9c]
mov edx, dword [ebp + 0xa0]
mov dword [esi + 0x234], ebx
mov dword [esi + 0x238], ebx
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x240], ecx
mov dword [esi + 0x244], edx
mov dword [esi + 0x248], 0xffffd8f0
mov dword [esi + 0x24c], 0xffffffff
fld dword [edi + 0x1c]
fmul dword [0x4f3084]
call fcn.004adeb4
mov dword [esi + 0x250], eax
mov dword [esi + 0x254], edx
mov dword [esi + 0x268], ebx
mov dword [esi + 0x258], 0x1770
mov dword [esi + 0x25c], ebx
mov dword [esi + 0x260], ebx
mov dword [esi + 0x264], ebx
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x27c], eax
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x280], ecx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x284], edx
mov dword [esi + 0x278], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x288], ecx
mov byte [esi + 0x28c], bl
mov dword [esi + 0x290], 0xffffd8f0
mov dword [esi + 0x294], 0xffffffff
mov edx, dword [edi + 0x40]
mov dword [esi + 0x298], edx
mov eax, dword [edi + 0x44]
mov dword [esi + 0x29c], eax
mov byte [esi + 0x2a0], 1
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a8], ebx
mov dword [esi + 0x2b0], ebx
mov dword [esi + 0x2b4], ebx
mov dword [esi + 0x2b8], ebx
mov ecx, dword [esi + 0x2bc]
cmp ecx, ebx
mov dword [esi + 0x2bc], ebx
je 0x49d5c5
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x49d5c5
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x2c0], ebx
mov dword [esi + 0x2c4], ebx
mov byte [esi + 0x310], 1
mov ecx, dword [esi + 0x314]
cmp ecx, ebx
mov dword [esi + 0x314], ebx
je 0x49d5fb
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x49d5fb
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x318], ebx
mov dword [esi + 0x31c], ebx
mov dword [esi + 0x388], ebx
call fcn.00437070
cmp dword [eax + 8], ebx
jl 0x49d7cb
cmp byte [esi + 0x2d4], bl
je 0x49d62f
cmp byte [esi + 0x344], bl
jne 0x49d7cb
lea ecx, [esp + 0x14]
push ecx
call fcn.00437070
mov ecx, eax
call fcn.00437010
mov eax, dword [eax]
lea edx, [esp + 0x30]
push edx
mov ecx, eax
call fcn.00437210
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + 0xf4], 0x17
je 0x49d677
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x1c], eax
jne 0x49d677
mov edx, dword [ecx]
push 1
call dword [edx]
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x28]
push eax
mov ecx, edi
call fcn.0043a8b0
mov dword [esi + 0x318], eax
lea eax, [edi + 0x240]
mov dword [esi + 0x31c], eax
mov eax, dword [edi + 0x28]
fld dword [eax*4 + str.333_]
fmul dword [esi + 0x1a0]
fstp dword [esi + 0x1a0]
mov eax, dword [edi + 0x28]
fld dword [eax*4 + str.333_]
fmul dword [esi + 0x1a4]
fstp dword [esi + 0x1a4]
mov ecx, dword [edi + 4]
inc ecx
mov dword [edi + 4], ecx
mov ecx, dword [esi + 0x2bc]
cmp ecx, ebx
mov dword [esi + 0x2bc], edi
je 0x49d6ee
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x49d6ee
mov edx, dword [ecx]
push 1
call dword [edx]
call fcn.00437070
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x318]
lea edx, [ecx + eax*4]
mov dword [esi + 0x2c0], edx
call fcn.00437070
mov eax, dword [eax + 8]
lea edx, [ebp + 8]
lea ecx, [edi + eax*4 + 0x240]
push edx
mov dword [esi + 0x2c4], ecx
call fcn.00437070
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0x318]
push eax
call fcn.0043b800
cmp eax, 3
je 0x49d73c
cmp eax, 4
jne 0x49d742
mov byte [esi + 0x310], bl
mov eax, dword [esi + 0x318]
cmp eax, ebx
je 0x49d796
mov ecx, 0xffffd8f0
mov dword [eax + 0x38], ecx
mov edx, dword [esi + 0x318]
mov dword [edx + 0x34], ecx
mov eax, dword [esi + 0x318]
mov dword [eax + 0x3c], ecx
mov ecx, dword [esi + 0x318]
mov eax, 0x4f130c
lea edx, [eax + 1]
add ecx, 0x40
mov dword [esp + 0x28], edx
jmp 0x49d780
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x49d780
sub eax, dword [esp + 0x28]
push eax
push 0x4f130c
call fcn.00402cd0
mov eax, dword [esi + 0x31c]
mov dword [eax + 0xa4], ebx
mov ecx, dword [esi + 0x31c]
mov dword [ecx + 0xa8], ebx
mov ecx, dword [edi + 4]
dec ecx
mov eax, ecx
cmp eax, ebx
mov byte [esp + 0xf4], 0x16
mov dword [edi + 4], ecx
jne 0x49d7cb
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
call fcn.00437070
cmp dword [eax + 8], ebx
jl 0x49d9f9
cmp byte [esi + 0x2d4], bl
jne 0x49d9f9
mov eax, dword [esi + 0x31c]
mov ecx, dword [eax + 0x1c8]
cmp ecx, ebx
jle 0x49d827
dec ecx
mov dword [eax + 0x1c8], ecx
mov edx, dword [esi + 0x1c4]
mov ecx, dword [esi + 0x1c4]
add edx, 0xfffffffc
lea eax, [edx + 4]
cmp eax, ecx
je 0x49d820
sub edx, eax
mov edi, dword [eax]
mov dword [eax + edx], edi
add eax, 4
cmp eax, ecx
jne 0x49d814
add dword [esi + 0x1c4], 0xfffffffc
mov eax, dword [esi + 0x31c]
mov ecx, dword [eax + 0x1bc]
cmp ecx, ebx
jle 0x49d9f9
mov eax, ecx
mov dword [esi + 0x388], eax
mov eax, dword [ebp + 0xb4]
cmp eax, 2
mov dword [esp + 0x24], 0x430a0000
mov dword [esp + 0x10], 0x430a0000
jne 0x49d870
mov dword [esp + 0x24], 0x43540000
mov dword [esp + 0x10], 0x43500000
jmp 0x49d89c
cmp eax, 3
jne 0x49d887
mov dword [esp + 0x24], 0x43800000
mov dword [esp + 0x10], 0x43800000
jmp 0x49d89c
cmp eax, 4
jne 0x49d89c
mov dword [esp + 0x24], 0x438a0000
mov dword [esp + 0x10], 0x43850000
push 0x1e8
call fcn.004ad909
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0xf4], 0x18
je 0x49d8c2
mov ecx, eax
call fcn.0042dd20
jmp 0x49d8c4
xor eax, eax
cmp eax, ebx
mov byte [esp + 0xf4], 0x16
je 0x49d8d3
inc dword [eax + 4]
mov ecx, dword [esi + 0x314]
cmp ecx, ebx
mov dword [esi + 0x314], eax
je 0x49d8f6
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x49d8f6
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov edi, dword [esi + 0x314]
push eax
push ecx
push 0x43000000
push 0x43000000
lea ecx, [esp + 0x94]
call fcn.00422f90
push eax
mov ecx, edi
call fcn.0042adf0
mov eax, 0x4f7934
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x49d940
sub eax, edi
push eax
push 0x4f7934
lea ecx, [esp + 0x70]
call fcn.00402cd0
mov ecx, dword [esi + 0x314]
lea edx, [esp + 0x68]
push edx
mov byte [esp + 0xf8], 0x19
call fcn.0042c070
cmp dword [esp + 0x80], 0x10
mov byte [esp + 0xf4], 0x16
jb 0x49d98f
mov eax, dword [esp + 0x6c]
push eax
call fcn.004ade5d
add esp, 4
fld dword [ebp + 0xb8]
mov ecx, dword [ebp + 0xbc]
fadd dword [0x4f4540]
push 1
lea edx, [esp + 0x44]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x314]
fstp dword [esp + 0x44]
push edx
mov dword [esp + 0x50], 0xc3c80000
call fcn.00424690
mov eax, dword [esi + 0x314]
cmp eax, ebx
push 1
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
mov dword [ecx], eax
je 0x49d9dd
inc dword [eax + 4]
mov byte [esp + 0x100], 0x1a
call fcn.0040e220
mov edx, dword [eax]
mov ecx, eax
mov byte [esp + 0x100], 0x16
call dword [edx + 0x10]
lea edi, [esi + 0x2f8]
push 0xa
mov ecx, edi
call fcn.0047dd70
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x49da47
mov ecx, dword [edi + 8]
mov edi, eax
cmp edi, ecx
mov dword [esp + 0x14], ecx
je 0x49da32
lea esp, [esp]
mov ecx, edi
call fcn.00461ab0
mov eax, dword [esp + 0x14]
add edi, 0x14
cmp edi, eax
jne 0x49da20
mov eax, dword [esi + 0x2fc]
lea edi, [esi + 0x2f8]
push eax
call fcn.004ade5d
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
xor edi, edi
mov byte [esp + 0xf4], 0x1b
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], ebx
mov eax, ebx
mov ecx, dword [esi + 0x1ec]
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
jb 0x49daa9
mov eax, dword [esi + 0x1f0]
sub eax, ecx
inc eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fdivr dword [0x4f1a10]
fadd dword [esp + 0x28]
fst dword [esp + 0x20]
fstp dword [esp + 0x28]
mov edx, dword [esp + 0x5c]
cmp edx, ebx
je 0x49dae8
mov ecx, dword [esp + 0x64]
mov eax, edi
sub eax, edx
sub ecx, edx
sar eax, 3
sar ecx, 3
cmp eax, ecx
jae 0x49dae8
mov ecx, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x24]
push eax
push 1
push edi
call fcn.0047b000
add esp, 0x14
add edi, 8
mov dword [esp + 0x60], edi
jmp 0x49db01
lea ecx, [esp + 0x1c]
push ecx
push 1
push ecx
mov eax, esp
lea ecx, [esp + 0x64]
mov dword [eax], edi
call fcn.0047c150
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x1f0]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jbe 0x49da70
lea edx, [esp + 0x54]
push edx
lea ecx, [esi + 0x2f8]
mov dword [esp + 0x58], ebx
call fcn.0047e7b0
mov edi, dword [ebp + 0x60]
cmp edi, ebx
je 0x49dde6
mov ecx, dword [ebp + 0x64]
sub ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x49dde6
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], edx
jmp 0x49db60
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
xor edi, edi
mov dword [esp + 0x40], ecx
xor ecx, ecx
mov byte [esp + 0xf4], 0x1c
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x18], ecx
jmp 0x49db90
mov eax, dword [esp + 0x24]
lea esp, [esp]
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
xor ecx, ecx
cmp edx, ebx
mov dword [esp + 0x20], 0
je 0x49dbef
mov eax, dword [eax + 0xc]
sub eax, edx
sar eax, 3
cmp eax, ebx
mov dword [esp + 0x14], eax
jbe 0x49dbef
mov edx, dword [esp + 0x18]
lea esp, [esp]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
cmp dword [eax + ecx*8], edx
jne 0x49dbe2
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 8]
mov edi, dword [eax + ecx*8]
mov eax, dword [eax + ecx*8 + 4]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
inc ecx
cmp ecx, eax
jb 0x49dbc0
mov edi, dword [esp + 0x4c]
cmp dword [esp + 0x48], ebx
je 0x49dc30
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x50]
mov eax, edi
sub eax, edx
sub ecx, edx
sar eax, 3
sar ecx, 3
cmp eax, ecx
jae 0x49dc30
mov ecx, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x24]
push eax
push 1
push edi
call fcn.0047b000
add esp, 0x14
add edi, 8
mov dword [esp + 0x4c], edi
jmp 0x49dc49
lea ecx, [esp + 0x1c]
push ecx
push 1
push ecx
mov eax, esp
lea ecx, [esp + 0x50]
mov dword [eax], edi
call fcn.0047c150
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0x1f0]
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jbe 0x49db88
mov edx, dword [esi + 0x1ec]
fld dword [0x4fc4b8]
cmp edx, eax
fst dword [esp + 0x28]
mov dword [esp + 0x18], ebx
ja 0x49dd17
mov ecx, dword [esi + 0x1f0]
mov eax, dword [esp + 0x48]
sub ecx, edx
lea edi, [eax + edx*8 + 4]
inc ecx
lea ecx, [ecx]
fld dword [edi]
fcom dword [0x4fc4b8]
fnstsw ax
test ah, 0x41
jne 0x49dca3
faddp st(1)
jmp 0x49dcae
mov eax, dword [esp + 0x18]
fstp st(0)
inc eax
mov dword [esp + 0x18], eax
add edi, 8
dec ecx
jne 0x49dc90
fcom dword [0x4f1a10]
fst dword [esp + 0x28]
fnstsw ax
test ah, 0x41
jne 0x49dd17
fld dword [0x4f1a10]
mov eax, dword [esi + 0x1f0]
fdiv st(1)
mov ecx, edx
cmp ecx, eax
fstp dword [esp + 0x14]
fstp st(0)
ja 0x49dd19
mov edx, dword [esp + 0x48]
lea edx, [edx + ecx*8 + 4]
jmp 0x49dcf0
fld dword [edx]
fcomp dword [0x4fc4b8]
fnstsw ax
test ah, 0x41
jne 0x49dd07
fld dword [esp + 0x14]
fmul dword [edx]
fstp dword [edx]
mov eax, dword [esi + 0x1f0]
inc ecx
add edx, 8
cmp ecx, eax
jbe 0x49dcf0
jmp 0x49dd19
fstp st(0)
mov edx, dword [esi + 0x1ec]
fld dword [0x4fc4b8]
cmp edx, dword [esi + 0x1f0]
ja 0x49dd70
mov eax, dword [esp + 0x48]
lea ecx, [eax + edx*8 + 4]
fld dword [ecx]
fcomp dword [0x4fc4b8]
fnstsw ax
test ah, 0x44
jp 0x49dd58
fld dword [0x4f1a10]
fsub dword [esp + 0x28]
fidiv dword [esp + 0x18]
faddp st(1)
fst dword [ecx]
jmp 0x49dd62
fld dword [ecx]
fld st(1)
fadd dword [ecx]
fstp dword [ecx]
faddp st(1)
mov eax, dword [esi + 0x1f0]
inc edx
add ecx, 8
cmp edx, eax
jbe 0x49dd35
mov eax, dword [esp + 0x48]
fdivr dword [0x4f1a10]
xor ecx, ecx
add eax, 4
nop
fld st(0)
inc ecx
fmul dword [eax]
add eax, 8
fstp dword [eax - 8]
mov edx, dword [esi + 0x1f0]
cmp ecx, edx
jbe 0x49dd80
lea ecx, [esp + 0x40]
fstp st(0)
push ecx
lea ecx, [esi + 0x2f8]
call fcn.0047e7b0
mov eax, dword [esp + 0x48]
cmp eax, ebx
mov byte [esp + 0xf4], 0x1b
je 0x49ddc0
push eax
call fcn.004ade5d
add esp, 4
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
add ecx, 0x14
dec eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
jne 0x49db60
lea ecx, [esi + 0x374]
call fcn.00462b80
cmp byte [esi + 0x2d4], bl
jne 0x49e285
lea edx, [esp + 0x14]
push edx
call fcn.00437070
mov ecx, eax
call fcn.00437010
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00437210
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + 0xf4], 0x1d
je 0x49de43
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x1c], edx
jne 0x49de43
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov eax, dword [ebp + 0x70]
cmp eax, ebx
mov byte [esp + 0xf4], 0x1e
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], 0x3dcccccd
mov dword [esp + 0x10], ebx
je 0x49deab
mov edi, dword [ebp + 0x74]
mov edx, eax
sub edi, edx
sar edi, 4
cmp edi, ebx
jbe 0x49deab
lea esp, [esp]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push edx
lea ecx, [esp + 0x74]
mov dword [esp + 0x24], 0xbf800000
call fcn.0047d7e0
mov eax, dword [esp + 0x10]
inc eax
cmp eax, edi
mov dword [esp + 0x10], eax
jb 0x49de80
lea eax, [esp + 0x68]
push eax
lea ecx, [esi + 0x374]
call fcn.0047e840
mov edi, dword [ebp + 0x80]
cmp edi, ebx
je 0x49df1f
mov ecx, dword [ebp + 0x84]
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
je 0x49df1f
add edi, 4
mov dword [esp + 0x28], edx
jmp 0x49def0
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x28]
fld dword [eax*4 + 0x4f7334]
lea eax, [edi - 4]
fmul dword [edi]
push eax
lea ecx, [esi + 0x374]
fstp dword [edi]
call fcn.0047e840
mov eax, dword [esp + 0x28]
add edi, 0x18
dec eax
mov dword [esp + 0x28], eax
jne 0x49def0
mov eax, dword [esi + 0x378]
cmp eax, ebx
je 0x49e24f
mov ecx, dword [esi + 0x37c]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
je 0x49e24f
xor edi, edi
mov dword [esp + 0x14], edx
mov ecx, dword [esi + 0x378]
fld dword [ecx + edi + 4]
mov dword [esp + 0x28], 0
fcomp dword [0x4f7930]
mov dword [esp + 0x3c], 0x3d8f5c29
fnstsw ax
test ah, 0x41
jne 0x49df81
fld dword [ecx + edi + 4]
fstp dword [esp + 0x3c]
mov edx, dword [ecx + edi + 0xc]
cmp edx, ebx
mov dword [esp + 0x24], ebx
je 0x49e1ec
mov eax, dword [ecx + edi + 0x10]
sub eax, edx
sar eax, 3
cmp eax, ebx
mov dword [esp + 0x1c], eax
jbe 0x49e1ec
mov edx, dword [ebp + 0x70]
add edx, 8
mov dword [esp + 0x10], edx
mov ecx, dword [esi + 0x378]
mov eax, dword [ecx + edi + 0xc]
mov edx, dword [esp + 0x24]
fld dword [eax + edx*8 + 4]
fcomp dword [0x4fc4b8]
fnstsw ax
test ah, 0x41
jp 0x49e004
mov edx, dword [ebp + 0x70]
cmp edx, ebx
jne 0x49dfda
xor eax, eax
jmp 0x49dfe2
mov eax, dword [ebp + 0x74]
sub eax, edx
sar eax, 4
test eax, eax
mov edx, dword [ecx + edi + 0xc]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
jge 0x49dff8
fadd dword [0x4f15e0]
fdivr dword [ecx + edi + 4]
mov eax, dword [esp + 0x24]
fstp dword [edx + eax*8 + 4]
cmp dword [esi + 0x31c], ebx
je 0x49e087
mov eax, dword [esi + 0x378]
mov ecx, dword [eax + edi + 0xc]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov edx, eax
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax - 8]
cmp ecx, 1
mov dword [esp + 0x4c], edx
mov edx, dword [eax - 4]
mov dword [esp + 0x34], edx
je 0x49e03f
add edx, 4
cmp ecx, 1
mov dword [esp + 0x30], edx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], edx
je 0x49e05c
add eax, 4
lea ecx, [eax + eax*2 + 0x48]
mov eax, dword [esi + 0x31c]
fild dword [eax + ecx*4]
mov ecx, dword [esp + 0x30]
lea edx, [ecx + ecx*2]
mov ecx, dword [esp + 0x2c]
fmul dword [eax + edx*4 + 0x124]
mov eax, dword [esp + 0x24]
fadd dword [ecx + eax*8 + 4]
fstp dword [ecx + eax*8 + 4]
call fcn.00437070
cmp dword [eax + 8], 0xfffffffe
jne 0x49e0b0
mov eax, dword [esi + 0x378]
mov eax, dword [eax + edi + 0xc]
mov ecx, dword [esp + 0x24]
fld dword [eax + ecx*8 + 4]
lea eax, [eax + ecx*8 + 4]
fadd dword [0x4f792c]
fstp dword [eax]
mov eax, dword [esi + 0x378]
fld dword [esp + 0x28]
mov eax, dword [eax + edi + 0xc]
mov edx, dword [esp + 0x24]
fadd dword [eax + edx*8 + 4]
mov eax, dword [esi + 0x31c]
cmp eax, ebx
fstp dword [esp + 0x28]
je 0x49e17f
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx - 8]
mov dword [esp + 0x30], edx
mov edx, dword [ecx - 4]
mov dword [esp + 0x34], edx
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x4c], ecx
cmp dword [esp + 0x30], 1
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x48], edx
je 0x49e105
add ecx, 4
lea edx, [ecx + ecx*2]
mov ecx, dword [esp + 0x10]
fld dword [eax + edx*4 + 0x124]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x4c], ecx
cmp dword [esp + 0x30], 1
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x48], edx
je 0x49e12e
add ecx, 4
lea edx, [ecx + ecx*2 + 0x48]
fild dword [eax + edx*4]
mov ecx, dword [esi + 0x378]
fmul dword [0x4f7928]
fld dword [ecx + edi + 4]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 5
jp 0x49e17b
fmul st(1)
lea eax, [ecx + edi + 4]
fadd dword [eax]
fstp dword [eax]
mov ecx, dword [esi + 0x378]
fstp st(0)
fld dword [ecx + edi + 4]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jne 0x49e17f
fld dword [esp + 0x3c]
fstp dword [ecx + edi + 4]
jmp 0x49e17f
fstp st(0)
fstp st(0)
call fcn.00437070
cmp dword [eax + 8], 0xfffffffe
jne 0x49e1cc
mov ecx, dword [esi + 0x378]
fld dword [ecx + edi + 4]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 5
jp 0x49e1cc
fld dword [ecx + edi + 4]
lea eax, [ecx + edi + 4]
fadd dword [0x4f2a48]
fstp dword [eax]
mov ecx, dword [esi + 0x378]
fld dword [ecx + edi + 4]
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jne 0x49e1cc
fld dword [esp + 0x3c]
fstp dword [ecx + edi + 4]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc eax
add edx, 0x10
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], edx
jb 0x49dfb0
mov edx, dword [esi + 0x378]
fld dword [esp + 0x28]
fdiv dword [edx + edi + 4]
mov ecx, dword [edx + edi + 0xc]
xor eax, eax
cmp ecx, ebx
fstp dword [esp + 0x1c]
je 0x49e23d
mov edx, dword [edx + edi + 0x10]
sub edx, ecx
sar edx, 3
cmp edx, ebx
jbe 0x49e23d
fld dword [0x4f1a10]
fdiv dword [esp + 0x1c]
nop
mov ecx, dword [esi + 0x378]
fld st(0)
mov ecx, dword [ecx + edi + 0xc]
fmul dword [ecx + eax*8 + 4]
lea ecx, [ecx + eax*8 + 4]
inc eax
cmp eax, edx
fstp dword [ecx]
jb 0x49e220
fstp st(0)
mov eax, dword [esp + 0x14]
add edi, 0x18
dec eax
mov dword [esp + 0x14], eax
jne 0x49df52
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x49e260
push eax
call fcn.004ade5d
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0xf4], 0x1b
je 0x49e285
mov edx, dword [eax + 4]
dec edx
mov ecx, edx
cmp ecx, ebx
mov dword [eax + 4], edx
jne 0x49e285
mov ecx, eax
mov eax, dword [ecx]
push 1
call dword [eax]
lea edi, [esi + 0x324]
push 0xfa0
mov ecx, edi
call fcn.004933f0
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x49e2a7
push eax
call fcn.004ade5d
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
cmp dword [esi + 0x1e4], ebx
mov dword [esp + 0x14], ebx
jle 0x49e306
lea esp, [esp]
push 0x14
call fcn.004ad909
add esp, 4
cmp eax, ebx
je 0x49e2d8
xor ecx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
jmp 0x49e2da
xor eax, eax
or ecx, 0xffffffff
mov dword [eax + 4], ecx
lea edx, [esp + 0x1c]
mov dword [eax + 8], ecx
push edx
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.00493950
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x1e4]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x49e2c0
cmp dword [esi + 0x1e4], ebx
mov dword [esi + 0x1f8], ebx
mov dword [esi + 0x1e8], ebx
jle 0x49e47f
mov edi, edi
mov edx, dword [esi + 0x1fc]
mov ecx, dword [esi + 0x1f8]
inc edx
mov eax, edx
cmp eax, ecx
mov dword [esi + 0x1fc], edx
jl 0x49e44b
mov eax, dword [esi + 0x2fc]
mov dword [esi + 0x1fc], ebx
mov dword [esp + 0x30], eax
mov edi, 1
add eax, 0x14
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x2fc]
cmp eax, ebx
je 0x49e397
mov ecx, dword [esi + 0x300]
mov edx, eax
sub ecx, edx
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edi, edx
jae 0x49e397
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x1e8]
cmp ecx, dword [eax]
jb 0x49e394
mov dword [esp + 0x30], eax
inc edi
jmp 0x49e352
call fcn.004af0f4
cdq
mov ecx, 0x2710
idiv ecx
mov ecx, dword [esi + 0x1f0]
cmp ecx, dword [esi + 0x1ec]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fmul dword [0x4f3088]
fstp dword [esp + 0x1c]
jb 0x49e3f3
mov edx, dword [esp + 0x30]
jmp 0x49e3d0
mov eax, dword [edx + 8]
fld dword [esp + 0x1c]
fcomp dword [eax + ecx*8 + 4]
fnstsw ax
test ah, 0x41
jp 0x49e3e8
mov dword [esi + 0x1f8], ecx
mov eax, dword [esi + 0x1ec]
dec ecx
cmp ecx, eax
jae 0x49e3d0
cmp dword [esi + 0x1e8], ebx
jle 0x49e44b
mov edi, dword [esi + 0x1f4]
lea ecx, [esi + 0x1bc]
call fcn.0043a960
test eax, eax
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
jge 0x49e41e
fadd dword [0x4f15e0]
push ecx
fstp dword [esp]
push ebx
call fcn.00435f50
add esp, 8
call fcn.004adeb4
mov ecx, dword [esi + 0x1c0]
mov dword [esi + 0x1f4], eax
mov edx, dword [ecx + eax*4]
mov eax, edx
cmp edi, eax
mov dword [esi + 0x1f4], edx
je 0x49e401
mov eax, dword [esi + 0x1e8]
mov ecx, dword [esi + 0x328]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esi + 0x1f4]
mov dword [eax], ecx
mov ecx, dword [esi + 0x1e8]
inc ecx
mov dword [esi + 0x1e8], ecx
mov eax, dword [esi + 0x1e4]
mov edx, ecx
cmp edx, eax
jl 0x49e320
mov ecx, esi
mov dword [esi + 0x1e8], ebx
call fcn.004902e0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
mov dword [esi + 0x354], ebx
push ebx
lea eax, [ebp + 0x24]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00402aa0
mov ecx, esi
call fcn.00493d30
mov ecx, dword [ebp + 0xc0]
push ecx
mov ecx, esi
call fcn.0049bc70
push 0x5c
mov byte [esi + 0x26c], bl
call fcn.004ad909
add esp, 4
cmp eax, ebx
je 0x49e503
mov dword [eax + 4], ebx
mov dword [eax], 0x4f7340
xor edx, edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x2c], ebx
xor ecx, ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ebx
mov dword [eax + 0x44], ebx
mov edi, eax
jmp 0x49e505
xor edi, edi
cmp edi, ebx
mov dword [esp + 0x1c], edi
je 0x49e510
inc dword [edi + 4]
cmp edi, ebx
mov edx, dword [esi + 0x1dc]
push edx
push ecx
mov eax, esp
mov byte [esp + 0xfc], 0x1f
mov dword [esp + 0x34], esp
mov dword [eax], edi
je 0x49e52f
inc dword [edi + 4]
mov ecx, esi
call fcn.0048e3a0
fld dword [esi + 0x1ac]
fmul dword [0x4f70b8]
push 1
push 1
sub esp, 8
cmp edi, ebx
fstp dword [esp + 4]
mov eax, esp
mov dword [esp + 0x3c], esp
mov dword [eax], edi
je 0x49e55c
inc dword [edi + 4]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.0048e770
mov eax, dword [eax]
cmp eax, ebx
mov byte [esp + 0xf4], 0x20
mov dword [esp + 0x18], eax
je 0x49e57d
inc dword [eax + 4]
cmp edi, ebx
mov dword [esp + 0x1c], eax
je 0x49e59a
mov ecx, dword [edi + 4]
dec ecx
mov eax, ecx
cmp eax, ebx
mov dword [edi + 4], ecx
jne 0x49e59a
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov byte [esp + 0xf4], 0x1f
je 0x49e5c3
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov eax, edx
mov dword [esp + 0x14], eax
jne 0x49e5c3
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x270], ecx
mov dword [esi + 0x274], 2
mov byte [esi + 0x2c8], 1
mov eax, dword [esi + 0x1dc]
mov edx, dword [esi + 0x188]
sub edx, eax
sub edx, 0xfa
mov dword [esp + 0x2c], edx
fild dword [esp + 0x2c]
fmul dword [ebp + 0xa8]
call fcn.004adeb4
mov dword [esi + 0x2cc], eax
mov eax, dword [esi + 0x1dc]
mov dword [esi + 0x2d0], eax
mov ecx, dword [esi + 0x27c]
mov dword [esi + 0x278], ecx
lea edi, [esi + 0x2e8]
mov dword [esi + 0x2e0], ebx
push 4
mov ecx, edi
mov dword [esi + 0x2e4], ebx
call fcn.004931d0
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x49e67c
mov ecx, dword [edi + 8]
mov edi, eax
cmp edi, ecx
mov dword [esp + 0x2c], ecx
je 0x49e667
mov ecx, edi
call fcn.004224e0
mov eax, dword [esp + 0x2c]
add edi, 4
cmp edi, eax
jne 0x49e655
mov eax, dword [esi + 0x2ec]
lea edi, [esi + 0x2e8]
push eax
call fcn.004ade5d
add esp, 4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov edx, dword [esi + 0x188]
sub edx, dword [esi + 0x1dc]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fmul dword [ebp + 0xac]
call fcn.004adeb4
mov dword [esi + 0x308], eax
mov edx, dword [esi + 0x1dc]
mov ecx, dword [esi + 0x188]
sub ecx, edx
sub ecx, eax
mov dword [esi + 0x308], ecx
mov eax, dword [esi + 0x1dc]
add eax, ecx
mov ecx, dword [ebp + 0xb0]
mov dword [esi + 0x308], eax
mov dword [esi + 0x30c], ecx
mov eax, dword [esi + 0x328]
mov edx, dword [eax]
mov eax, dword [edx]
mov dword [esi + 0x1f4], eax
mov dword [esi + 0x338], ebx
mov dword [esi + 0x33c], ebx
mov dword [esi + 0x340], ebx
mov dword [esi + 0x348], 0x3f800000
mov dword [esi + 0x34c], 0x3f99999a
mov dword [esi + 0x350], 0x40800000
mov dword [esi + 0x358], ebx
mov dword [esi + 0x35c], ebx
mov ecx, dword [esi + 0x1dc]
mov dword [esi + 0x360], ecx
mov ecx, dword [esp + 0x18]
mov byte [esi + 0x364], 1
mov edx, dword [esi + 0x190]
mov dword [esi + 0x368], edx
mov eax, dword [esi + 0x194]
mov dword [esi + 0x36c], eax
mov eax, dword [ecx + 4]
dec eax
mov byte [esp + 0xf4], 0x1b
mov dword [ecx + 4], eax
jne 0x49e76c
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x49e77d
push eax
call fcn.004ade5d
add esp, 4
cmp dword [ebp + 0x20], 0x10
jb 0x49e78f
mov eax, dword [ebp + 0xc]
push eax
call fcn.004ade5d
add esp, 4
cmp dword [ebp + 0x3c], 0x10
mov edi, 0xf
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
jb 0x49e7af
mov ecx, dword [ebp + 0x28]
push ecx
call fcn.004ade5d
add esp, 4
mov eax, dword [ebp + 0x48]
cmp eax, ebx
mov dword [ebp + 0x3c], edi
mov dword [ebp + 0x38], ebx
mov byte [ebp + 0x28], bl
je 0x49e7c8
push eax
call fcn.004ade5d
add esp, 4
lea ecx, [ebp + 0x5c]
call fcn.00462b30
mov eax, dword [ebp + 0x70]
cmp eax, ebx
je 0x49e7e0
push eax
call fcn.004ade5d
add esp, 4
lea ecx, [ebp + 0x7c]
call fcn.00462b80
mov ecx, dword [esp + 0xec]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc4