Function at 0x48fda0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4a6e43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb8]
push edi
lea ecx, [esp + 0x58]
lea edi, [esi + 0x70]
push edi
call fcn.0040f9a0
xor ebp, ebp
push 0x80
push ebp
lea ecx, [esp + 0x50]
call fcn.00439d40
push 0x80
push ebp
lea ecx, [esp + 0x8c]
mov dword [esp + 0xbc], ebp
call fcn.00439d40
push 0x80
push ebp
lea ecx, [esp + 0x9c]
mov byte [esp + 0xbc], 1
call fcn.00439d40
push 0x80
push ebp
lea ecx, [esp + 0x7c]
mov byte [esp + 0xbc], 2
call fcn.00439d40
mov ecx, 0x7fff
mov eax, 0xffff8001
mov word [esp + 0x30], cx
mov word [esp + 0x32], cx
mov word [esp + 0x34], ax
mov word [esp + 0x36], ax
mov word [esp + 0x40], cx
mov word [esp + 0x42], cx
mov word [esp + 0x44], ax
mov word [esp + 0x46], ax
mov ecx, dword [esp + 0xcc]
mov byte [esp + 0xb4], 5
cmp cx, bp
mov dword [esp + 0x3c], ebp
setg bl
test bl, bl
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ebp
mov byte [esp + 0x1f], bl
mov dword [esp + 0x38], ebp
jne 0x48feb3
fld dword [esi + 0x2c]
fmul dword [0x4a8208]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
mov ecx, eax
mov dword [esp + 0xcc], ecx
mov eax, dword [edi]
cmp eax, ebp
mov ebp, dword [esp + 0xd0]
je 0x4901bb
fld qword [0x4dcfc8]
fcomp qword [0x4a8228]
fnstsw ax
test ah, 0x41
movsx eax, cx
jne 0x48ff0b
movsx ecx, bp
sub eax, ecx
sub esp, 8
mov dword [esp + 0x40], eax
fild dword [esp + 0x40]
fmul qword [0x4dcfc8]
fadd qword [0x4a8220]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
add eax, ebp
jmp 0x48ff15
movsx edx, bp
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], edi
mov eax, dword [edi]
mov dword [esp + 0x5c], eax
mov edi, dword [edi]
test edi, edi
je 0x48ff2d
mov eax, dword [edi]
jmp 0x48ff2f
xor eax, eax
test eax, eax
mov dword [esp + 0x60], eax
je 0x48ff3b
mov ecx, dword [eax]
jmp 0x48ff3d
xor ecx, ecx
test eax, eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], 0
mov byte [esp + 0x68], 0
mov byte [esp + 0x69], 0
je 0x48ff5d
mov dword [esp + 0x6c], eax
jmp 0x48ff62
mov byte [esp + 0x69], 1
push 0xffffffffffffffff
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 0
call fcn.00440430
movsx edi, word [eax + 0xc]
mov al, byte [0x4dd138]
test al, al
je 0x48ff90
lea ecx, [esp + 0x58]
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.00428280
jmp 0x48ffbd
mov al, byte [0x4dd098]
test al, al
je 0x48ffae
lea eax, [esp + 0x58]
lea ecx, [esp + 0x28]
push eax
push esi
push ecx
call fcn.00493d00
add esp, 0xc
jmp 0x48ffc0
lea edx, [esp + 0x58]
lea eax, [esp + 0x28]
push edx
push eax
call fcn.004281b0
add esp, 8
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
movsx edx, cx
sub edi, edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x44], ebx
cmp dword [eax], 0
je 0x49019a
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x6c]
cmp ecx, eax
jne 0x490003
mov al, byte [esp + 0x70]
test al, al
jne 0x49019a
mov al, byte [0x4dd138]
test al, al
je 0x49001d
lea edx, [esp + 0x58]
lea eax, [esp + 0x28]
push edx
push eax
call fcn.00428280
jmp 0x490048
mov al, byte [0x4dd098]
lea edx, [esp + 0x58]
test al, al
push edx
je 0x49003b
lea eax, [esp + 0x24]
push esi
push eax
call fcn.00493d00
add esp, 0xc
jmp 0x49004b
lea eax, [esp + 0xa8]
push eax
call fcn.004281b0
add esp, 8
mov ebp, dword [eax]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0x38]
push ebp
push ebx
push edx
mov edi, ebp
push eax
push esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ecx
sub edi, ebx
call fcn.00493bd0
add esp, 0x14
test al, al
je 0x49008e
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x10], eax
jmp 0x48ffda
cmp di, word [esp + 0x3c]
jl 0x49016a
mov al, byte [0x4dd108]
test al, al
je 0x490132
movsx ecx, di
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fld dword [esi + 0x2c]
fmul qword [0x4dcf48]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x490130
fld dword [esi + 0x2c]
fmul qword [0x4dcf58]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x490108
mov al, byte [0x4dd0f8]
test al, al
je 0x490132
mov edx, dword [esp + 0x40]
push ebx
push edx
push esi
call fcn.00493370
add esp, 0xc
test al, al
jne 0x490108
mov eax, dword [esp + 0x34]
push eax
push ebp
push esi
call fcn.00493370
add esp, 0xc
test al, al
je 0x490132
mov ecx, dword [esp + 0x40]
push ebx
push ecx
push esi
call fcn.00493410
add esp, 0xc
test al, al
je 0x490155
mov edx, dword [esp + 0x34]
push edx
push ebp
push esi
call fcn.00493410
add esp, 0xc
test al, al
je 0x490155
jmp 0x490132
fstp st(0)
movsx edi, di
push 1
push edi
lea ecx, [esp + 0x8c]
call fcn.00439e30
push 1
push edi
lea ecx, [esp + 0x9c]
call fcn.00439e30
jmp 0x490181
mov edi, dword [esp + 0x14]
push 1
push edi
lea ecx, [esp + 0x9c]
call fcn.00439e30
jmp 0x490181
movsx eax, di
push 1
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x1c], eax
call fcn.00439e30
mov edi, dword [esp + 0x14]
push 1
push edi
lea ecx, [esp + 0x50]
call fcn.00439e30
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x40], ebp
jmp 0x48ffda
mov eax, dword [esp + 0x10]
cmp ax, 1
jg 0x4901c2
test ax, ax
jle 0x4901b7
mov eax, dword [esp + 0x50]
mov ecx, dword [0x4dcff8]
cmp eax, ecx
jle 0x4901c2
mov bl, byte [esp + 0x1f]
mov byte [esp + 0x14], 0
jmp 0x4901cb
mov bl, byte [esp + 0x1f]
mov byte [esp + 0x14], 1
mov eax, dword [esp + 0x8c]
mov ecx, dword [0x4dd018]
mov ebp, dword [esp + 0xc4]
mov edi, dword [esp + 0xc8]
cmp eax, ecx
jge 0x4902f4
mov cl, byte [esp + 0x14]
test cl, cl
jne 0x490204
mov ecx, dword [esp + 0x50]
mov edx, dword [0x4dcfe8]
cmp ecx, edx
jg 0x49020c
test eax, eax
jg 0x4902f4
mov al, byte [0x4dd0d8]
test al, al
je 0x49023a
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc0]
push edi
push ebp
lea eax, [esp + 0x50]
push edx
push eax
push ecx
push esi
call fcn.00490c10
add esp, 0x18
test al, al
jne 0x49031f
mov al, byte [0x4dd108]
test al, al
je 0x490261
cmp dword [0x4dd028], 5
jle 0x490261
movsx edx, di
movsx eax, bp
push edx
push eax
push 0x4c79a0
call fcn.00443600
add esp, 0xc
mov al, byte [0x4dd0e8]
test al, al
je 0x4902d0
test bl, bl
je 0x4902d0
movsx ecx, word [esp + 0xcc]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fstp dword [esi + 0x48]
cmp edx, dword [0x4dd008]
jle 0x490298
lea ecx, [esp + 0x48]
call fcn.0043a070
jmp 0x4902a8
movsx eax, word [esp + 0xd0]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fstp dword [esi + 0x44]
fld dword [esi + 0x48]
fadd dword [esi + 0x44]
sub esp, 8
fmul dword [0x4a8208]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x40], eax
jmp 0x49031f
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xcc]
push ecx
lea eax, [esp + 0x78]
push edx
lea ecx, [esp + 0x9c]
push eax
lea edx, [esp + 0x54]
push ecx
push edx
jmp 0x490316
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xcc]
push eax
lea edx, [esp + 0x78]
push ecx
lea eax, [esp + 0x8c]
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
push esi
call fcn.00490a50
add esp, 0x18
mov al, byte [0x4dd038]
test al, al
je 0x49033e
mov al, byte [esp + 0x14]
test al, al
jne 0x49033e
lea edx, [esp + 0x48]
push edx
push esi
call fcn.00491210
add esp, 8
mov eax, dword [0x4dcfd8]
test eax, eax
jne 0x4903e6
mov al, byte [esp + 0x14]
test al, al
je 0x4906be
fld dword [esi + 0x48]
fst qword [esp + 0x20]
fld dword [esi + 0x44]
fstp qword [esp + 0x28]
fld qword [0x4dceb8]
fmul qword [esp + 0x28]
fxch st(1)
fcompp
fnstsw ax
test ah, 1
je 0x4906be
mov eax, dword [0x4dd028]
test eax, eax
jle 0x4903b9
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x40]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
movsx edx, word [esp + 0xd4]
push eax
push ecx
movsx eax, bp
push edx
push eax
push 0x4c796c
call fcn.00443600
add esp, 0x20
fld dword [esi + 0x44]
fmul qword [0x4dceb8]
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x40], eax
inc eax
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fcom dword [esi + 0x2c]
fnstsw ax
test ah, 0x41
je 0x4906bb
jmp 0x4906b6
cmp eax, 1
jne 0x4906be
fld dword [esi + 0x44]
fcomp qword [0x4a8280]
fnstsw ax
test ah, 0x41
jne 0x490404
fld dword [esi + 0x44]
jmp 0x49040a
fld qword [0x4a8280]
fld dword [esi + 0x48]
fxch st(1)
fmul qword [0x4dce68]
fcompp
fnstsw ax
test ah, 0x41
je 0x49043a
fld dword [esi + 0x48]
fsub dword [esi + 0x44]
fld dword [esi + 0x2c]
fmul qword [0x4dcde8]
fcompp
fnstsw ax
test ah, 0x41
jne 0x49055d
test bl, bl
je 0x490472
movsx ecx, word [esp + 0xcc]
fld dword [esi + 0x44]
fst qword [esp + 0x28]
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fld qword [0x4dce68]
fmul st(2)
fcompp
fnstsw ax
test ah, 0x41
fstp st(0)
je 0x490472
fild dword [esp + 0x20]
fstp dword [esp + 0x10]
jmp 0x4904ee
fld dword [esi + 0x44]
fst qword [esp + 0x28]
fcomp qword [0x4a8280]
fnstsw ax
test ah, 0x41
jne 0x49048f
fld dword [esi + 0x44]
fst qword [esp + 0x28]
jmp 0x490495
fld qword [0x4a8280]
fld dword [esi + 0x2c]
fmul dword [0x4a8208]
fst dword [esp + 0x20]
fxch st(1)
fmul qword [0x4dce68]
fxch st(1)
fcompp
fnstsw ax
test ah, 1
je 0x4904e6
fld dword [esi + 0x44]
fst qword [esp + 0x28]
fcomp qword [0x4a8280]
fnstsw ax
test ah, 0x41
jne 0x4904d8
fld dword [esi + 0x44]
fst qword [esp + 0x28]
fmul qword [0x4dce68]
jmp 0x4904ea
fld qword [0x4a8280]
fmul qword [0x4dce68]
jmp 0x4904ea
fld dword [esp + 0x20]
fstp dword [esp + 0x10]
mov eax, dword [0x4dd028]
test eax, eax
jle 0x490532
fld dword [esp + 0x10]
mov edx, dword [esi + 0x40]
sub esp, 8
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
fstp qword [esp]
fld dword [esi + 0x48]
sub esp, 8
fstp qword [esp]
push edx
push eax
movsx edx, word [esp + 0xe0]
movsx eax, bp
push ecx
push edx
push eax
push 0x4c7930
call fcn.00443600
add esp, 0x28
fld dword [esp + 0x10]
fadd dword [esi + 0x44]
mov ecx, dword [esp + 0x10]
sub esp, 8
mov dword [esi + 0x48], ecx
fmul dword [0x4a8208]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x40], eax
fld dword [esi + 0x44]
fcomp qword [0x4a8280]
fnstsw ax
test ah, 0x41
jne 0x490572
fld dword [esi + 0x44]
jmp 0x490578
fld qword [0x4a8280]
fmul qword [0x4dce38]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
mov edi, eax
mov eax, dword [esi + 0x40]
cmp eax, edi
mov dword [esp + 0x20], edi
jle 0x4905f5
mov ecx, dword [0x4dd028]
test ecx, ecx
jle 0x4905d7
fld dword [esi + 0x48]
push edi
movsx edx, word [esp + 0xcc]
sub esp, 8
fstp qword [esp]
fld dword [esi + 0x44]
push eax
sub esp, 8
movsx eax, bp
fstp qword [esp]
push edx
push eax
push 0x4c78f8
call fcn.00443600
add esp, 0x24
fild dword [esp + 0x20]
mov dword [esi + 0x40], edi
fcom dword [esi + 0x48]
fnstsw ax
test ah, 1
jne 0x4905f3
fadd dword [0x4a8248]
fstp dword [esi + 0x48]
jmp 0x4905f5
fstp st(0)
mov al, byte [esp + 0x14]
test al, al
je 0x4906be
fld dword [esi + 0x44]
fmul qword [0x4dceb8]
fld dword [esi + 0x2c]
fmul qword [0x4dcea8]
fstp qword [esp + 0x28]
fcom qword [esp + 0x28]
fnstsw ax
test ah, 0x41
je 0x490628
fstp st(0)
fld qword [esp + 0x28]
fst dword [esp + 0x10]
fadd dword [esi + 0x44]
sub esp, 8
fmul dword [0x4a8208]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
fld dword [esi + 0x48]
fcomp dword [esp + 0x10]
mov ecx, eax
fnstsw ax
test ah, 1
jne 0x49065e
cmp dword [esi + 0x40], ecx
jge 0x4906be
mov eax, dword [0x4dd028]
test eax, eax
jle 0x490697
fld dword [esi + 0x48]
mov ecx, dword [esi + 0x40]
sub esp, 8
movsx edx, word [esp + 0xd0]
fstp qword [esp]
fld dword [esi + 0x44]
push ecx
sub esp, 8
movsx eax, bp
fstp qword [esp]
push edx
push eax
push 0x4c78c8
call fcn.00443600
add esp, 0x20
fld dword [esp + 0x10]
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x40], eax
inc eax
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fcom dword [esi + 0x2c]
fnstsw ax
test ah, 0x41
je 0x4906bb
fstp st(0)
fld dword [esi + 0x2c]
fstp dword [esi + 0x48]
mov al, byte [0x4dd158]
test al, al
je 0x4906d8
mov ecx, dword [esi + 0x40]
mov edx, ecx
mov dword [esi + 0x3c], ecx
inc edx
mov dword [esi + 0x38], edx
jmp 0x490831
fld dword [esi + 0x48]
call sub.MSVCRT.dll__ftol
fld dword [esi + 0x2c]
fmul qword [0x4dcf68]
sub esp, 8
mov edi, eax
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
add esp, 8
call sub.MSVCRT.dll__ftol
cmp eax, edi
jge 0x490722
fld dword [esi + 0x2c]
fmul qword [0x4dcf68]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
add esp, 8
call sub.MSVCRT.dll__ftol
jmp 0x490724
mov eax, edi
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x38], eax
cmp eax, ecx
jg 0x490732
inc ecx
mov dword [esi + 0x38], ecx
fild dword [esi + 0x40]
fadd dword [esi + 0x44]
fmul dword [0x4a8208]
call sub.MSVCRT.dll__ftol
xor ecx, ecx
mov dword [esp + 0x28], eax
cmp eax, ecx
mov dword [esi + 0x3c], eax
mov dword [esp + 0x20], ecx
jl 0x490831
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
cmp ecx, edx
jle 0x490783
cmp ecx, ebx
jge 0x490779
mov eax, ecx
sub eax, edx
mov eax, dword [edi + eax*4]
jmp 0x490785
mov eax, ebx
sub eax, edx
mov eax, dword [edi + eax*4 - 4]
jmp 0x490785
mov eax, dword [edi]
movsx ebp, word [esp + 0x18]
cmp eax, ebp
jle 0x4907af
cmp ecx, edx
jle 0x4907a9
cmp ecx, ebx
jge 0x49079f
mov eax, ecx
sub eax, edx
mov eax, dword [edi + eax*4]
jmp 0x4907ab
mov eax, ebx
sub eax, edx
mov eax, dword [edi + eax*4 - 4]
jmp 0x4907ab
mov eax, dword [edi]
mov dword [esp + 0x18], eax
fild dword [esp + 0x10]
fcomp dword [esi + 0x44]
fnstsw ax
test ah, 0x41
jne 0x490804
cmp ecx, edx
jle 0x4907de
cmp ecx, ebx
jge 0x4907d0
sub ecx, edx
mov ecx, dword [edi + ecx*4]
mov dword [esp + 0x10], ecx
jmp 0x4907e4
mov eax, ebx
sub eax, edx
mov ecx, dword [edi + eax*4 - 4]
mov dword [esp + 0x10], ecx
jmp 0x4907e4
mov eax, dword [edi]
mov dword [esp + 0x10], eax
movsx ecx, word [esp + 0x18]
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul qword [0x4a8260]
fcompp
fnstsw ax
test ah, 0x41
je 0x490822
mov eax, dword [esp + 0x20]
inc eax
movsx ecx, ax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
cmp ecx, eax
mov dword [esp + 0x10], ecx
jle 0x490768
jmp 0x49082a
movsx edx, word [esp + 0x20]
mov dword [esi + 0x3c], edx
mov ebp, dword [esp + 0xc4]
fld qword [0x4dce78]
fcomp qword [0x4a8228]
fnstsw ax
test ah, 0x41
jne 0x4908bf
mov eax, dword [esi + 0x40]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fcom dword [esi + 0x48]
fnstsw ax
test ah, 1
je 0x4908bd
fld dword [esi + 0x48]
fsub st(1)
mov edi, dword [esi + 0x38]
sub esp, 8
fmul qword [0x4dce78]
fiadd dword [esp + 0x20]
fstp qword [esp]
fstp st(0)
call dword [sym.imp.MSVCRT.dll_ceil]
add esp, 8
call sub.MSVCRT.dll__ftol
cmp edi, eax
jle 0x49088c
mov eax, edi
mov dword [esi + 0x38], eax
jmp 0x4908bf
mov ecx, dword [esi + 0x40]
sub esp, 8
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fsubr dword [esi + 0x48]
fmul qword [0x4dce78]
fiadd dword [esp + 0x20]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
add esp, 8
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x38], eax
jmp 0x4908bf
fstp st(0)
fld qword [0x4dce98]
fcomp qword [0x4a8228]
fnstsw ax
test ah, 0x41
jne 0x49092b
mov al, byte [esp + 0x14]
test al, al
jne 0x4908e3
mov al, byte [0x4dd0a8]
test al, al
je 0x49092b
fld dword [esi + 0x44]
fmul qword [0x4dce98]
mov edi, dword [esi + 0x38]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
add esp, 8
call sub.MSVCRT.dll__ftol
cmp edi, eax
jle 0x49090b
mov eax, edi
jmp 0x490928
fld dword [esi + 0x44]
fmul qword [0x4dce98]
sub esp, 8
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_ceil]
add esp, 8
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x38], eax
fld qword [0x4dce88]
fcomp qword [0x4a8228]
fnstsw ax
test ah, 0x41
jne 0x490978
fild dword [esi + 0x40]
fcom dword [esi + 0x44]
fnstsw ax
test ah, 0x41
jne 0x490976
fsub dword [esi + 0x44]
sub esp, 8
fmul qword [0x4dce88]
fadd dword [esi + 0x44]
fadd qword [0x4a8220]
fstp qword [esp]
call dword [sym.imp.MSVCRT.dll_floor]
add esp, 8
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x3c], eax
jmp 0x490978
fstp st(0)
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
cmp ecx, eax
jle 0x490985
mov dword [esi + 0x3c], eax
cmp dword [0x4dd028], 5
jle 0x4909e3
fld dword [esi + 0x48]
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
sub esp, 8
fstp qword [esp]
fld dword [esi + 0x44]
push edx
push eax
movsx edx, word [esp + 0x4c]
movsx eax, word [esp + 0xdc]
push ecx
movsx ecx, word [esp + 0xe4]
sub esp, 8
fstp qword [esp]
push edx
mov edx, dword [esp + 0x58]
push eax
push ecx
movsx eax, word [esp + 0xf0]
movsx ecx, bp
push edx
push eax
push ecx
push 0x4c787c
call fcn.00443600
add esp, 0x38
lea ecx, [esp + 0x74]
mov byte [esp + 0xb4], 2
call fcn.00439e10
lea ecx, [esp + 0x94]
mov byte [esp + 0xb4], 1
call fcn.00439e10
lea ecx, [esp + 0x84]
mov byte [esp + 0xb4], 0
call fcn.00439e10
lea ecx, [esp + 0x48]
mov dword [esp + 0xb4], 0xffffffff
call fcn.00439e10
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret